diff --git a/Products/Reportek/Collection.py b/Products/Reportek/Collection.py index 1d5e45d2..2af1a50e 100644 --- a/Products/Reportek/Collection.py +++ b/Products/Reportek/Collection.py @@ -718,7 +718,7 @@ def aggregated_licences(self, all_years=False): res["message"] = None # FLOAT_REPR is deprecated in python 3.6 json.encoder.FLOAT_REPR = ( - lambda o: ("%.16f" % o).rstrip("0") if o != 0 else 0 + lambda o: ("%.7f" % o).rstrip("0") if o != 0 else 0 ) return json.dumps(res, indent=4) diff --git a/Products/Reportek/views/satellite_registry_management.py b/Products/Reportek/views/satellite_registry_management.py index e632a48f..795bdb3f 100644 --- a/Products/Reportek/views/satellite_registry_management.py +++ b/Products/Reportek/views/satellite_registry_management.py @@ -413,6 +413,24 @@ def get_url(self): return settings["BASE_URL_FGAS"] return settings["BASE_URL"] + def get_url_ods(self): + api = self.get_api() + if not api: + return None + + settings = api.getSettings() + if settings: + return settings["BASE_URL_ODS"] + + def get_url_fgas(self): + api = self.get_api() + if not api: + return None + + settings = api.getSettings() + if settings: + return settings["BASE_URL_FGAS"] + def get_emails(self): api = self.get_api() if not api: diff --git a/Products/Reportek/zpt/registry/data_sync_log.zpt b/Products/Reportek/zpt/registry/data_sync_log.zpt index bdb22760..4fd7a4fa 100644 --- a/Products/Reportek/zpt/registry/data_sync_log.zpt +++ b/Products/Reportek/zpt/registry/data_sync_log.zpt @@ -25,7 +25,7 @@

Data synchronisation logs

Latest 100 syncronisation jobs made against - FGAS and ODS portal and the number of companies fetched. + FGAS and ODS portal and the number of companies fetched.

diff --git a/Products/Reportek/zpt/registry/notifications_settings.zpt b/Products/Reportek/zpt/registry/notifications_settings.zpt index bfd13331..06843d33 100644 --- a/Products/Reportek/zpt/registry/notifications_settings.zpt +++ b/Products/Reportek/zpt/registry/notifications_settings.zpt @@ -24,7 +24,7 @@

Each time an FGAS or ODS company is validated in BDR, an email is sent to the addresses from the list below. By validated, we mean companies - registered in the FGAS and ODS portal and matched with old records from the + registered in the FGAS and ODS portal and matched with old records from the BDR-Registry.

diff --git a/Products/Reportek/zpt/registry/organisation_listing.zpt b/Products/Reportek/zpt/registry/organisation_listing.zpt index c9242fbb..0db1b1ed 100644 --- a/Products/Reportek/zpt/registry/organisation_listing.zpt +++ b/Products/Reportek/zpt/registry/organisation_listing.zpt @@ -34,7 +34,7 @@

Companies

-

Companies registered in FGAS and ODS portal and approved in BDR. Click on a company name to see the details and the reporters. Alternatively, export companies in +

Companies registered in FGAS and ODS portal and approved in BDR. Click on a company name to see the details and the reporters. Alternatively, export companies in Excel or JSON format or reporters in Excel format.

diff --git a/Products/Reportek/zpt/registry/organisation_matching.zpt b/Products/Reportek/zpt/registry/organisation_matching.zpt index 3fdb04ed..e8a9c2a3 100644 --- a/Products/Reportek/zpt/registry/organisation_matching.zpt +++ b/Products/Reportek/zpt/registry/organisation_matching.zpt @@ -29,7 +29,8 @@

Pending Companies

- Companies registered in the FGAS and ODS portal. + Companies registered in the FGAS and + ODS portal. You can match them with old records taken from BDR-Registry, based on suggestions (candidates) made by the system. Please click on the company name to view the suggestions and approve the company. diff --git a/Products/Reportek/zpt/registry/organisation_verification.zpt b/Products/Reportek/zpt/registry/organisation_verification.zpt index e670fe60..5e58fa5b 100644 --- a/Products/Reportek/zpt/registry/organisation_verification.zpt +++ b/Products/Reportek/zpt/registry/organisation_verification.zpt @@ -29,7 +29,8 @@

Company details (as registered in the - FGAS and ODS portal) + FGAS and + ODS portal) and match it with the old record from BDR-Registry, based on suggestions (candidates) made by the system.