|
Lines 199-201
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`,
Link Here
|
| 199 |
|
199 |
|
| 200 |
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES |
200 |
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES |
| 201 |
('circulation', 'SR_SLIP', '', 'Ticket de rotation automatique d\'exemplaires', 0, 'Rapport de rotation automatique d\'exemplaires', 'Rapport de rotation automatique d\'exemplaires pour [% branch.name %]:\r\n\r\n[% IF branch.items.size %][% branch.items.size %] exemplaires de cette bibliothèque à traiter.\r\n[% ELSE %]Aucun exemplaire de cette bibliothèque à traiter\r\n[% END %][% FOREACH item IN branch.items %][% IF item.reason != \'in-demand\' %]Titre : [% item.title %]\r\nAuteur : [% item.author %]\r\nCote : [% item.callnumber %]\r\nLocalisation : [% item.location %]\r\nCode-barres: [% item.barcode %]\r\nEn prêt? : [% item.onloan %]\r\nStatut : [% item.reason %]\r\nBibliothèque dépositaire : [% item.branch.branchname %] [% item.branch.branchcode %]\r\n\r\n[% END %][% END %]', 'email'); |
201 |
('circulation', 'SR_SLIP', '', 'Ticket de rotation automatique d\'exemplaires', 0, 'Rapport de rotation automatique d\'exemplaires', 'Rapport de rotation automatique d\'exemplaires pour [% branch.name %]:\r\n\r\n[% IF branch.items.size %][% branch.items.size %] exemplaires de cette bibliothèque à traiter.\r\n[% ELSE %]Aucun exemplaire de cette bibliothèque à traiter\r\n[% END %][% FOREACH item IN branch.items %][% IF item.reason != \'in-demand\' %]Titre : [% item.title %]\r\nAuteur : [% item.author %]\r\nCote : [% item.callnumber %]\r\nLocalisation : [% item.location %]\r\nCode-barres: [% item.barcode %]\r\nEn prêt? : [% item.onloan %]\r\nStatut : [% item.reason %]\r\nBibliothèque dépositaire : [% item.branch.branchname %] [% item.branch.branchcode %]\r\n\r\n[% END %][% END %]', 'email'); |
|
|
202 |
|
| 203 |
INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'notification on auto renewing', 'Auto renewals', |
| 204 |
"Dear [% borrower.firstname %] [% borrower.surname %], |
| 205 |
[% IF checkout.auto_renew_error %] |
| 206 |
The following item [% biblio.title %] has not been correctly renewed |
| 207 |
[% IF checkout.auto_renew_error == 'too_many' %] |
| 208 |
You have reach the maximum of checkouts possible. |
| 209 |
[% ELSIF checkout.auto_renew_error == 'on_reserve' %] |
| 210 |
This item is on hold for another patron. |
| 211 |
[% ELSIF checkout.auto_renew_error == 'restriction' %] |
| 212 |
You are currently restricted. |
| 213 |
[% ELSIF checkout.auto_renew_error == 'overdue' %] |
| 214 |
You have overdues. |
| 215 |
[% ELSIF checkout.auto_renew_error == 'auto_too_late' %] |
| 216 |
It\'s too late to renew this checkout. |
| 217 |
[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] |
| 218 |
You have too much unpaid fines. |
| 219 |
[% END %] |
| 220 |
[% ELSE %] |
| 221 |
The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %] |
| 222 |
[% END %]", 'email'); |