|
Lines 378-380
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
| 378 |
</tr> |
378 |
</tr> |
| 379 |
</tfoot> |
379 |
</tfoot> |
| 380 |
</table>', 'print', 'default'); |
380 |
</table>', 'print', 'default'); |
| 381 |
- |
381 |
|
|
|
382 |
INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'Notification of automatic renewal', 'Automatic renewal notice', |
| 383 |
"Dear [% borrower.firstname %] [% borrower.surname %], |
| 384 |
[% IF checkout.auto_renew_error %] |
| 385 |
The following item, [% biblio.title %], has not been renewed because: |
| 386 |
[% IF checkout.auto_renew_error == 'too_many' %] |
| 387 |
You have reached the maximum number of checkouts possible. |
| 388 |
[% ELSIF checkout.auto_renew_error == 'on_reserve' %] |
| 389 |
This item is on hold for another patron. |
| 390 |
[% ELSIF checkout.auto_renew_error == 'restriction' %] |
| 391 |
You are currently restricted. |
| 392 |
[% ELSIF checkout.auto_renew_error == 'overdue' %] |
| 393 |
You have overdue items. |
| 394 |
[% ELSIF checkout.auto_renew_error == 'auto_too_late' %] |
| 395 |
It\'s too late to renew this item. |
| 396 |
[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] |
| 397 |
Your total unpaid fines are too high. |
| 398 |
[% END %] |
| 399 |
[% ELSE %] |
| 400 |
The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] |
| 401 |
[% END %]", 'email'); |