|
Lines 21-43
Link Here
|
| 21 |
<table> |
21 |
<table> |
| 22 |
[% IF ( LibraryName ) %] |
22 |
[% IF ( LibraryName ) %] |
| 23 |
<tr> |
23 |
<tr> |
| 24 |
<th colspan="5" class="centerednames"> |
24 |
<th colspan="8" class="centerednames"> |
| 25 |
<h3>[% LibraryName | html %]</h3> |
25 |
<h3>[% LibraryName | html %]</h3> |
| 26 |
</th> |
26 |
</th> |
| 27 |
</tr> |
27 |
</tr> |
| 28 |
[% END %] |
28 |
[% END %] |
| 29 |
<tr> |
29 |
<tr> |
| 30 |
<th colspan="5" class="centerednames"> |
30 |
<th colspan="8" class="centerednames"> |
| 31 |
<h2><u>INVOICE</u></h2> |
31 |
<h2><u>INVOICE</u></h2> |
| 32 |
</th> |
32 |
</th> |
| 33 |
</tr> |
33 |
</tr> |
| 34 |
<tr> |
34 |
<tr> |
| 35 |
<th colspan="5" class="centerednames"> |
35 |
<th colspan="8" class="centerednames"> |
| 36 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
36 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
| 37 |
</th> |
37 |
</th> |
| 38 |
</tr> |
38 |
</tr> |
| 39 |
<tr> |
39 |
<tr> |
| 40 |
<th colspan="5" > |
40 |
<th colspan="8" > |
| 41 |
Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br /> |
41 |
Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br /> |
| 42 |
Card number: [% patron.cardnumber | html %]<br /> |
42 |
Card number: [% patron.cardnumber | html %]<br /> |
| 43 |
</th> |
43 |
</th> |
|
Lines 45-50
Link Here
|
| 45 |
<tr> |
45 |
<tr> |
| 46 |
<th>Date</th> |
46 |
<th>Date</th> |
| 47 |
<th>Description of charges</th> |
47 |
<th>Description of charges</th> |
|
|
48 |
<th>Barcode</th> |
| 49 |
<th>Due date</th> |
| 50 |
<th>Return date</th> |
| 48 |
<th>Note</th> |
51 |
<th>Note</th> |
| 49 |
<th style="text-align:right;">Amount</th> |
52 |
<th style="text-align:right;">Amount</th> |
| 50 |
<th style="text-align:right;">Amount outstanding</th> |
53 |
<th style="text-align:right;">Amount outstanding</th> |
|
Lines 57-62
Link Here
|
| 57 |
[% PROCESS account_type_description account=account %] |
60 |
[% PROCESS account_type_description account=account %] |
| 58 |
[%- IF account.description %], [% account.description | html %][% END %] |
61 |
[%- IF account.description %], [% account.description | html %][% END %] |
| 59 |
</td> |
62 |
</td> |
|
|
63 |
<td>[% account.item.barcode | html %]</td> |
| 64 |
<td>[% account.issue.date_due | $KohaDates with_hours => 1 | html %]</td> |
| 65 |
<td>[% account.issue.returndate | $KohaDates with_hours => 1 | html %]</td> |
| 60 |
<td>[% account.note | html %]</td> |
66 |
<td>[% account.note | html %]</td> |
| 61 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td> |
67 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td> |
| 62 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding | $Price %]</td> |
68 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding | $Price %]</td> |
|
Lines 65-71
Link Here
|
| 65 |
[% END %] |
71 |
[% END %] |
| 66 |
<tfoot> |
72 |
<tfoot> |
| 67 |
<tr> |
73 |
<tr> |
| 68 |
<td colspan="4">Total outstanding dues as on date: </td> |
74 |
<td colspan="7">Total outstanding dues as on date: </td> |
| 69 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
75 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
| 70 |
</tr> |
76 |
</tr> |
| 71 |
</tfoot> |
77 |
</tfoot> |