Skip to content

Commit

Permalink
[Bromley] [Waste] No refund text for bulky cancel confirmations with …
Browse files Browse the repository at this point in the history
…no payment.
  • Loading branch information
neprune committed Nov 9, 2023
1 parent 971875d commit 1d6c3f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions perllib/FixMyStreet/Cobrand/Bromley.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ sub bulky_send_cancellation_confirmation {
],

wasteworks_id => $collection_report->id,
payment_reference => $collection_report->get_extra_metadata('payment_reference'),
refund_amount => $self->bulky_refund_amount($collection_report),
collection_date => $self->bulky_nice_collection_date($collection_report),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Subject: Cancelled bulky goods collection [% wasteworks_id %]

Bulky goods collection [% wasteworks_id %] scheduled for [%collection_date %] has been cancelled.

[% IF refund_amount > 0 %]
[% IF refund_amount > 0 && payment_reference %]
£[% pounds(refund_amount / 100) %] will be refunded.
[% END %]

Expand Down

0 comments on commit 1d6c3f3

Please sign in to comment.