Skip to content

Commit

Permalink
fixup! [Bexley] WIP show existing GGW subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
davea committed Feb 12, 2025
1 parent 007847a commit 353ed2f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions templates/web/base/waste/_services_garden_current.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
[%~ PROCESS 'waste/_services_garden_subscription.html' ~%]
</dd>
</div>
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">Renewal</dt>
<dd class="govuk-summary-list__value
[%~ ' renewal-status' IF unit.garden_due AND NOT waste_features.garden_renew_disabled ~%]
">[% date.format(unit.end_date _ ' 00:00:00', '%d %B %Y') %]
[%~ ' Cancellation in progress' IF pending_cancellation %]
[%~ ', soon due for renewal.' IF unit.garden_due AND NOT waste_features.garden_renew_disabled ~%]
</dd>
</div>
[% IF unit.end_date %]
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">Renewal</dt>
<dd class="govuk-summary-list__value
[%~ ' renewal-status' IF unit.garden_due AND NOT waste_features.garden_renew_disabled ~%]
">[% date.format(unit.end_date _ ' 00:00:00', '%d %B %Y') %]
[%~ ' Cancellation in progress' IF pending_cancellation %]
[%~ ', soon due for renewal.' IF unit.garden_due AND NOT waste_features.garden_renew_disabled ~%]
</dd>
</div>
[% END %]
</dl>

[% IF ( unit.garden_due ) AND NOT waste_features.garden_renew_disabled %]
Expand Down

0 comments on commit 353ed2f

Please sign in to comment.