Skip to content

Commit

Permalink
24629 - update logic to show effective date (#3108)
Browse files Browse the repository at this point in the history
* 24629 - update logic to show effective date

* 24629 - hide field and label
  • Loading branch information
ketaki-deodhar authored Dec 3, 2024
1 parent 1564333 commit 38f847f
Showing 1 changed file with 28 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
<td>
<div class="bold">Incorporation Number:</div>
<div class="bold pt-2">Issued Date and Time:</div>
<div class="bold pt-2">Recognition Date and Time:</div>
{% if header.isFutureEffective or header.status == 'COMPLETED' %}
<div class="bold pt-2">Recognition Date and Time:</div>
{% endif %}
<div class="bold pt-2">Retrieved Date and Time:</div>
</td>
<td>
Expand All @@ -70,7 +72,7 @@
<div class="pt-2">{{effective_date_time}}</div>
{% if header.isFutureEffective %}
<div class="pt-2">{{effective_date_time}}</div>
{% else %}
{% elif header.status == 'COMPLETED' %}
<div class="pt-2">{{recognition_date_time}}</div>
{% endif %}
<div class="pt-2">{{report_date_time}}</div>
Expand Down Expand Up @@ -118,7 +120,9 @@
<td class="col-33">
<div class="bold">Incorporation Number:</div>
<div class="bold pt-2">Filed Date and Time:</div>
<div class="bold pt-2">Recognition Date and Time:</div>
{% if header.isFutureEffective or header.status == 'COMPLETED' %}
<div class="bold pt-2">Recognition Date and Time:</div>
{% endif %}
<div class="bold pt-2">Retrieved Date and Time:</div>
</td>
<td>
Expand All @@ -130,7 +134,7 @@
<div class="pt-2">{{filing_date_time}}</div>
{% if header.isFutureEffective %}
<div class="pt-2">{{effective_date_time}}</div>
{% else %}
{% elif header.status == 'COMPLETED' %}
<div class="pt-2">{{recognition_date_time}}</div>
{% endif %}
<div class="pt-2">{{report_date_time}}</div>
Expand Down Expand Up @@ -204,26 +208,34 @@
<td>
<div class="bold">Incorporation Number:</div>
<div class="bold pt-2">Filed Date and Time:</div>
<div class="bold pt-2">Address Effective Date and Time:</div>
{% if header.status == 'COMPLETED' %}
<div class="bold pt-2">Address Effective Date and Time:</div>
{% endif %}
<div class="bold pt-2">Retrieved Date and Time:</div>
</td>
<td>
<div>{{business.identifier}}</div>
<div class="pt-2">{{filing_date_time}}</div>
<div class="pt-2">{{effective_date_time}}</div>
{% if header.status == 'COMPLETED' %}
<div class="pt-2">{{effective_date_time}}</div>
{% endif %}
<div class="pt-2">{{report_date_time}}</div>
</td>
{% elif header.name == 'changeOfDirectors' %}
<td>
<div class="bold">Incorporation Number:</div>
<div class="bold pt-2">Filed Date and Time:</div>
<div class="bold pt-2">Director Change Date:</div>
{% if header.status == 'COMPLETED' %}
<div class="bold pt-2">Director Change Date:</div>
{% endif %}
<div class="bold pt-2">Retrieved Date and Time:</div>
</td>
<td>
<div>{{business.identifier}}</div>
<div class="pt-2">{{filing_date_time}}</div>
<div class="pt-2">{{effective_date}}</div>
{% if header.status == 'COMPLETED' %}
<div class="pt-2">{{effective_date}}</div>
{% endif %}
<div class="pt-2">{{report_date_time}}</div>
</td>
{% elif header.name == 'annualReport' %}
Expand Down Expand Up @@ -264,13 +276,17 @@
<td>
<div class="bold">Incorporation Number:</div>
<div class="bold pt-2">Filed Date and Time:</div>
<div class="bold pt-2">Alteration Date and Time:</div>
{% if header.isFutureEffective or header.status == 'COMPLETED' %}
<div class="bold pt-2">Alteration Date and Time:</div>
{% endif %}
<div class="bold pt-2">Retrieved Date and Time:</div>
</td>
<td>
<div>{{business.identifier}}</div>
<div class="pt-2">{{filing_date_time}}</div>
<div class="pt-2">{{effective_date_time}}</div>
{% if header.isFutureEffective or header.status == 'COMPLETED' %}
<div class="pt-2">{{effective_date_time}}</div>
{% endif %}
<div class="pt-2">{{report_date_time}}</div>
</td>
{% elif header.name == 'dissolution' %}
Expand All @@ -286,7 +302,7 @@
<div class="bold pt-2">Registration Date:</div>
{% endif %}
<div class="bold pt-2">Filed Date and Time:</div>
{% if business.legalType not in ['CP', 'SP', 'GP'] %}
{% if business.legalType not in ['CP', 'SP', 'GP'] and header.status == 'COMPLETED' %}
<div class="bold pt-2">Effective Date and Time:</div>
{% endif %}
{% if business.legalType in ['GP', 'SP'] %}
Expand All @@ -300,7 +316,7 @@
<div class="pt-2">{{ recognition_date_utc }}</div>
{% endif %}
<div class="pt-2">{{filing_date_time}}</div>
{% if business.legalType not in ['CP', 'SP', 'GP'] %}
{% if business.legalType not in ['CP', 'SP', 'GP'] and header.status == 'COMPLETED' %}
<div class="pt-2">{{effective_date_time}}</div>
{% endif %}
{% if business.legalType in ['GP', 'SP'] %}
Expand Down

0 comments on commit 38f847f

Please sign in to comment.