Lines 469-471
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
469 |
</tr> |
469 |
</tr> |
470 |
</tfoot> |
470 |
</tfoot> |
471 |
</table>', 'print', 'default'); |
471 |
</table>', 'print', 'default'); |
472 |
- |
472 |
|
|
|
473 |
INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'Notification of automatic renewal', 'Automatic renewal notice', |
474 |
"Dear [% borrower.firstname %] [% borrower.surname %], |
475 |
[% IF checkout.auto_renew_error %] |
476 |
The following item, [% biblio.title %], has not been renewed because: |
477 |
[% IF checkout.auto_renew_error == 'too_many' %] |
478 |
You have reached the maximum number of checkouts possible. |
479 |
[% ELSIF checkout.auto_renew_error == 'on_reserve' %] |
480 |
This item is on hold for another patron. |
481 |
[% ELSIF checkout.auto_renew_error == 'restriction' %] |
482 |
You are currently restricted. |
483 |
[% ELSIF checkout.auto_renew_error == 'overdue' %] |
484 |
You have overdue items. |
485 |
[% ELSIF checkout.auto_renew_error == 'auto_too_late' %] |
486 |
It\'s too late to renew this item. |
487 |
[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] |
488 |
Your total unpaid fines are too high. |
489 |
[% END %] |
490 |
[% ELSE %] |
491 |
The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] |
492 |
[% END %]", 'email'); |