Serialise org notes and billing details

This commit is contained in:
Pea Tyczynska
2021-02-04 17:33:46 +00:00
parent 02bc87c096
commit aa7bc3d9b4
2 changed files with 15 additions and 0 deletions

View File

@@ -434,6 +434,11 @@ class Organisation(db.Model):
"domains": self.domain_list,
"request_to_go_live_notes": self.request_to_go_live_notes,
"count_of_live_services": len(self.live_services),
"notes": self.notes,
"purchase_order_number": self.purchase_order_number,
"billing_contact_names": self.billing_contact_names,
"billing_contact_email_addresses": self.billing_contact_email_addresses,
"billing_reference": self.billing_reference,
}
def serialize_for_list(self):