1 <h3>[% l("Confirm Payment") %]</h3>
3 <form action="[% ctx.opac_root %]/myopac/main_pay_init" method="post">
6 FOR val IN CGI.param(k) %]
7 <input type="hidden" name="[% k | html %]" value="[% val | html %]" />
10 <button type="submit" class="btn btn-confirm"><i class="fas fa-check"></i> [% l('Confirm') %]</button>
11 <a href="[% mkurl(ctx.opac_root _ '/myopac/main#selected_fines', {}, 1) %]" class="btn btn-deny"><i class="fas fa-ban"></i> [% l('Cancel') %]</a>
12 <p class="my-2"><big>[% l("Are you sure you are ready to charge ") %]
13 <strong> [% l("[_1] ", money(ctx.fines.balance_owed))%]</strong>
14 [% l("to your credit card?") %]</big></p>
15 <table title="[% l('List of Transactions') %]" id="acct_fines_confirm_header"
19 <th>[% l('Charge/Fee') %]</th>
20 <th class="text-right"><span>[% l('Amount') %]</th>
25 FOR f IN ctx.fines.circulation;
26 NEXT IF CGI.param('xact').size &&
27 !CGI.param('xact').grep(f.xact.id).size;
28 attrs = {marc_xml => f.marc_xml};
30 PROCESS get_marc_attrs args=attrs;
31 ELSIF f.xact.reservation;
32 attrs.title = f.xact.reservation.target_resource_type.name;
35 <td>[% attrs.title | html %]</td>
36 <td class="text-right">[% money(f.xact.balance_owed) %]</td>
40 FOR f IN ctx.fines.grocery;
41 NEXT IF CGI.param('xact_misc').size &&
42 !CGI.param('xact_misc').grep(f.xact.id).size %]
44 <td>[% f.xact.last_billing_type | html %]</td>
45 <td class="text-right">[% money(f.xact.balance_owed) %]</td>