diff --git a/legal-api/report-templates/template-parts/common/resolutionDates.html b/legal-api/report-templates/template-parts/common/resolutionDates.html
index 65b22096df..e329a478dd 100644
--- a/legal-api/report-templates/template-parts/common/resolutionDates.html
+++ b/legal-api/report-templates/template-parts/common/resolutionDates.html
@@ -3,8 +3,8 @@
Resolution or Court Order Dates
- Date(s) of Resolution(s) or Court Order(s) attaching or altering Special Rights
- and Restrictions attached to a class or a series of shares:
+ Dates of resolutions or court orders that change the company’s share structure.
+ This includes changes to the special rights or restrictions on a class or series of shares.
{% for resolution in resolutions %}
diff --git a/legal-api/src/legal_api/reports/report.py b/legal-api/src/legal_api/reports/report.py
index 5c923fb4c5..8ebbb8d342 100644
--- a/legal-api/src/legal_api/reports/report.py
+++ b/legal-api/src/legal_api/reports/report.py
@@ -488,6 +488,11 @@ def _format_transition_data(self, filing):
self._format_address(filing['offices']['recordsOffice']['mailingAddress'])
if filing.get('shareStructure', {}).get('shareClasses', None):
filing['shareClasses'] = filing['shareStructure']['shareClasses']
+ dates = filing['shareStructure'].get('resolutionDates', [])
+ formatted_dates = [
+ datetime.fromisoformat(date).strftime(OUTPUT_DATE_FORMAT) for date in dates
+ ]
+ filing['resolutions'] = formatted_dates
def _format_incorporation_data(self, filing):
self._format_address(filing['incorporationApplication']['offices']['registeredOffice']['deliveryAddress'])
@@ -672,7 +677,11 @@ def _format_alteration_data(self, filing):
self._filing.transaction_id, self._business.id)
if filing['alteration'].get('shareStructure', None):
filing['shareClasses'] = filing['alteration']['shareStructure'].get('shareClasses', [])
- filing['resolutions'] = filing['alteration']['shareStructure'].get('resolutionDates', [])
+ dates = filing['alteration']['shareStructure'].get('resolutionDates', [])
+ formatted_dates = [
+ datetime.fromisoformat(date).strftime(OUTPUT_DATE_FORMAT) for date in dates
+ ]
+ filing['resolutions'] = formatted_dates
to_legal_name = None
if self._filing.status == 'COMPLETED':
@@ -1137,7 +1146,11 @@ def _format_party_data(self, filing, prev_completed_filing: Filing):
def _format_share_class_data(self, filing, prev_completed_filing: Filing): # pylint: disable=too-many-locals; # noqa: E501;
filing['shareClasses'] = filing.get('correction').get('shareStructure', {}).get('shareClasses')
- filing['resolutions'] = filing.get('correction').get('shareStructure', {}).get('resolutionDates', [])
+ dates = filing['correction']['shareStructure'].get('resolutionDates', [])
+ formatted_dates = [
+ datetime.fromisoformat(date).strftime(OUTPUT_DATE_FORMAT) for date in dates
+ ]
+ filing['resolutions'] = formatted_dates
filing['newShareClasses'] = []
if filing.get('shareClasses'):
prev_share_class_json = VersionedBusinessDetailsService.get_share_class_revision(