[% USE pounds = format('%.2f'); ~%] [% SET title = form.title ~%] [% PROCESS 'waste/header.html' %] [% PROCESS 'govuk/fields.html' %] [% PROCESS back %] [% PROCESS errors %] [% PROCESS title %] [% IF property %] [% INCLUDE 'waste/_address_display.html' %] [% END %]
Important information

About your items

Before continuing, please read the following to see if any items have a note or comment that might help our crew to collect them.

[% FOR item IN form.items_extra; IF item.value.message %]
[% item.key %]
[% item.value.message %]
[% END; END %]
[% item_maximums = [] %] [% FOR item IN form.items_extra; IF item.value.max; item_maximums.push({ key = item.key, max = item.value.max }); END; END %] [% IF item_maximums.size %]
Important information

Maximum numbers

The following types of item have a maximum number that can be collected in one collection:

[% END %]
[% FOR num IN [ 1 .. c.cobrand.bulky_items_maximum ] %]
[% # Building names beforehand because override_fields does not seem to like them being built inside its arg list %] [% item = 'item_' _ num %] [% PROCESS form override_fields = [ item ] %] [% PROCESS extra_text num = num %] [% photo = 'item_photo_' _ num %] [% photo_fileid = photo _ '_fileid' %] [% PROCESS form override_fields = [ photo, photo_fileid ] %] [% IF num > 1 %] [% END %]
[% END %]

[% IF c.cobrand.bulky_per_item_costs %] Total cost: £[% pounds(total) %] [% ELSE %] Total cost: £[% pounds(total) %] [% END %]

[% PROCESS form override_fields = [ 'continue', 'saved_data', 'token', 'process', 'unique_id' ] %]
[% BLOCK extra_text %]
Important information

[% END %] [% INCLUDE footer.html %]