Bug 23590: Add notice template for translated installer files
[koha.git] / installer / data / mysql / fr-FR / 1-Obligatoire / sample_notices.sql
1 INSERT IGNORE INTO `letter`
2 (module, code, name, title, content, message_transport_type)
3 VALUES
4 ('circulation','ODUE','Avis de retard','Document en retard','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\n\nSelon nos informations actuelles, vous avez des documents signalés en retard dans votre compte.La Bibliothèque n\'applique pas les pénalités, mais nous vous invitons à retourner ou renouveler ces documents au plus vite dans la Bibliothèque suivante.\n\n<<branches.branchname>>\n<<branches.branchaddress1>>\n<<branches.branchaddress2>> <<branches.branchaddress3>>\nTéléphone: <<branches.branchphone>>\nFax: <<branches.branchfax>>\nCourriel: <<branches.branchemail>>\n\nSi vous possédez un identifiant et un mot de passe pour vous connecter à notre catalogue en ligne,vous pouvez depuis celui-ci prolonger la durée de prêt des documents. Si les documents ont plus de 3à jours de retard, vous ne pourrez plus utiliser votre carte d\'adhérent tant que les documents ne seront pas rendus.\n\nLe(s) document(s) actuellement en retard:\n\n<item>"<<biblio.title>>" de <<biblio.author>>, <<items.itemcallnumber>>, Code barres: <<items.barcode>> Pénalité: <<items.fine>></item>\n\nAvec nos remerciements.\n\n<<branches.branchname>> La banque de prêt\n', 'email'),
5 ('claimacquisition','ACQCLAIM','Réclamation Acquisitions','Document non reçu','<<aqbooksellers.name>>\r\n<<aqbooksellers.address1>>\r\n<<aqbooksellers.address2>>\r\n<<aqbooksellers.address3>>\r\n<<aqbooksellers.address4>>\r\n<<aqbooksellers.phone>>\r\n\r\n<order>Commande <<aqorders.ordernumber>> (<<biblio.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) pas encore reçue.</order>', 'email'),
6 ('orderacquisition','ACQORDER','Acquisition order','Order','<<aqbooksellers.name>>\r\n<<aqbooksellers.address1>>\r\n<<aqbooksellers.address2>>\r\n<<aqbooksellers.address3>>\r\n<<aqbooksellers.address4>>\r\n<<aqbooksellers.phone>>\r\n\r\nPlease order for the library:\r\n\r\n<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>) (quantity: <<aqorders.quantity>>) ($<<aqorders.listprice>> each).</order>\r\n\r\nThank you,\n\n<<branches.branchname>>', 'email'),
7 ('serial','SERIAL_ALERT','Liste de routage','Fascicule de périodique disponible','<<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nLe numéro suivant est disponible:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)\r\n\r\nVous pouvez venir le retirer quand vous voulez.', 'email'),
8 ('members','ACCTDETAILS','Nouveau compte adhérent','Votre nouveau compte adhérent.','Bonjour <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>.\r\n\r\nLes informations de votre nouveau compte sont:\r\n\r\nIdentifiant:  <<borrowers.userid>>\r\nMot de passe: <<borrowers.password>>\r\n\r\nSi vous avez des questions au sujet de votre nouveau compte, merci de prendre contact à l\'acceuil de la Bibliothèque.\r\n\r\nMerci,\r\nLa Bibliothèque\r\nkohaadmin@yoursite.org', 'email'),
9 ('circulation','DUE','Document à rendre ','Document à rendre','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nLe document suivant doit être rendu aujourd\'hui:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
10 ('circulation','DUEDGST','Document à rendre (résumé)','Document à rendre','Vous avez <<count>> document(s) à rendre', 'email'),
11 ('circulation','PREDUE','Document à rendre bientôt','Document à rendre bientôt','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nLa date de retour du doucment suivant est proche:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
12 ('circulation','PREDUEDGST','Document à rendre bientôt (résumé)','Document à rendre bientôt','Vous avez <<count>> document(s) dont la date de retour est proche', 'email'),
13 ('reserves', 'HOLD', 'Réservation disponible pour retrait', 'Réservation disponible à la banque de retrait du site <<branches.branchname>>', 'Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nVous avez une réservation disponible pour retrait depuis le <<reserves.waitingdate>>:\r\n\r\nTitre: <<biblio.title>>\r\nAuteur: <<biblio.author>>\r\nNuméro de fascicule: <<items.copynumber>>\r\nSite: <<branches.branchname>>\r\n<<branches.branchaddress1>>\r\n<<branches.branchaddress2>>\r\n<<branches.branchaddress3>>', 'email'),
14 ('reserves', 'HOLD', 'Réservation disponible pour retrait', 'Réservation disponible à la banque de retrait du site <<branches.branchname>>', '<<branches.branchname>>\n<<branches.branchaddress1>>\n<<branches.branchaddress2>>\n\n\nLe service des réservations\n\n\n\n\n\n\n\n<<borrowers.firstname>> <<borrowers.surname>>\n<<borrowers.address>>\n<<borrowers.city>> <<borrowers.zipcode>>\n\n\n\n\n\n\n\n\n\n\n<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>\n\nVotre réservation est disponible pour retrait depuis le <<reserves.waitingdate>>:\r\n\r\nTitre: <<biblio.title>>\r\nAuteur: <<biblio.author>>\r\nNuméro de fascicule: <<items.copynumber>>\r\n', 'print'),
15 ('circulation','CHECKIN','Document rendu (résumé)','Retours','Les documents suivants ont été rendus:\r\n----\r\n[% biblio.title %]\r\n----\r\nMerci.', 'email'),
16 ('circulation','CHECKOUT','Document prêté (résumé)','Prêts','Les documents suivants ont été prêtés:\r\n----\r\n[% biblio.title %]\r\n----\r\nMerci de votre visite [% branch.branchname %].', 'email'),
17 ('reserves', 'HOLDPLACED', 'Demande de réservation', 'Demande de réservation','Une demande de réservation a été placée sur le document : <<biblio.title>> (<<biblio.biblionumber>>) par l\'adhérent <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>).', 'email'),
18 ('reserves', 'CANCEL_HOLD_ON_LOST', 'Hold has been cancelled', "Hold has been cancelled", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nWe regret to inform you, that the following item can not be provided due to it being missing. Your hold was cancelled.\n\nTitle: [% biblio.title %]\nAuthor: [% biblio.author %]\nCopy: [% item.copynumber %]\nLocation: [% branch.branchname %]", 'email'),
19 ('suggestions','ACCEPTED','Suggestion accceptée', 'Suggestion acceptée','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\n\nVous avez crée une suggestion d\'achat au sujet du document <<suggestions.title>> de <<suggestions.author>>.\n\nLa Bibliothèque a reçu votre demande ce jour. Nous donnerons suite à votre demande aussi vite que possible. Vous serez averti par courriel dès que la commande sera envoyée,et quand les documents seront arrivés à la Bibliothèque.\n\nSi vous avez des questions, merci de nous contacter à l\'adresse suivante <<branches.branchemail>>.\n\nMerci,\n\n<<branches.branchname>>', 'email'),
20 ('suggestions','AVAILABLE','Suggestion disponible', 'Suggestion d\'achat disponible','cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\n\nVous avez effectué une suggestion d\'achat pour le docuement  <<suggestions.title>> de <<suggestions.author>>.\n\nNous sommes heureux de vous informer que le document que vous aviez demandé est maintenant disponible dans nos collections.\n\nSi vous avez des questions, merci de nous contacter par courriel à l\'adresse <<branches.branchemail>>.\n\nMerci,\n\n<<branches.branchname>>', 'email'),
21 ('suggestions','ORDERED','Suggestion commandée', 'Suggestion commandée','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\n\nVous avez effectué une demande de suggestion d\'achat sur le docuement <<suggestions.title>> de <<suggestions.author>>.\n\nNous sommes heureux de vous informer que le document que vous avez demandé est maintenant en commande. Le document devrait arriver rapidement dans nos collections.\n\nVous serez averti quand le docuement sera disponible.\n\nSi vous avez des questions, merci de nous contacter à l\'adresse <<branches.branchemail>>\n\nMerci,\n\n<<branches.branchname>>', 'email'),
22 ('suggestions','REJECTED','Suggestion rejetée', 'Suggestion d\'achat rejeté','Cher(e) <<borrowers.firstname>> <<borrowers.surname>>,\n\nVous avez fait la demande du document <<suggestions.title>> de <<suggestions.author>>.\n\nla Bibliothèque a examiné votre demande ce jour, et a décidé de ne pas retenir la suggestion pour l\'instant.\n\nLa raison est la suivante: <<suggestions.reason>>\n\nSi vous avez des questions, merci de nous contacter à l\'adresse <<branches.branchemail>>.\n\nMerci,\n\n<<branches.branchname>>', 'email'),
23 ('suggestions','TO_PROCESS','Avis au propriétaire du poste budgétaire', 'Une suggestion est prête à être traitée','<<borrowers.firstname>> <<borrowers.surname>>,\n\nUne nouvelle suggestion est prête à être traitée : <<suggestions.title>> / <<suggestions.author>>.\n\nMerci,\n\n<<branches.branchname>>', 'email'),
24 ('suggestions', 'NOTIFY_MANAGER', 'Notify manager of a suggestion', "A suggestion has been assigned to you", "Dear [% borrower.firstname %] [% borrower.surname %],\nA suggestion has been assigned to you: [% suggestion.title %].\nThank you,\n[% branch.branchname %]", 'email'),
25 ('members', 'DISCHARGE', 'Quitus', 'Quitus pour <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Quitus</h1>\r\n\r\nLa librairie <<borrowers.branchcode>> certifies que lecteur suivant :\r\n\r\n    <<borrowers.firstname>> <<borrowers.surname>>\r\n   Numéro de carte : <<borrowers.cardnumber>>\r\n\r\na bien retourné tous ses documents.', 'email');
26
27 INSERT INTO `letter` (module, code, name, title, content, is_html, message_transport_type)
28 VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Suggestion pendin    g approval</h3>
29     <p><h4>Suggested by</h4>
30     <ul>
31     <li><<borrowers.firstname>> <<borrowers.surname>></li>
32     <li><<borrowers.cardnumber>></li>
33     <li><<borrowers.phone>></li>
34     <li><<borrowers.email>></li>
35     </ul>
36     </p>
37     <p><h4>Title suggested</h4>
38     <ul>
39     <li><b>Library:</b> <<branches.branchname>></li>
40     <li><b>Title:</b> <<suggestions.title>></li>
41     <li><b>Author:</b> <<suggestions.author>></li>
42     <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>
43     <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>
44     <li><b>Publisher:</b> <<suggestions.publishercode>></li>
45     <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>
46     <li><b>Publication place:</b> <<suggestions.place>></li>
47     <li><b>Quantity:</b> <<suggestions.quantity>></li>
48     <li><b>Item type:</b>  <<suggestions.itemtype>></li>
49     <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>
50     <li><b>Notes:</b> <<suggestions.note>></li>
51     </ul>
52     </p>',1, 'email');
53 INSERT INTO `letter` (module, code, name, title, content, is_html)
54 VALUES ('circulation','ISSUESLIP','Ticket de de prêt','Ticket de prêt', '<h3><<branches.branchname>></h3>
55 Prêts à <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
56 (<<borrowers.cardnumber>>) <br />
57
58 <<today>><br />
59
60 <h4>Emprunts</h4>
61 <checkedout>
62 <p>
63 <<biblio.title>> <br />
64 Code à barres : <<items.barcode>><br />
65 Retour le : <<issues.date_due>><br />
66 </p>
67 </checkedout>
68
69 <h4>Retards</h4>
70 <overdue>
71 <p>
72 <<biblio.title>> <br />
73 Codes à barres : <<items.barcode>><br />
74 Retour le : <<issues.date_due>><br />
75 </p>
76 </overdue>
77
78 <hr>
79
80 <h4 style="text-align: center; font-style:italic;">Nouvelles</h4>
81 <news>
82 <div class="newsitem">
83 <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5>
84 <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.content>></p>
85 <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p>
86 <hr />
87 </div>
88 </news>', 1),
89 ('circulation','ISSUEQSLIP','Ticket rapide','Ticket rapide', '<h3><<branches.branchname>></h3>
90 Prêts à <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
91 (<<borrowers.cardnumber>>) <br />
92
93 <<today>><br />
94
95 <h4>Emprunts du jour</h4>
96 <checkedout>
97 <p>
98 <<biblio.title>> <br />
99 Code à barres : <<items.barcode>><br />
100 Retour le : <<issues.date_due>><br />
101 </p>
102 </checkedout>', 1),
103 ('circulation','HOLD_SLIP','Ticket de réservation','Ticket de réservation', '<h5>Date : <<today>></h5>
104
105 <h3> Transfert vers/Réservé à <<branches.branchname>></h3>
106
107 <h3><<borrowers.surname>>, <<borrowers.firstname>></h3>
108
109 <ul>
110     <li><<borrowers.cardnumber>></li>
111     <li><<borrowers.phone>></li>
112     <li> <<borrowers.address>><br />
113          <<borrowers.address2>><br />
114          <<borrowers.city >>  <<borrowers.zipcode>>
115     </li>
116     <li><<borrowers.email>></li>
117 </ul>
118 <br />
119 <h3>RESERVATIONS</h3>
120 <h4><<biblio.title>></h4>
121 <h5><<biblio.author>></h5>
122 <ul>
123    <li><<items.barcode>></li>
124    <li><<items.itemcallnumber>></li>
125    <li><<reserves.waitingdate>></li>
126 </ul>
127 <p>Notes :
128 <pre><<reserves.reservenotes>></pre>
129 </p>
130 ', 1),
131 ('circulation','TRANSFERSLIP','Ticket de transfer','Ticket de transfert', '<h5>Date : <<today>></h5>
132
133 <h3>Transfert à <<branches.branchname>></h3>
134
135 <h3>Titres</h3>
136 <h4><<biblio.title>></h4>
137 <h5><<biblio.author>></h5>
138 <ul>
139    <li><<items.barcode>></li>
140    <li><<items.itemcallnumber>></li>
141 </ul>', 1);
142
143 INSERT INTO `letter` (`module`,`code`,`branchcode`,`name`,`is_html`,`title`,`content`)
144 VALUES (
145 'members',  'OPAC_REG_VERIFY',  '',  'Vérification de l''email donné à l''auto-inscription OPAC',  '1',  'Vérification de votre compte',  'Bonjour,
146
147 Votre compte de bibliothèque a été créé. Veuillez valider votre adresse email et le processus d''inscription en cliquant sur ce lien:
148
149 <<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>
150
151 Si vous n''êtes pas à l''origine de cette inscription, vous pouvez ignorer ce message.'
152 );
153
154 INSERT INTO `letter` (module, code, name, title, content) VALUES ('circulation','RENEWAL','Renouvellements','Renouvellements','Les documents suivants ont été renouvelés\r\n----\r\n<<biblio.title>>\r\n----\r\nMerci, <<branches.branchname>>.');
155
156 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
157 VALUES ('members', 'SHARE_INVITE', '', 'Invitation for sharing a list', '0', 'Share list <<listname>>', 'Dear patron,
158
159 One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog.
160
161 To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar.
162
163 <<shareurl>>
164
165 In case you are not a patron in our library or do not want to accept this invitation, please ignore this mail. Note also that this invitation expires within two weeks.
166
167 Thank you.
168
169 Your library.'
170 );
171 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
172 VALUES ( 'members', 'SHARE_ACCEPT', '', 'Notification about an accepted share', '0', 'Share on list <<listname>> accepted', 'Dear patron,
173
174 We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog.
175
176 Thank you.
177
178 Your library.'
179 );
180
181 INSERT INTO letter(module, code, branchcode, name, title, content, message_transport_type)
182 VALUES ('acquisition', 'ACQ_NOTIF_ON_RECEIV', '', 'Notification on receiving', 'Order received', 'Dear <<borrowers.firstname>> <<borrowers.surname>>,\n\n The order <<aqorders.ordernumber>> (<<biblio.title>>) has been received.\n\nYour library.', 'email'),
183 ('members','MEMBERSHIP_EXPIRY','','Account expiration','Account expiration','Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,.\r\n\r\nYour library card will expire soon, on:\r\n\r\n<<borrowers.dateexpiry>>\r\n\r\nThank you,\r\n\r\nLibrarian\r\n\r\n<<branches.branchname>>','email');
184
185 INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type )
186 VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue:
187
188 <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>
189 ', 'print' );
190
191 INSERT INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type)
192 VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email'
193 );
194
195 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
196 ('circulation', 'AR_CANCELED', '', 'Article request - canceled', 0, 'Article request canceled', 'Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nYour request for an article from <<biblio.title>> (<<items.barcode>>) has been canceled for the following reason:\r\n\r\n<<article_requests.notes>>\r\n\r\nArticle requested:\r\nTitle: <<article_requests.title>>\r\nAuthor: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nIssue: <<article_requests.issue>>\r\nDate: <<article_requests.date>>\r\nPages: <<article_requests.pages>>\r\nChapters: <<article_requests.chapters>>\r\nNotes: <<article_requests.patron_notes>>\r\n\r\nYour library', 'email'),
197 ('circulation', 'AR_COMPLETED', '', 'Article request - completed', 0, 'Article request completed', 'Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nWe have completed your request for an article from <<biblio.title>> (<<items.barcode>>).\r\n\r\nArticle requested:\r\nTitle: <<article_requests.title>>\r\nAuthor: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nIssue: <<article_requests.issue>>\r\nDate: <<article_requests.date>>\r\nPages: <<article_requests.pages>>\r\nChapters: <<article_requests.chapters>>\r\nNotes: <<article_requests.patron_notes>>\r\n\r\nYou may pick your article up at <<branches.branchname>>.\r\n\r\nThank you!', 'email'),
198 ('circulation', 'AR_PENDING', '', 'Article request - pending', 0, 'Article request received', 'Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)\r\n\r\nWe have received your request for an article from <<biblio.title>> (<<items.barcode>>).\r\n\r\nArticle requested:\r\nTitle: <<article_requests.title>>\r\nAuthor: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nIssue: <<article_requests.issue>>\r\nDate: <<article_requests.date>>\r\nPages: <<article_requests.pages>>\r\nChapters: <<article_requests.chapters>>\r\nNotes: <<article_requests.patron_notes>>\r\n\r\n\r\nThank you!', 'email'),
199 ('circulation', 'AR_SLIP', '', 'Article request - print slip', 0, 'Article request', 'Article request:\r\n\r\n<<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nTitle: <<biblio.title>>\r\nBarcode: <<items.barcode>>\r\n\r\nArticle requested:\r\nTitle: <<article_requests.title>>\r\nAuthor: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nIssue: <<article_requests.issue>>\r\nDate: <<article_requests.date>>\r\nPages: <<article_requests.pages>>\r\nChapters: <<article_requests.chapters>>\r\nNotes: <<article_requests.patron_notes>>\r\n', 'print'),
200 ('circulation', 'AR_PROCESSING', '', 'Article request - processing', 0, 'Article request processing', 'Dear <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nWe are now processing your request for an article from <<biblio.title>> (<<items.barcode>>).\r\n\r\nArticle requested:\r\nTitle: <<article_requests.title>>\r\nAuthor: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nIssue: <<article_requests.issue>>\r\nDate: <<article_requests.date>>\r\nPages: <<article_requests.pages>>\r\nChapters: <<article_requests.chapters>>\r\nNotes: <<article_requests.patron_notes>>\r\n\r\nThank you!', 'email'),
201 ('circulation', 'CHECKOUT_NOTE', '', 'Checkout note on item set by patron', '0', 'Checkout note', '<<borrowers.firstname>> <<borrowers.surname>> has added a note to the item <<biblio.title>> - <<biblio.author>> (<<biblio.biblionumber>>).','email');
202
203 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
204 ('circulation', 'ACCOUNT_PAYMENT', '', 'Account payment', 0, 'Account payment', '[%- USE Price -%]\r\nA payment of [% credit.amount * -1 | $Price %] has been applied to your account.\r\n\r\nThis payment affected the following fees:\r\n[%- FOREACH o IN offsets %]\r\nDescription: [% o.debit.description %]\r\nAmount paid: [% o.amount * -1 | $Price %]\r\nAmount remaining: [% o.debit.amountoutstanding | $Price %]\r\n[% END %]', 'email', 'default'),
205 ('circulation', 'ACCOUNT_WRITEOFF', '', 'Account writeoff', 0, 'Account writeoff', '[%- USE Price -%]\r\nAn account writeoff of [% credit.amount * -1 | $Price %] has been applied to your account.\r\n\r\nThis writeoff affected the following fees:\r\n[%- FOREACH o IN offsets %]\r\nDescription: [% o.debit.description %]\r\nAmount paid: [% o.amount * -1 | $Price %]\r\nAmount remaining: [% o.debit.amountoutstanding | $Price %]\r\n[% END %]', 'email', 'default');
206
207 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
208 ('circulation', 'ACCOUNT_CREDIT', '', 'Account payment', 0, 'Account payment', '<table>
209 [% IF ( LibraryName ) %]
210  <tr>
211     <th colspan="4" class="centerednames">
212         <h3>[% LibraryName | html %]</h3>
213     </th>
214  </tr>
215 [% END %]
216  <tr>
217     <th colspan="4" class="centerednames">
218         <h2><u>Fee receipt</u></h2>
219     </th>
220  </tr>
221  <tr>
222     <th colspan="4" class="centerednames">
223         <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
224     </th>
225  </tr>
226  <tr>
227     <th colspan="4">
228         Received with thanks from  [% patron.firstname | html %] [% patron.surname | html %] <br />
229         Card number: [% patron.cardnumber | html %]<br />
230     </th>
231  </tr>
232   <tr>
233     <th>Date</th>
234     <th>Description of charges</th>
235     <th>Note</th>
236     <th>Amount</th>
237  </tr>
238
239   [% FOREACH account IN accounts %]
240     <tr class="highlight">
241       <td>[% account.date | $KohaDates %]</td>
242       <td>
243         [% PROCESS account_type_description account=account %]
244         [%- IF account.description %], [% account.description | html %][% END %]
245       </td>
246       <td>[% account.note | html %]</td>
247       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
248     </tr>
249
250   [% END %]
251 <tfoot>
252   <tr>
253     <td colspan="3">Total outstanding dues as on date: </td>
254     [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
255   </tr>
256 </tfoot>
257 </table>', 'print', 'default');
258
259 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
260 ('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '<table>
261   [% IF ( LibraryName ) %]
262     <tr>
263       <th colspan="5" class="centerednames">
264         <h3>[% LibraryName | html %]</h3>
265       </th>
266     </tr>
267   [% END %]
268
269   <tr>
270     <th colspan="5" class="centerednames">
271       <h2><u>INVOICE</u></h2>
272     </th>
273   </tr>
274   <tr>
275     <th colspan="5" class="centerednames">
276       <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
277     </th>
278   </tr>
279   <tr>
280     <th colspan="5" >
281       Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />
282       Card number: [% patron.cardnumber | html %]<br />
283     </th>
284   </tr>
285   <tr>
286     <th>Date</th>
287     <th>Description of charges</th>
288     <th>Note</th>
289     <th style="text-align:right;">Amount</th>
290     <th style="text-align:right;">Amount outstanding</th>
291   </tr>
292
293   [% FOREACH account IN accounts %]
294     <tr class="highlight">
295       <td>[% account.date | $KohaDates%]</td>
296       <td>
297         [% PROCESS account_type_description account=account %]
298         [%- IF account.description %], [% account.description | html %][% END %]
299       </td>
300       <td>[% account.note | html %]</td>
301       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
302       [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding | $Price %]</td>
303     </tr>
304   [% END %]
305
306   <tfoot>
307     <tr>
308       <td colspan="4">Total outstanding dues as on date: </td>
309       [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
310     </tr>
311   </tfoot>
312 </table>', 'print', 'default');
313
314 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
315 ('circulation', 'SR_SLIP', '', 'Stock rotation slip', 0, 'Stock rotation report', 'Stock rotation report for [% branch.name %]:\r\n\r\n[% IF branch.items.size %][% branch.items.size %] items to be processed for this branch.\r\n[% ELSE %]No items to be processed for this branch\r\n[% END %][% FOREACH item IN branch.items %][% IF item.reason != \'in-demand\' %]Title: [% item.title %]\r\nAuthor: [% item.author %]\r\nCallnumber: [% item.callnumber %]\r\nLocation: [% item.location %]\r\nBarcode: [% item.barcode %]\r\nOn loan?: [% item.onloan %]\r\nStatus: [% item.reason %]\r\nCurrent library: [% item.branch.branchname %] [% item.branch.branchcode %]\r\n\r\n[% END %][% END %]', 'email');
316 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
317 ('pos', 'RECEIPT', '', 'Point of sale receipt', 0, 'Receipt', '[% PROCESS "accounts.inc" %]
318 <table>
319 [% IF ( LibraryName ) %]
320  <tr>
321     <th colspan="2" class="centerednames">
322         <h3>[% LibraryName | html %]</h3>
323     </th>
324  </tr>
325 [% END %]
326  <tr>
327     <th colspan="2" class="centerednames">
328         <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>
329     </th>
330  </tr>
331 <tr>
332     <th colspan="2" class="centerednames">
333         <h3>[% payment.date | $KohaDates %]</h3>
334 </tr>
335 <tr>
336   <td>Transaction ID: </td>
337   <td>[% payment.accountlines_id %]</td>
338 </tr>
339 <tr>
340   <td>Operator ID: </td>
341   <td>[% payment.manager_id %]</td>
342 </tr>
343 <tr>
344   <td>Payment type: </td>
345   <td>[% payment.payment_type %]</td>
346 </tr>
347  <tr></tr>
348  <tr>
349     <th colspan="2" class="centerednames">
350         <h2><u>Fee receipt</u></h2>
351     </th>
352  </tr>
353  <tr></tr>
354  <tr>
355     <th>Description of charges</th>
356     <th>Amount</th>
357   </tr>
358
359   [% FOREACH offset IN offsets %]
360     <tr>
361         <td>[% PROCESS account_type_description account=offset.debit %]</td>
362         <td>[% offset.amount * -1 | $Price %]</td>
363     </tr>
364   [% END %]
365
366 <tfoot>
367   <tr class="highlight">
368     <td>Total: </td>
369     <td>[% payment.amount * -1| $Price %]</td>
370   </tr>
371   <tr>
372     <td>Tendered: </td>
373     <td>[% collected | $Price %]</td>
374   </tr>
375   <tr>
376     <td>Change: </td>
377     <td>[% change | $Price %]</td>
378     </tr>
379 </tfoot>
380 </table>', 'print', 'default');