[% l("Confirm Payment") %]

[% FOR k IN CGI.Vars; NEXT UNLESS k; FOR val IN CGI.param(k) %] [% END; END %] [% l('Cancel') %]

[% l("Are you sure you are ready to charge ") %] [% l("[_1] ", money(ctx.fines.balance_owed))%] [% l("to your credit card?") %]

[% FOR f IN ctx.fines.circulation; NEXT IF CGI.param('xact').size && !CGI.param('xact').grep(f.xact.id).size; attrs = {marc_xml => f.marc_xml}; IF f.marc_xml; PROCESS get_marc_attrs args=attrs; ELSIF f.xact.reservation; attrs.title = f.xact.reservation.target_resource_type.name; END %] [% END; FOR f IN ctx.fines.grocery; NEXT IF CGI.param('xact_misc').size && !CGI.param('xact_misc').grep(f.xact.id).size %] [% END %]
[% l('Charge/Fee') %] [% l('Amount') %]
[% attrs.title | html %] [% money(f.xact.balance_owed) %]
[% f.xact.last_billing_type | html %] [% money(f.xact.balance_owed) %]