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