Skip to content

Commit

Permalink
24368 - Update BEN Statement in NOA (bcgov#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
meawong authored Nov 27, 2024
1 parent 8996491 commit 38b16c9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions legal-api/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"enable-legal-name-fix": true,
"disable-nr-check": false,
"enable-involuntary-dissolution-filter": false,
"enable-new-ben-statements": false,
"involuntary-dissolution-filter": {
"include-accounts": [],
"exclude-accounts": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
<div class="no-page-break">
<div class="section-title mt-4">BC Benefit Company Statement</div>
<div class="section-data mt-4">
{% if enable_new_ben_statements %}
This company is a benefit company and, as such, is committed to conducting its
business in a responsible and sustainable manner and promoting one or more public benefits.
{% else %}
This company is a benefit company and, as such, has purposes that include conducting its
business in a responsible and sustainable manner and promoting one or more public benefits.
{% endif %}
</div>
</div>
{% elif business.legalType in ['CC', 'CCC'] %}
Expand Down
5 changes: 4 additions & 1 deletion legal-api/src/legal_api/reports/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)
from legal_api.models.business import ASSOCIATION_TYPE_DESC
from legal_api.reports.registrar_meta import RegistrarInfo
from legal_api.services import MinioService, VersionedBusinessDetailsService
from legal_api.services import MinioService, VersionedBusinessDetailsService, flags
from legal_api.utils.auth import jwt
from legal_api.utils.formatting import float_to_str
from legal_api.utils.legislation_datetime import LegislationDatetime
Expand Down Expand Up @@ -258,6 +258,9 @@ def _get_template_data(self):
self._set_meta_info(filing)
self._set_registrar_info(filing)
self._set_completing_party(filing)

filing['enable_new_ben_statements'] = flags.is_on('enable-new-ben-statements')

return filing

def _format_par_value(self, filing):
Expand Down

0 comments on commit 38b16c9

Please sign in to comment.