|
Lines 102-109
$(document).ready(function() {
Link Here
|
| 102 |
[%- IF account.description %], [% account.description %][% END %] |
102 |
[%- IF account.description %], [% account.description %][% END %] |
| 103 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %][% account.title |html %]</td> |
103 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %][% account.title |html %]</td> |
| 104 |
<td>[% account.note | html_line_break %]</td> |
104 |
<td>[% account.note | html_line_break %]</td> |
| 105 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
105 |
[% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td> |
| 106 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
106 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td> |
| 107 |
[% IF ( reverse_col ) %] |
107 |
[% IF ( reverse_col ) %] |
| 108 |
<td> |
108 |
<td> |
| 109 |
[% IF ( account.payment ) %] |
109 |
[% IF ( account.payment ) %] |
|
Lines 127-145
$(document).ready(function() {
Link Here
|
| 127 |
<tr> |
127 |
<tr> |
| 128 |
<td colspan="4">Total due</td> |
128 |
<td colspan="4">Total due</td> |
| 129 |
[% IF ( totalcredit ) %] |
129 |
[% IF ( totalcredit ) %] |
| 130 |
[% IF ( reverse_col ) %] |
130 |
<td class="credit" style="text-align: right;">[% total %]</td> |
| 131 |
<td colspan="3" class="credit"> |
|
|
| 132 |
[% ELSE %] |
| 133 |
<td colspan="2" class="credit"> |
| 134 |
[% END %] |
| 135 |
[% ELSE %] |
131 |
[% ELSE %] |
| 136 |
[% IF ( reverse_col ) %] |
132 |
<td class="debit"style="text-align: right;">[% total %]</td> |
| 137 |
<td colspan="3" class="debit"> |
133 |
[% END %] |
|
|
134 |
[% IF ( reverse_col ) %] |
| 135 |
<td colspan="2"></td> |
| 138 |
[% ELSE %] |
136 |
[% ELSE %] |
| 139 |
<td colspan="2" class="credit"> |
137 |
<td></td> |
| 140 |
[% END %] |
|
|
| 141 |
[% END %] |
138 |
[% END %] |
| 142 |
[% total %]</td> |
|
|
| 143 |
</tr> |
139 |
</tr> |
| 144 |
</tfoot> |
140 |
</tfoot> |
| 145 |
</table> |
141 |
</table> |