Browse Source

Update xml export

CLDC-3857-Add-new-questions-to-organisation-setup
Manny Dinssa 1 month ago
parent
commit
82989e14ef
  1. 3
      app/services/exports/organisation_export_service.rb

3
app/services/exports/organisation_export_service.rb

@ -63,8 +63,7 @@ module Exports
attribute_hash["provider_type"] = organisation.provider_type_before_type_cast attribute_hash["provider_type"] = organisation.provider_type_before_type_cast
attribute_hash["merge_date"] = organisation.merge_date&.iso8601 attribute_hash["merge_date"] = organisation.merge_date&.iso8601
attribute_hash["available_from"] = organisation.available_from&.iso8601 attribute_hash["available_from"] = organisation.available_from&.iso8601
attribute_hash["profit_status"] = nil # will need update when we add the field to the org attribute_hash["profit_status"] = organisation.profit_status_before_type_cast
attribute_hash["group"] = nil # will need update when we add the field to the org
attribute_hash["status"] = organisation.status attribute_hash["status"] = organisation.status
attribute_hash["active"] = attribute_hash["status"] == :active attribute_hash["active"] = attribute_hash["status"] == :active

Loading…
Cancel
Save