Lines 1-6
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE AuthorisedValues %] |
2 |
[% USE AuthorisedValues %] |
3 |
[% USE Branches %] |
3 |
[% USE Branches %] |
|
|
4 |
[% USE Price %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %]</title> |
6 |
<title>Koha › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %]</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 19-25
function enableCheckboxActions(){
Link Here
|
19 |
$(document).ready(function(){ |
20 |
$(document).ready(function(){ |
20 |
$('#pay-fines-form').preventDoubleFormSubmit(); |
21 |
$('#pay-fines-form').preventDoubleFormSubmit(); |
21 |
$("#woall").click(function(event){ |
22 |
$("#woall").click(function(event){ |
22 |
var msg = _("Are you sure you want to write off %s in outstanding fines? This cannot be undone!").format( "[% total | format('%.2f') %]" ); |
23 |
var msg = _("Are you sure you want to write off %s in outstanding fines? This cannot be undone!").format( "[% total | $Price %]" ); |
23 |
var answer = confirm(msg); |
24 |
var answer = confirm(msg); |
24 |
if (!answer){ |
25 |
if (!answer){ |
25 |
event.preventDefault(); |
26 |
event.preventDefault(); |
Lines 87-93
function enableCheckboxActions(){
Link Here
|
87 |
<tfoot> |
88 |
<tfoot> |
88 |
<tr> |
89 |
<tr> |
89 |
<td class="total" colspan="8">Total due:</td> |
90 |
<td class="total" colspan="8">Total due:</td> |
90 |
<td style="text-align: right;">[% total | format('%.2f') %]</td> |
91 |
<td style="text-align: right;">[% total | $Price %]</td> |
91 |
</tr> |
92 |
</tr> |
92 |
</tfoot> |
93 |
</tfoot> |
93 |
<tbody> |
94 |
<tbody> |
Lines 145-159
function enableCheckboxActions(){
Link Here
|
145 |
<td>[% line.accounttype %]</td> |
146 |
<td>[% line.accounttype %]</td> |
146 |
<td>[% line.notify_id %]</td> |
147 |
<td>[% line.notify_id %]</td> |
147 |
<td>[% line.notify_level %]</td> |
148 |
<td>[% line.notify_level %]</td> |
148 |
<td class="debit" style="text-align: right;">[% line.amount | format('%.2f') %]</td> |
149 |
<td class="debit" style="text-align: right;">[% line.amount | $Price %]</td> |
149 |
<td class="debit" style="text-align: right;">[% line.amountoutstanding | format('%.2f') %]</td> |
150 |
<td class="debit" style="text-align: right;">[% line.amountoutstanding | $Price %]</td> |
150 |
</tr> |
151 |
</tr> |
151 |
[% END %] |
152 |
[% END %] |
152 |
[% IF ( account_grp.total ) %] |
153 |
[% IF ( account_grp.total ) %] |
153 |
<tr> |
154 |
<tr> |
154 |
|
155 |
|
155 |
<td class="total" colspan="8" style="text-align: right;">Sub total:</td> |
156 |
<td class="total" colspan="8" style="text-align: right;">Sub total:</td> |
156 |
<td style="text-align: right;">[% account_grp.total | format('%.2f') %]</td> |
157 |
<td style="text-align: right;">[% account_grp.total | $Price %]</td> |
157 |
</tr> |
158 |
</tr> |
158 |
[% END %] |
159 |
[% END %] |
159 |
[% END %] |
160 |
[% END %] |
160 |
- |
|
|