Lines 209-237
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`
Link Here
|
209 |
('circulation', 'ACCOUNT_CREDIT', '', 'Account payment', 0, 'Account payment', '<table> |
209 |
('circulation', 'ACCOUNT_CREDIT', '', 'Account payment', 0, 'Account payment', '<table> |
210 |
[% IF ( LibraryName ) %] |
210 |
[% IF ( LibraryName ) %] |
211 |
<tr> |
211 |
<tr> |
212 |
<th colspan="4" class="centerednames"> |
212 |
<th colspan="5" class="centerednames"> |
213 |
<h3>[% LibraryName | html %]</h3> |
213 |
<h3>[% LibraryName | html %]</h3> |
214 |
</th> |
214 |
</th> |
215 |
</tr> |
215 |
</tr> |
216 |
[% END %] |
216 |
[% END %] |
217 |
<tr> |
217 |
<tr> |
218 |
<th colspan="4" class="centerednames"> |
218 |
<th colspan="5" class="centerednames"> |
219 |
<h2><u>Fee receipt</u></h2> |
219 |
<h2><u>Fee receipt</u></h2> |
220 |
</th> |
220 |
</th> |
221 |
</tr> |
221 |
</tr> |
222 |
<tr> |
222 |
<tr> |
223 |
<th colspan="4" class="centerednames"> |
223 |
<th colspan="5" class="centerednames"> |
224 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
224 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
225 |
</th> |
225 |
</th> |
226 |
</tr> |
226 |
</tr> |
227 |
<tr> |
227 |
<tr> |
228 |
<th colspan="4"> |
228 |
<th colspan="5"> |
229 |
Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br /> |
229 |
Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br /> |
230 |
Card number: [% patron.cardnumber | html %]<br /> |
230 |
Card number: [% patron.cardnumber | html %]<br /> |
231 |
</th> |
231 |
</th> |
232 |
</tr> |
232 |
</tr> |
233 |
<tr> |
233 |
<tr> |
234 |
<th>Date</th> |
234 |
<th>Created</th> |
|
|
235 |
<th>Updated</th> |
235 |
<th>Description of charges</th> |
236 |
<th>Description of charges</th> |
236 |
<th>Note</th> |
237 |
<th>Note</th> |
237 |
<th>Amount</th> |
238 |
<th>Amount</th> |
Lines 240-245
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`
Link Here
|
240 |
[% FOREACH account IN accounts %] |
241 |
[% FOREACH account IN accounts %] |
241 |
<tr class="highlight"> |
242 |
<tr class="highlight"> |
242 |
<td>[% account.date | $KohaDates %]</td> |
243 |
<td>[% account.date | $KohaDates %]</td> |
|
|
244 |
<td>[% account.timestamp | $KohaDates with_hours = 1 %]</td> |
243 |
<td> |
245 |
<td> |
244 |
[% PROCESS account_type_description account=account %] |
246 |
[% PROCESS account_type_description account=account %] |
245 |
[%- IF account.description %], [% account.description | html %][% END %] |
247 |
[%- IF account.description %], [% account.description | html %][% END %] |
Lines 251-257
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`
Link Here
|
251 |
[% END %] |
253 |
[% END %] |
252 |
<tfoot> |
254 |
<tfoot> |
253 |
<tr> |
255 |
<tr> |
254 |
<td colspan="3">Total outstanding dues as on date: </td> |
256 |
<td colspan="4">Total outstanding dues as on date: </td> |
255 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
257 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
256 |
</tr> |
258 |
</tr> |
257 |
</tfoot> |
259 |
</tfoot> |
Lines 261-290
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
261 |
('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '<table> |
263 |
('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '<table> |
262 |
[% IF ( LibraryName ) %] |
264 |
[% IF ( LibraryName ) %] |
263 |
<tr> |
265 |
<tr> |
264 |
<th colspan="5" class="centerednames"> |
266 |
<th colspan="6" class="centerednames"> |
265 |
<h3>[% LibraryName | html %]</h3> |
267 |
<h3>[% LibraryName | html %]</h3> |
266 |
</th> |
268 |
</th> |
267 |
</tr> |
269 |
</tr> |
268 |
[% END %] |
270 |
[% END %] |
269 |
|
271 |
|
270 |
<tr> |
272 |
<tr> |
271 |
<th colspan="5" class="centerednames"> |
273 |
<th colspan="6" class="centerednames"> |
272 |
<h2><u>INVOICE</u></h2> |
274 |
<h2><u>INVOICE</u></h2> |
273 |
</th> |
275 |
</th> |
274 |
</tr> |
276 |
</tr> |
275 |
<tr> |
277 |
<tr> |
276 |
<th colspan="5" class="centerednames"> |
278 |
<th colspan="6" class="centerednames"> |
277 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
279 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
278 |
</th> |
280 |
</th> |
279 |
</tr> |
281 |
</tr> |
280 |
<tr> |
282 |
<tr> |
281 |
<th colspan="5" > |
283 |
<th colspan="6" > |
282 |
Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br /> |
284 |
Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br /> |
283 |
Card number: [% patron.cardnumber | html %]<br /> |
285 |
Card number: [% patron.cardnumber | html %]<br /> |
284 |
</th> |
286 |
</th> |
285 |
</tr> |
287 |
</tr> |
286 |
<tr> |
288 |
<tr> |
287 |
<th>Date</th> |
289 |
<th>Created</th> |
|
|
290 |
<th>Updated</th> |
288 |
<th>Description of charges</th> |
291 |
<th>Description of charges</th> |
289 |
<th>Note</th> |
292 |
<th>Note</th> |
290 |
<th style="text-align:right;">Amount</th> |
293 |
<th style="text-align:right;">Amount</th> |
Lines 294-299
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
294 |
[% FOREACH account IN accounts %] |
297 |
[% FOREACH account IN accounts %] |
295 |
<tr class="highlight"> |
298 |
<tr class="highlight"> |
296 |
<td>[% account.date | $KohaDates%]</td> |
299 |
<td>[% account.date | $KohaDates%]</td> |
|
|
300 |
<td>[% account.timestamp | $KohaDates with_hours = 1 %]</td> |
297 |
<td> |
301 |
<td> |
298 |
[% PROCESS account_type_description account=account %] |
302 |
[% PROCESS account_type_description account=account %] |
299 |
[%- IF account.description %], [% account.description | html %][% END %] |
303 |
[%- IF account.description %], [% account.description | html %][% END %] |
Lines 306-312
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
306 |
|
310 |
|
307 |
<tfoot> |
311 |
<tfoot> |
308 |
<tr> |
312 |
<tr> |
309 |
<td colspan="4">Total outstanding dues as on date: </td> |
313 |
<td colspan="5">Total outstanding dues as on date: </td> |
310 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
314 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
311 |
</tr> |
315 |
</tr> |
312 |
</tfoot> |
316 |
</tfoot> |