Lines 323-336
INSERT IGNORE INTO letter (module, code, name, title, content, message_transport
Link Here
|
323 |
There were [% error %] items that were not renewed. |
323 |
There were [% error %] items that were not renewed. |
324 |
[% END %] |
324 |
[% END %] |
325 |
[% IF success %] |
325 |
[% IF success %] |
326 |
There were [% success %] items that where renewed. |
326 |
There were [% success %] items that were renewed. |
327 |
[% END %] |
327 |
[% END %] |
328 |
[% FOREACH checkout IN checkouts %] |
328 |
[% FOREACH checkout IN checkouts %] |
329 |
[% checkout.item.biblio.title %] : [% checkout.item.barcode %] |
329 |
[% checkout.item.biblio.title %] : [% checkout.item.barcode %] |
330 |
[% IF !checkout.auto_renew_error %] |
330 |
[% IF !checkout.auto_renew_error %] |
331 |
was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%] |
331 |
was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%] |
332 |
[% ELSE %] |
332 |
[% ELSIF checkout.auto_renew_error == 'too_many' %] |
333 |
was not renewed with error: [% checkout.auto_renew_error %] |
333 |
You have reached the maximum number of checkouts possible. |
|
|
334 |
[% ELSIF checkout.auto_renew_error == 'on_reserve' %] |
335 |
This item is on hold for another patron. |
336 |
[% ELSIF checkout.auto_renew_error == 'restriction' %] |
337 |
You are currently restricted. |
338 |
[% ELSIF checkout.auto_renew_error == 'overdue' %] |
339 |
You have overdue items. |
340 |
[% ELSIF checkout.auto_renew_error == 'auto_too_late' %] |
341 |
It's too late to renew this item. |
342 |
[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] |
343 |
Your total unpaid fines are too high. |
344 |
[% ELSIF checkout.auto_renew_error == 'too_unseen' %] |
345 |
This item must be renewed at the library. |
334 |
[% END %] |
346 |
[% END %] |
335 |
[% END %] |
347 |
[% END %] |
336 |
", 'email'); |
348 |
", 'email'); |