|
Lines 17-39
Link Here
|
| 17 |
<table> |
17 |
<table> |
| 18 |
[% IF ( LibraryName ) %] |
18 |
[% IF ( LibraryName ) %] |
| 19 |
<tr> |
19 |
<tr> |
| 20 |
<th colspan=3 class="centerednames"> |
20 |
<th colspan="4" class="centerednames"> |
| 21 |
<h3>[% LibraryName %]</h3> |
21 |
<h3>[% LibraryName %]</h3> |
| 22 |
</th> |
22 |
</th> |
| 23 |
</tr> |
23 |
</tr> |
| 24 |
[% END %] |
24 |
[% END %] |
| 25 |
<tr> |
25 |
<tr> |
| 26 |
<th colspan=3 class="centerednames"> |
26 |
<th colspan="4" class="centerednames"> |
| 27 |
<h2><u>INVOICE</u></h2> |
27 |
<h2><u>INVOICE</u></h2> |
| 28 |
</th> |
28 |
</th> |
| 29 |
</tr> |
29 |
</tr> |
| 30 |
<tr> |
30 |
<tr> |
| 31 |
<th colspan=3 class="centerednames"> |
31 |
<th colspan="4" class="centerednames"> |
| 32 |
[% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %] |
32 |
[% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %] |
| 33 |
</th> |
33 |
</th> |
| 34 |
</tr> |
34 |
</tr> |
| 35 |
<tr> |
35 |
<tr> |
| 36 |
<th colspan=3 > |
36 |
<th colspan="4" > |
| 37 |
Bill to: [% firstname %] [% surname %] <br /> |
37 |
Bill to: [% firstname %] [% surname %] <br /> |
| 38 |
Card number: [% cardnumber %]<br /> |
38 |
Card number: [% cardnumber %]<br /> |
| 39 |
</th> |
39 |
</th> |
|
Lines 42-47
Link Here
|
| 42 |
<th>Date</th> |
42 |
<th>Date</th> |
| 43 |
<th>Description of charges</th> |
43 |
<th>Description of charges</th> |
| 44 |
<th style="text-align:right;">Amount</th> |
44 |
<th style="text-align:right;">Amount</th> |
|
|
45 |
<th style="text-align:right;">Amount outstanding</th> |
| 45 |
</tr> |
46 |
</tr> |
| 46 |
|
47 |
|
| 47 |
[% FOREACH account IN accounts %] |
48 |
[% FOREACH account IN accounts %] |
|
Lines 49-60
Link Here
|
| 49 |
<td>[% account.date %]</td> |
50 |
<td>[% account.date %]</td> |
| 50 |
<td>[% account.description %]</td> |
51 |
<td>[% account.description %]</td> |
| 51 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
52 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
|
|
53 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
| 52 |
</tr> |
54 |
</tr> |
| 53 |
|
55 |
|
| 54 |
[% END %] |
56 |
[% END %] |
| 55 |
<tfoot> |
57 |
<tfoot> |
| 56 |
<tr> |
58 |
<tr> |
| 57 |
<td colspan="2">Total outstanding dues as on date: </td> |
59 |
<td colspan="3">Total outstanding dues as on date: </td> |
| 58 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td> |
60 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td> |
| 59 |
</tr> |
61 |
</tr> |
| 60 |
</tfoot> |
62 |
</tfoot> |
| 61 |
- |
|
|