Lines 52-57
tables:
Link Here
|
52 |
message_transport_type: print |
52 |
message_transport_type: print |
53 |
lang: default |
53 |
lang: default |
54 |
content: |
54 |
content: |
|
|
55 |
- "[% PROCESS 'accounts.inc' %]" |
55 |
- "<table>" |
56 |
- "<table>" |
56 |
- "[% IF ( LibraryName ) %]" |
57 |
- "[% IF ( LibraryName ) %]" |
57 |
- " <tr>" |
58 |
- " <tr>" |
Lines 67-79
tables:
Link Here
|
67 |
- " </tr>" |
68 |
- " </tr>" |
68 |
- " <tr>" |
69 |
- " <tr>" |
69 |
- " <th colspan=\"4\" class=\"centerednames\">" |
70 |
- " <th colspan=\"4\" class=\"centerednames\">" |
70 |
- " <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>" |
71 |
- " <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2>" |
71 |
- " </th>" |
72 |
- " </th>" |
72 |
- " </tr>" |
73 |
- " </tr>" |
73 |
- " <tr>" |
74 |
- " <tr>" |
74 |
- " <th colspan=\"4\">" |
75 |
- " <th colspan=\"4\">" |
75 |
- " Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br />" |
76 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
76 |
- " Card number: [% patron.cardnumber | html %]<br />" |
77 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
77 |
- " </th>" |
78 |
- " </th>" |
78 |
- " </tr>" |
79 |
- " </tr>" |
79 |
- " <tr>" |
80 |
- " <tr>" |
Lines 83-104
tables:
Link Here
|
83 |
- " <th>Amount</th>" |
84 |
- " <th>Amount</th>" |
84 |
- " </tr>" |
85 |
- " </tr>" |
85 |
- "" |
86 |
- "" |
86 |
- " [% FOREACH account IN accounts %]" |
87 |
- " <tr class=\"highlight\">" |
87 |
- " <tr class=\"highlight\">" |
88 |
- " <td>[% credit.date | $KohaDates %]</td>" |
88 |
- " <td>[% account.date | $KohaDates %]</td>" |
89 |
- " <td>" |
89 |
- " <td>" |
90 |
- " [% PROCESS account_type_description account=credit %]" |
90 |
- " [% PROCESS account_type_description account=account %]" |
91 |
- " [%- IF credit.description %], [% credit.description | html %][% END %]" |
91 |
- " [%- IF account.description %], [% account.description | html %][% END %]" |
92 |
- " </td>" |
92 |
- " </td>" |
93 |
- " <td>[% credit.note | html %]</td>" |
93 |
- " <td>[% account.note | html %]</td>" |
94 |
- " <td class=\"credit\">[% credit.amount | $Price %]</td>" |
94 |
- " [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>" |
95 |
- " </tr>" |
95 |
- " </tr>" |
|
|
96 |
- "" |
96 |
- "" |
97 |
- " [% END %]" |
|
|
98 |
- "<tfoot>" |
97 |
- "<tfoot>" |
99 |
- " <tr>" |
98 |
- " <tr>" |
100 |
- " <td colspan=\"3\">Total outstanding dues as on date: </td>" |
99 |
- " <td colspan=\"3\">Total outstanding dues as on date: </td>" |
101 |
- " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>" |
100 |
- " [% IF ( credit.patron.account.balance >= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% credit.patron.account.balance | $Price %]</td>" |
102 |
- " </tr>" |
101 |
- " </tr>" |
103 |
- "</tfoot>" |
102 |
- "</tfoot>" |
104 |
- "</table>" |
103 |
- "</table>" |
Lines 112-117
tables:
Link Here
|
112 |
message_transport_type: print |
111 |
message_transport_type: print |
113 |
lang: default |
112 |
lang: default |
114 |
content: |
113 |
content: |
|
|
114 |
- "[% PROCESS 'accounts.inc' %]" |
115 |
- "<table>" |
115 |
- "<table>" |
116 |
- " [% IF ( LibraryName ) %]" |
116 |
- " [% IF ( LibraryName ) %]" |
117 |
- " <tr>" |
117 |
- " <tr>" |
Lines 128-140
tables:
Link Here
|
128 |
- " </tr>" |
128 |
- " </tr>" |
129 |
- " <tr>" |
129 |
- " <tr>" |
130 |
- " <th colspan=\"5\" class=\"centerednames\">" |
130 |
- " <th colspan=\"5\" class=\"centerednames\">" |
131 |
- " <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>" |
131 |
- " <h2>[% Branches.GetName( debit.patron.branchcode ) | html %]</h2>" |
132 |
- " </th>" |
132 |
- " </th>" |
133 |
- " </tr>" |
133 |
- " </tr>" |
134 |
- " <tr>" |
134 |
- " <tr>" |
135 |
- " <th colspan=\"5\" >" |
135 |
- " <th colspan=\"5\" >" |
136 |
- " Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />" |
136 |
- " Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />" |
137 |
- " Card number: [% patron.cardnumber | html %]<br />" |
137 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
138 |
- " </th>" |
138 |
- " </th>" |
139 |
- " </tr>" |
139 |
- " </tr>" |
140 |
- " <tr>" |
140 |
- " <tr>" |
Lines 145-167
tables:
Link Here
|
145 |
- " <th style=\"text-align:right;\">Amount outstanding</th>" |
145 |
- " <th style=\"text-align:right;\">Amount outstanding</th>" |
146 |
- " </tr>" |
146 |
- " </tr>" |
147 |
- "" |
147 |
- "" |
148 |
- " [% FOREACH account IN accounts %]" |
148 |
- " <tr class=\"highlight\">" |
149 |
- " <tr class=\"highlight\">" |
149 |
- " <td>[% debit.date | $KohaDates%]</td>" |
150 |
- " <td>[% account.date | $KohaDates%]</td>" |
150 |
- " <td>" |
151 |
- " <td>" |
151 |
- " [% PROCESS account_type_description account=debit %]" |
152 |
- " [% PROCESS account_type_description account=account %]" |
152 |
- " [%- IF debit.description %], [% debit.description | html %][% END %]" |
153 |
- " [%- IF account.description %], [% account.description | html %][% END %]" |
153 |
- " </td>" |
154 |
- " </td>" |
154 |
- " <td>[% debit.note | html %]</td>" |
155 |
- " <td>[% account.note | html %]</td>" |
155 |
- " <td class=\"debit\">[% debit.amount | $Price %]</td>" |
156 |
- " [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>" |
156 |
- " <td class=\"debit\">[% debit.amountoutstanding | $Price %]</td>" |
157 |
- " [% IF ( account.amountoutstandingcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amountoutstanding | $Price %]</td>" |
157 |
- " </tr>" |
158 |
- " </tr>" |
|
|
159 |
- " [% END %]" |
160 |
- "" |
158 |
- "" |
161 |
- " <tfoot>" |
159 |
- " <tfoot>" |
162 |
- " <tr>" |
160 |
- " <tr>" |
163 |
- " <td colspan=\"4\">Total outstanding dues as on date: </td>" |
161 |
- " <td colspan=\"4\">Total outstanding dues as on date: </td>" |
164 |
- " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>" |
162 |
- " [% IF ( debit.patron.account.balance <= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% debit.patron.account.balance | $Price %]</td>" |
165 |
- " </tr>" |
163 |
- " </tr>" |
166 |
- " </tfoot>" |
164 |
- " </tfoot>" |
167 |
- "</table>" |
165 |
- "</table>" |
168 |
- |
|
|