|
Lines 13-35
Link Here
|
| 13 |
<table> |
13 |
<table> |
| 14 |
[% IF ( LibraryName ) %] |
14 |
[% IF ( LibraryName ) %] |
| 15 |
<tr> |
15 |
<tr> |
| 16 |
<th colspan="4" class="centerednames"> |
16 |
<th colspan="5" class="centerednames"> |
| 17 |
<h3>[% LibraryName %]</h3> |
17 |
<h3>[% LibraryName %]</h3> |
| 18 |
</th> |
18 |
</th> |
| 19 |
</tr> |
19 |
</tr> |
| 20 |
[% END %] |
20 |
[% END %] |
| 21 |
<tr> |
21 |
<tr> |
| 22 |
<th colspan="4" class="centerednames"> |
22 |
<th colspan="5" class="centerednames"> |
| 23 |
<h2><u>INVOICE</u></h2> |
23 |
<h2><u>INVOICE</u></h2> |
| 24 |
</th> |
24 |
</th> |
| 25 |
</tr> |
25 |
</tr> |
| 26 |
<tr> |
26 |
<tr> |
| 27 |
<th colspan="4" class="centerednames"> |
27 |
<th colspan="5" class="centerednames"> |
| 28 |
[% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %] |
28 |
[% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %] |
| 29 |
</th> |
29 |
</th> |
| 30 |
</tr> |
30 |
</tr> |
| 31 |
<tr> |
31 |
<tr> |
| 32 |
<th colspan="4" > |
32 |
<th colspan="5" > |
| 33 |
Bill to: [% firstname %] [% surname %] <br /> |
33 |
Bill to: [% firstname %] [% surname %] <br /> |
| 34 |
Card number: [% cardnumber %]<br /> |
34 |
Card number: [% cardnumber %]<br /> |
| 35 |
</th> |
35 |
</th> |
|
Lines 37-42
Link Here
|
| 37 |
<tr> |
37 |
<tr> |
| 38 |
<th>Date</th> |
38 |
<th>Date</th> |
| 39 |
<th>Description of charges</th> |
39 |
<th>Description of charges</th> |
|
|
40 |
<th>Note</th> |
| 40 |
<th style="text-align:right;">Amount</th> |
41 |
<th style="text-align:right;">Amount</th> |
| 41 |
<th style="text-align:right;">Amount outstanding</th> |
42 |
<th style="text-align:right;">Amount outstanding</th> |
| 42 |
</tr> |
43 |
</tr> |
|
Lines 60-65
Link Here
|
| 60 |
[%- END -%] |
61 |
[%- END -%] |
| 61 |
[%- IF account.description %], [% account.description %][% END %] |
62 |
[%- IF account.description %], [% account.description %][% END %] |
| 62 |
</td> |
63 |
</td> |
|
|
64 |
<td>[% account.note %]</td> |
| 63 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
65 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
| 64 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
66 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
| 65 |
</tr> |
67 |
</tr> |
|
Lines 67-73
Link Here
|
| 67 |
[% END %] |
69 |
[% END %] |
| 68 |
<tfoot> |
70 |
<tfoot> |
| 69 |
<tr> |
71 |
<tr> |
| 70 |
<td colspan="3">Total outstanding dues as on date: </td> |
72 |
<td colspan="4">Total outstanding dues as on date: </td> |
| 71 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td> |
73 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td> |
| 72 |
</tr> |
74 |
</tr> |
| 73 |
</tfoot> |
75 |
</tfoot> |