Bug 16486: Display the timestamp when an accountline is updated
[srvgit] / installer / data / mysql / it-IT / necessari / notices.sql
1 INSERT INTO letter (module, code, name, title, content, message_transport_type)
2 VALUES ('circulation','ODUE','Avviso per i ritardi','Avviso per i ritardi','Salve <<borrowers.firstname>> <<borrowers.surname>>,\n\nSecondo le nostre registrazioni, hai dei prestiti in ritard.La biblioteca non dà multe per i ritardi, ma ti chiederemmo di restituirli o di rinnovarli il prima possibile presso la biblioteca:\n\n<<branches.branchname>>\n<<branches.branchaddress1>>\n<<branches.branchaddress2>> <<branches.branchaddress3>>\nTel:: <<branches.branchphone>>\nFax: <<branches.branchfax>>\nEmail: <<branches.branchemail>>\n\nSe ti sei registrato e hai una login con una password e quei prestiti sono rinnovabili, puoi provare a rinnovarli online. Se il prestito ha un ritardo superiore a 30 giorni, probabilmente non puoi rinnovarli.\n\nRisultano in ritardo:\n\n<item>"<<biblio.title>>" di <<biblio.author>>, <<items.itemcallnumber>>, codice a barre: <<items.barcode>> Multa: <<items.fine>></item>\n\nGrazie per l\'attenzione.\n\nLo staff della <<branches.branchname>> \n', 'email'),
3 ('claimacquisition','ACQCLAIM','Sollecito al fornitore','Sollecito al fornitore','Salve <<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 Questi ordini non ci sono giunti:\r\n\r\n<order>Ordernumber <<aqorders.ordernumber>> (<<aqorders.title>>) (<<aqorders.quantity>> ordinati) ($<<aqorders.listprice>> l\'uno).</order>', 'email'),
4 ('orderacquisition','ACQORDER','Ordine da ACQ','Ordine','<<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\nLe chiediamo di ordinare questi libri per la biblioteca:\r\n\r\n<order>Numero ordine <<aqorders.ordernumber>> (<<biblio.title>>) (quantità: <<aqorders.quantity>>) (<<aqorders.listprice>> EUR l\'uno).</order>\r\n\r\nGrazie,\n\n<<branches.branchname>>', 'email'),
5 ('serial','SERIAL_ALERT','New serial issue','New serial issue is now available','Caro <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nQuesta pubblicazione è ora disponibile:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)\r\n\r\nPassa a prenderla presso il banco distribuzione.', 'email'),
6 ('members','ACCTDETAILS','Messaggio per i nuovi utenti registrati','Messaggio per i nuovi utenti registrati.','Salve <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>.\r\n\r\nI dettagli del tuo nuovo account per la biblioteca sono:\r\n\r\nLogin:  <<borrowers.userid>>\r\nPassword: <<borrowers.password>>\r\n\r\nSe hai domande o problemi sul tuo account, contattaci a questo indirizzo e-mail: youremailadmin@library.it.\r\nGrazie di tutto\r\n\r\nLo staff della biblioteca\r\n', 'email'),
7 ('circulation','DUE','Avviso restituzione (copia singola)','Avviso restituzione (copia singola)','Salve <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nQuesto prestito è ora in ritardo:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
8 ('circulation','DUEDGST','Avviso restituzione (digest)','Avviso restituzione (digest)','Hai <<count>> prestiti da retituire', 'email'),
9 ('circulation','PREDUE','Preavviso scadenza prestito','Preavviso scadenza prestito','Salve <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nQuesti prestiti stanno per scadere:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
10 ('circulation','PREDUEDGST','Preavviso scadenza prestiti (digest)','Avviso copie in scadenza','Gentile <<borrowers.firstname>> <<borrowers.surname>>,
11 Il prestito dei seguenti volumi sta per scadere:
12
13 <<items.content>>
14
15 <<branches.branchname>>', 'email'),
16 ('circulation','RENEWAL','Rinnovi','Rinnovi','Per le seguenti copie sono stati rinnovati i prestiti:\r\n----\r\n<<
17 biblio.title>>\r\n----\r\nGrazie per aver visitaro <<branches.branchname>>.', 'email'),
18 ('reserves', 'HOLD', 'Prenotazione disponibile per il ritiro', 'Prenotazione disponibile per il ritiro a <<branches.branchname>>', 'Salve <<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nHai una prenotazione disponibile per il ritiro fino al <<reserves.waitingdate>>:\r\n\r\nTitolo: <<biblio.title>>\r\nAutore: <<biblio.author>>\r\nCopia n. : <<items.copynumber>>\r\nPresso: <<branches.branchname>>\r\n<<branches.branchaddress1>>\r\n<<branches.branchaddress2>>\r\n<<branches.branchaddress3>>\r\n<<branches.branchcity>> <<branches.branchzip>>', 'email'),
19 ('reserves', 'HOLD', 'Prenotazione disponibile per il ritiro (stampa)', 'Prenotazione disponibile per il ritiro (stampa)', '<<branches.branchname>>\r\n<<branches.branchaddress1>>\r\n<<branches.branchaddress2>>\r\n\r\n\r\nPrenotazione disponibile per il ritiro\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<<borrowers.firstname>> <<borrowers.surname>>\r\n<<borrowers.address>>\r\n<<borrowers.city>> <<borrowers.zipcode>>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<<borrowers.firstname>> <<borrowers.surname>> <<borrowers.cardnumber>>\r\n\r\nHai una prenotazione disponibile per il ritiro fino al <<reserves.waitingdate>>:\r\n\r\nTitolo: <<biblio.title>>\r\nAutore: <<biblio.author>>\r\nCopia n. : <<items.copynumber>>\r\n', 'print'),
20 ('circulation','CHECKIN','Restituzione (Digest)','Restituzione','Questi prestiti sono stati restituiti:\r\n----\r\n[% biblio.title %]\r\n----\r\nGrazie.', 'email'),
21 ('circulation','CHECKOUT','Prestiti','Prestiti','Ti sono stati dati in prestito:\r\n----\r\n[% biblio.title %]\r\n----\r\nGrazie da parte di [% branch.branchname %].', 'email'),
22 ('reserves', 'HOLDPLACED', 'Prenotazione di una copia', 'Prenotazione di una copia','Una prenotazione è stata fatta su una copia di : <<biblio.title>> (<<biblio.biblionumber>>) dall\'utente <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>).', 'email'),
23 ('reserves','HOLD_REMINDER','Waiting hold reminder','You have waiting holds.','Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nThe following holds are waiting at [% branch.branchname %]:\r\n\\r\n[% FOREACH hold IN holds %]\r\n    [% hold.biblio.title %] : waiting since [% hold.waitingdate | $KohaDates %]\r\n[% END %]','email'),
24 ('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'),
25 ('suggestions','ACCEPTED','Suggerimento d\'acquisto accettato', 'Suggerimento d\'acquisto accettato','Salve <<borrowers.firstname>> <<borrowers.surname>>,\n\nHai suggerito di acquistare <<suggestions.title>> di <<suggestions.author>>.\n\nLa biblioteca ha revisionato il suggerimento oggi. La copia verrà ordinato il più presto possibile. Riceverai un\'email quando l\'ordine sarà completato e una altra mail quanto arriverà in biblioteca.\n\nSe hai domande, scrivici pure all\' email <<branches.branchemail>>.\n\nGrazie di tutto,\n\n<<branches.branchname>>', 'email'),
26 ('suggestions','AVAILABLE','Suggerimento d\'acquisto disponibile', 'Suggerimento d\'acquisto disponibile','Salve <<borrowers.firstname>> <<borrowers.surname>>,\n\nHai suggerito di acquistare <<suggestions.title>> di <<suggestions.author>>.\n\nTi informiamo che la copia è arrivata in biblioteca.\n\nSe hai domande, scrivici pure all\' email <<branches.branchemail>>.\n\nGrazie di tutto,\n\n<<branches.branchname>>', 'email'),
27 ('suggestions','ORDERED','Suggerimento d\'acquisto ordinato', 'Suggerimento d\'acquisto ordinato','Salve <<borrowers.firstname>> <<borrowers.surname>>,\n\nHai suggerito di acquistare <<suggestions.title>> di <<suggestions.author>>.\n\nTi informiamo che l\'ordine è stata inviato al fornitore della biblioteca. Dovrebbe arrivare in poco tempo, poi verrà aggiunto alla collezione della biblioteca.\n\nRiceverai un\'altra email quando sarà disponibile.\n\nSe hai domande, scrivici pure all\' email <<branches.branchemail>>\n\nGrazie di tutto,\n\n<<branches.branchname>>', 'email'),
28 ('suggestions','REJECTED','Suggerimento d\'acquisto rifiutato', 'Suggerimento d\'acquisto rifiutato','Salve <<borrowers.firstname>> <<borrowers.surname>>,\n\nHai suggerito di acquistare <<suggestions.title>> di <<suggestions.author>>.\n\na biblioteca ha revisionato il suggerimento oggi e ha deciso di non seguire il suggerimento.\n\nLa motivazione è: <<suggestions.reason>>\n\nSe hai domande, scrivici pure all\' email <<branches.branchemail>>.\n\nGrazie di tuttp,\n\n<<branches.branchname>>', 'email'),
29 ('suggestions','TO_PROCESS','Notifica al proprietario del fondo', 'Un suggeerimento è pronto per essere lavorato','Caro bibliotecario <<borrowers.firstname>> <<borrowers.surname>>,\n\n c\'è un nuovo suggerimento pronto per essere lavorato: <<suggestions.title>> by <<suggestions.author>>.\n\n Grazie dell\'attenzione,\n\n<<branches.branchname>>', 'email'),
30 ('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'),
31 ('members', 'DISCHARGE', 'Liberatoria', 'Liberatoria per <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Liberatoria</h1>\r\n\r\nLa biblioteca  <<borrowers.branchcode>> certifica che il seguente utente :\r\n\r\n    <<borrowers.firstname>> <<borrowers.surname>>\r\n   Numero tessera : <<borrowers.cardnumber>>\r\n\r\nha restituito tutti i documenti ricevuti.', 'email'),
32 ('members', 'PROBLEM_REPORT','OPAC problem report','OPAC problem report','Username: <<problem_reports.username>>\n\nProblem page: <<problem_reports.problempage>>\n\nTitle: <<problem_reports.title>>\n\nMessage: <<problem_reports.content>>','email');
33
34 INSERT INTO `letter` (module, code, name, title, content, is_html, message_transport_type)
35 VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Suggestion pendin    g approval</h3>
36     <p><h4>Suggested by</h4>
37     <ul>
38     <li><<borrowers.firstname>> <<borrowers.surname>></li>
39     <li><<borrowers.cardnumber>></li>
40     <li><<borrowers.phone>></li>
41     <li><<borrowers.email>></li>
42     </ul>
43     </p>
44     <p><h4>Title suggested</h4>
45     <ul>
46     <li><b>Library:</b> <<branches.branchname>></li>
47     <li><b>Title:</b> <<suggestions.title>></li>
48     <li><b>Author:</b> <<suggestions.author>></li>
49     <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>
50     <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>
51     <li><b>Publisher:</b> <<suggestions.publishercode>></li>
52     <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>
53     <li><b>Publication place:</b> <<suggestions.place>></li>
54     <li><b>Quantity:</b> <<suggestions.quantity>></li>
55     <li><b>Item type:</b>  <<suggestions.itemtype>></li>
56     <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>
57     <li><b>Notes:</b> <<suggestions.note>></li>
58     </ul>
59     </p>',1, 'email'),
60     ('circulation','CHECKINSLIP','Checkin slip','Checkin slip',
61 "<h3>[% branch.branchname %]</h3>
62 Checked in items for [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />
63 ([% borrower.cardnumber %]) <br />
64
65 [% today | $KohaDates %]<br />
66
67 <h4>Checked in today</h4>
68 [% FOREACH checkin IN old_checkouts %]
69 [% SET item = checkin.item %]
70 <p>
71 [% item.biblio.title %] <br />
72 Barcode: [% item.barcode %] <br />
73 </p>
74 [% END %]", 1, 'print');
75
76 INSERT INTO letter (module, code, name, title, content, is_html)
77 VALUES ('circulation','ISSUESLIP','Ricevuta di prestito','Ricevuta di prestito', '<h3><<branches.branchname>></h3>
78 Prestito a <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
79 (<<borrowers.cardnumber>>) <br />
80
81 <<today>><br />
82
83 <h4>Prestito</h4>
84 <checkedout>
85 <p>
86 <<biblio.title>> <br />
87 Codice a barre: <<items.barcode>><br />
88 Data di scadenza: <<issues.date_due>><br />
89 </p>
90 </checkedout>
91
92 <h4>Ritardi</h4>
93 <overdue>
94 <p>
95 <<biblio.title>> <br />
96 Codice a barre: <<items.barcode>><br />
97 Data di scadenza: <<issues.date_due>><br />
98 </p>
99 </overdue>
100
101 <hr>
102
103 <h4 style="text-align: center; font-style:italic;">Novità</h4>
104 <news>
105 <div class="newsitem">
106 <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5>
107 <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.content>></p>
108 <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Inserite il <<opac_news.published_on>></p>
109 <hr />
110 </div>
111 </news>', 1),
112 ('circulation','ISSUEQSLIP','Ricevuta (sintetica)','Ricevuta (sintetica)', '<h3><<branches.branchname>></h3>
113 Prestato/i a <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
114 (<<borrowers.cardnumber>>) <br />
115
116 <<today>><br />
117
118 <h4>Prestati oggi</h4>
119 <checkedout>
120 <p>
121 <<biblio.title>> <br />
122 Codice a barre: <<items.barcode>><br />
123 Data di scadenza: <<issues.date_due>><br />
124 </p>
125 </checkedout>', 1),
126 ('circulation','HOLD_SLIP','Ricevuta (prenotazione)','Ricevuta (prenotazione)', '<h5>Data: <<today>></h5>
127
128 <h3> Trasferita a/Prenotata in <<branches.branchname>></h3>
129
130 <h3><<borrowers.surname>>, <<borrowers.firstname>></h3>
131
132 <ul>
133     <li><<borrowers.cardnumber>></li>
134     <li><<borrowers.phone>></li>
135     <li> <<borrowers.address>><br />
136          <<borrowers.address2>><br />
137          <<borrowers.city >>  <<borrowers.zipcode>>
138     </li>
139     <li><<borrowers.email>></li>
140 </ul>
141 <br />
142 <h3>Opere prenotate</h3>
143 <h4><<biblio.title>></h4>
144 <h5><<biblio.author>></h5>
145 <ul>
146    <li><<items.barcode>></li>
147    <li><<items.itemcallnumber>></li>
148    <li><<reserves.waitingdate>></li>
149 </ul>
150 <p>Note:
151 <pre><<reserves.reservenotes>></pre>
152 </p>
153 ', 1),
154 ('circulation','TRANSFERSLIP','Ricevuta (trasferimento)','Ricevuta (trasferimento)', '<h5>Data: <<today>></h5>
155
156 <h3>Transferita a<<branches.branchname>></h3>
157
158 <h3>Opera</h3>
159 <h4><<biblio.title>></h4>
160 <h5><<biblio.author>></h5>
161 <ul>
162    <li><<items.barcode>></li>
163    <li><<items.itemcallnumber>></li>
164 </ul>', 1);
165 INSERT INTO `letter` (`module`,`code`,`branchcode`,`name`,`is_html`,`title`,`content`)
166 VALUES (
167 'members',  'OPAC_REG_VERIFY',  '',  'Email di verifica dell\'autoregistrazione',  '1',  'Verifica la tua autoregistrazione',  'Ciao!
168
169 Sei stato registrato tra gli utenti della biblioteca. Per favore verifica il tuo email cliccando questo link per finire il processo.
170
171 <<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>
172
173 Se non hai fatto tu la richiesta, puoi ignorare questo messaggio. La richciesta scadrà in posco tempo.'
174 );
175
176 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
177 VALUES ('members', 'SHARE_INVITE', '', 'Invito per condividere una lista', '0', 'Condivisione lista <<listname>>', 'Salve,
178
179 Uno degli utenti della biblioteca, <<borrowers.firstname>> <<borrowers.surname>>, ti invita condividere una lista <<listname>> all\'interno dell\'Opac.
180
181 Per accedere a questa lista clicca sull\'URL che segue o copia-incolla l\'URL nel tuo browser.
182
183 <<shareurl>>
184
185 Nel caso tu non sia registrato nella biblioteca o non voglia accettare quest\'invito, allora ignora questa email. Nota anche che l\'invito scade in 2 settimane.
186
187 Grazie di tutto
188
189 Lo staff della biblioteca.'
190 );
191 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
192 VALUES ( 'members', 'SHARE_ACCEPT', '', 'Notifica di condivisione lista accetata', '0', 'Condivisione alla lista <<listname>> accettata', 'Salve,
193
194 Ti informiamo che l\'utente <<borrowers.firstname>> <<borrowers.surname>> ha accettato il tuo invito a condividere la tua lista <<listname>> .
195
196 Grazie di tutto
197
198 Lo staff della biblioteca.'
199 );
200
201 INSERT INTO letter(module, code, branchcode, name, title, content, message_transport_type)
202 VALUES ('acquisition', 'ACQ_NOTIF_ON_RECEIV', '', 'Notifica alla ricezione', 'Ordine ricevutod', 'Caro <<borrowers.firstname>> <<borrowers.surname>>,\n\n L\' ordine <<aqorders.ordernumber>> (<<biblio.title>>) è stato ricevuto.\n\nLa tua biblioteca.', 'email'),
203 ('members','MEMBERSHIP_EXPIRY','','Account in scadenza','La tessera sta per scadere','Caro <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>,.\r\n\r\nLa tessera della biblioteca scadrà tra poco, il: :\r\n\r\n<<borrowers.dateexpiry>>\r\n\r\nGrazie dell\' attenzione,\r\n\r\n<<branches.branchname>>','email');
204
205 INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type )
206 VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Ritardi (ricevuta)', '0', 'Ricevuta dei ritard', 'Le seguenti copie sono in ritardo:
207
208 <item>"<<biblio.title>>" di <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Multa: <<items.fine>></item>
209 ', 'print' );
210
211 INSERT INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type)
212 VALUES ('members','PASSWORD_RESET','','Nuova password',1,'Nuova password','<html>\r\n<p>Questa email ti è stata mandata come risposta allaa tua richiesta di recupero pssword per l\'utente <strong><<user>></strong>.\r\n</p>\r\n<p>\r\nPuoi ora creare una nuova password usando questo link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>Queso link rimarrà valido per 2 giorni dalla ricezione dell\' email, successivamente dovrai rifare la procedura se non cambi la tua password.</p>\r\n<p>Grazie.</p>\r\n</html>\r\n','email'
213 );
214
215 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
216 ('circulation', 'AR_CANCELED', '', 'Richiesta articolo - cancellato', 0, 'La richiesta di un articolo è stata cancellata', 'Salve <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nLa tua richiesta di un articolo da <<biblio.title>> (<<items.barcode>>) è stata cancellata per la seguente ragione:\r\n\r\n<<article_requests.notes>>\r\n\r\nL\'articolo richiesto:\r\nTitolo: <<article_requests.title>>\r\nAutore: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nFascicolo: <<article_requests.issue>>\r\nData: <<article_requests.date>>\r\nPagine: <<article_requests.pages>>\r\nChapitoli: <<article_requests.chapters>>\r\nNote: <<article_requests.patron_notes>>\r\n\r\nLa tua biblioteca', 'email'),
217 ('circulation', 'AR_COMPLETED', '', 'Richiesta articolo - arrivato', 0, 'L\'articolo richiesto è arrivato', 'Salve <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nAbbiamo completato la tua tichiesta di un articolo di <<biblio.title>> (<<items.barcode>>).\r\n\r\nL\'articolo richiesto:\r\nTitolo: <<article_requests.title>>\r\nAutore: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nFascicolo: <<article_requests.issue>>\r\nData: <<article_requests.date>>\r\nPagine: <<article_requests.pages>>\r\nChapitoli: <<article_requests.chapters>>\r\nNote: <<article_requests.patron_notes>>\r\n\r\nPuoi ritirare l\'articolo presso: <<branches.branchname>>.\r\n\r\nSalve!', 'email'),
218 ('circulation', 'AR_PENDING', '', 'Richiesta articolo - ricevuta', 0, 'Ricevuto la richiesta di un articolo', 'Salve <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>)\r\n\r\nAbbiamo ricevuto la tua richiesta di un articolo di <<biblio.title>> (<<items.barcode>>).\r\n\r\nL\'articolo richiesto:\r\nTitolo: <<article_requests.title>>\r\nAutore: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nFascicolo: <<article_requests.issue>>\r\nData: <<article_requests.date>>\r\nPagine: <<article_requests.pages>>\r\nChapitoli: <<article_requests.chapters>>\r\nNote: <<article_requests.patron_notes>>\r\n\r\nGrazie!', 'email'),
219 ('circulation', 'AR_SLIP', '', 'Richiesta articolo - ricevuta a stampa', 0, 'Richiesta articolo', 'Richiesta articolo\r\n\r\n<<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nTitolo: <<biblio.title>>\r\nBarcode: <<items.barcode>>\r\n\r\nArticolo rechiesto:\r\nTitle: <<article_requests.title>>\r\nAutore: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nFascicolo: <<article_requests.issue>>\r\nData: <<article_requests.date>>\r\nPagine: <<article_requests.pages>>\r\nChapitoli: <<article_requests.chapters>>\r\nNote: <<article_requests.patron_notes>>\r\n', 'print'),
220 ('circulation', 'AR_PROCESSING', '', 'Richiesta articolo - in lavorazione', 0, 'La richiesta di un articolo è in lavorazione', 'Salve <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>),\r\n\r\nStiamo ora lavorando la tua richiesta di un articolo da <<biblio.title>> (<<items.barcode>>).\r\n\r\nL\'articolo richiesto:\r\nTitolo: <<article_requests.title>>\r\nAutore: <<article_requests.author>>\r\nVolume: <<article_requests.volume>>\r\nFascicolo: <<article_requests.issue>>\r\nData: <<article_requests.date>>\r\nPagine: <<article_requests.pages>>\r\nChapitoli: <<article_requests.chapters>>\r\nNote: <<article_requests.patron_notes>>\r\n\r\nGrazie!', 'email'),
221 ('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');
222
223 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
224 ('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'),
225 ('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');
226
227 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
228 ('circulation', 'ACCOUNT_CREDIT', '', 'Confirmation de paiement', 0, 'Confirmation de paiement', '[% USE Price %]
229 [% PROCESS \"accounts.inc\" %]
230 <table>
231 [% IF ( LibraryName ) %]
232  <tr>
233     <th colspan=\"5\" class=\"centerednames\">
234         <h3>[% LibraryName | html %]</h3>
235     </th>
236  </tr>
237 [% END %]
238  <tr>
239     <th colspan=\"5\" class=\"centerednames\">
240         <h2><u>Fee receipt</u></h2>
241     </th>
242  </tr>
243  <tr>
244     <th colspan=\"5\" class=\"centerednames\">
245         <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2>
246     </th>
247  </tr>
248  <tr>
249     <th colspan=\"5\">
250         Received with thanks from  [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />
251         Card number: [% credit.patron.cardnumber | html %]<br />
252     </th>
253  </tr>
254   <tr>
255     <th>Created</th>
256     <th>Updated</th>
257     <th>Description of charges</th>
258     <th>Note</th>
259     <th>Amount</th>
260  </tr>
261
262  <tr class=\"highlight\">
263     <td>[% credit.date | $KohaDates %]</td>
264     <td>[% credit.timestamp | $KohaDates %]</td>
265     <td>
266       [% PROCESS account_type_description account=credit %]
267       [%- IF credit.description %], [% credit.description | html %][% END %]
268     </td>
269     <td>[% credit.note | html %]</td>
270     <td class=\"credit\">[% credit.amount | $Price %]</td>
271  </tr>
272
273 [% IF ( tendered ) %]
274   <tr>
275     <td colspan=\"3\">Amount tendered: </td>
276     <td>[% tendered | $Price %]</td>
277   </tr>
278   <tr>
279     <td colspan=\"3\">Change given: </td>
280     <td>[% change | $Price %]</td>
281   </tr>
282 [% END %]
283
284 <tfoot>
285   <tr>
286     <td colspan=\"4\">Total outstanding dues as on date: </td>
287     [% IF ( credit.patron.account.balance >= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% credit.patron.account.balance | $Price %]</td>
288   </tr>
289 </tfoot>
290 </table>', 'print', 'default');
291
292 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
293 ('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '[% USE Price %]
294 [% PROCESS \"accounts.inc\" %]
295 <table>
296   [% IF ( LibraryName ) %]
297     <tr>
298       <th colspan=\"6\" class=\"centerednames\">
299         <h3>[% LibraryName | html %]</h3>
300       </th>
301     </tr>
302   [% END %]
303
304   <tr>
305     <th colspan=\"6\" class=\"centerednames\">
306       <h2><u>INVOICE</u></h2>
307     </th>
308   </tr>
309   <tr>
310     <th colspan=\"6\" class=\"centerednames\">
311       <h2>[% Branches.GetName( debit.patron.branchcode ) | html %]</h2>
312     </th>
313   </tr>
314   <tr>
315     <th colspan=\"6\" >
316       Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />
317       Card number: [% debit.patron.cardnumber | html %]<br />
318     </th>
319   </tr>
320   <tr>
321     <th>Created</th>
322     <th>Updated</th>
323     <th>Description of charges</th>
324     <th>Note</th>
325     <th style=\"text-align:right;\">Amount</th>
326     <th style=\"text-align:right;\">Amount outstanding</th>
327   </tr>
328
329   <tr class=\"highlight\">
330     <td>[% debit.date | $KohaDates%]</td>
331     <td>[% debit.timestamp | $KohaDates with_hours = 1 %]</td>
332     <td>
333       [% PROCESS account_type_description account=debit %]
334       [%- IF debit.description %], [% debit.description | html %][% END %]
335     </td>
336     <td>[% debit.note | html %]</td>
337     <td class=\"debit\">[% debit.amount | $Price %]</td>
338     <td class=\"debit\">[% debit.amountoutstanding | $Price %]</td>
339   </tr>
340
341   <tfoot>
342     <tr>
343       <td colspan=\"5\">Total outstanding dues as on date: </td>
344       [% IF ( debit.patron.account.balance <= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% debit.patron.account.balance | $Price %]</td>
345     </tr>
346   </tfoot>
347 </table>', 'print', 'default');
348
349 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
350 ('circulation', 'SR_SLIP', '', 'Stock Rotation Slip', 0, 'Stockrotation Report', 'Stockrotation 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');
351
352 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
353 ('pos', 'RECEIPT', '', 'Point of sale receipt', 0, 'Receipt', '[% PROCESS "accounts.inc" %]
354 <table>
355 [% IF ( LibraryName ) %]
356  <tr>
357     <th colspan="2" class="centerednames">
358         <h3>[% LibraryName | html %]</h3>
359     </th>
360  </tr>
361 [% END %]
362  <tr>
363     <th colspan="2" class="centerednames">
364         <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>
365     </th>
366  </tr>
367 <tr>
368     <th colspan="2" class="centerednames">
369         <h3>[% payment.date | $KohaDates %]</h3>
370 </tr>
371 <tr>
372   <td>Transaction ID: </td>
373   <td>[% payment.accountlines_id %]</td>
374 </tr>
375 <tr>
376   <td>Operator ID: </td>
377   <td>[% payment.manager_id %]</td>
378 </tr>
379 <tr>
380   <td>Payment type: </td>
381   <td>[% payment.payment_type %]</td>
382 </tr>
383  <tr></tr>
384  <tr>
385     <th colspan="2" class="centerednames">
386         <h2><u>Fee receipt</u></h2>
387     </th>
388  </tr>
389  <tr></tr>
390  <tr>
391     <th>Description of charges</th>
392     <th>Amount</th>
393   </tr>
394
395   [% FOREACH offset IN offsets %]
396     <tr>
397         <td>[% PROCESS account_type_description account=offset.debit %]</td>
398         <td>[% offset.amount * -1 | $Price %]</td>
399     </tr>
400   [% END %]
401
402 <tfoot>
403   <tr class="highlight">
404     <td>Total: </td>
405     <td>[% payment.amount * -1| $Price %]</td>
406   </tr>
407   <tr>
408     <td>Tendered: </td>
409     <td>[% collected | $Price %]</td>
410   </tr>
411   <tr>
412     <td>Change: </td>
413     <td>[% change | $Price %]</td>
414     </tr>
415 </tfoot>
416 </table>', 'print', 'default');
417
418 INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'Notification of automatic renewal', 'Automatic renewal notice',
419 "Dear [% borrower.firstname %] [% borrower.surname %],
420 [% IF checkout.auto_renew_error %]
421 The following item, [% biblio.title %], has not been renewed because:
422 [% IF checkout.auto_renew_error == 'too_many' %]
423 You have reached the maximum number of checkouts possible.
424 [% ELSIF checkout.auto_renew_error == 'on_reserve' %]
425 This item is on hold for another patron.
426 [% ELSIF checkout.auto_renew_error == 'restriction' %]
427 You are currently restricted.
428 [% ELSIF checkout.auto_renew_error == 'overdue' %]
429 You have overdue items.
430 [% ELSIF checkout.auto_renew_error == 'auto_too_late' %]
431 It\'s too late to renew this item.
432 [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]
433 Your total unpaid fines are too high.
434 [% ELSIF checkout.auto_renew_error == 'too_unseen' %]
435 This item must be renewed at the library.
436 [% END %]
437 [% ELSE %]
438 The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]
439 [% END %]", 'email');
440
441 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_PICKUP_READY', '', 'ILL request ready for pickup', 0, "Interlibrary loan request ready for pickup", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nis ready for pick up from [% branch.branchname %].\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'email', 'default');
442 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UNAVAIL', '', 'ILL request unavailable', 0, "Interlibrary loan request unavailable", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nis unfortunately unavailable.\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'email', 'default');
443 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_CANCEL', '', 'ILL request cancelled', 0, "Interlibrary loan request cancelled", "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:\n\n[% ill_full_metadata %]", 'email', 'default');
444 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_MODIFIED', '', 'ILL request modified', 0, "Interlibrary loan request modified", "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:\n\n[% ill_full_metadata %]", 'email', 'default');
445 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_PARTNER_REQ', '', 'ILL request to partners', 0, "Interlibrary loan request to partners", "Dear Sir/Madam,\n\nWe would like to request an interlibrary loan for a title matching the following description:\n\n[% ill_full_metadata %]\n\nPlease let us know if you are able to supply this to us.\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'email', 'default');
446 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_PICKUP_READY', '', 'ILL request ready for pickup', 0, "Interlibrary loan request ready for pickup", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for:\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nis ready for pick up from [% branch.branchname %].\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'sms', 'default');
447 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UNAVAIL', '', 'ILL request unavailable', 0, "Interlibrary loan request unavailable", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nis unfortunately unavailable.\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'sms', 'default');
448 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_CANCEL', '', 'ILL request cancelled', 0, "Interlibrary loan request cancelled", "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has requested cancellation of this ILL request:\n\n[% ill_full_metadata %]", 'sms', 'default');
449 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_MODIFIED', '', 'ILL request modified', 0, "Interlibrary loan request modified", "The patron for interlibrary loans request [% illrequest.illrequest_id %], with the following details, has modified this ILL request:\n\n[% ill_full_metadata %]", 'sms', 'default');
450 INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_PARTNER_REQ', '', 'ILL request to partners', 0, "Interlibrary loan request to partners", "Dear Sir/Madam,\n\nWe would like to request an interlibrary loan for a title matching the following description:\n\n[% ill_full_metadata %]\n\nPlease let us know if you are able to supply this to us.\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'sms', 'default');
451
452 INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS_DGST', 'Notification on auto renewals', 'Auto renewals (Digest)',
453 "Dear [% borrower.firstname %] [% borrower.surname %],
454 [% IF error %]
455     There were [% error %] items that were not renewed.
456 [% END %]
457 [% IF success %]
458     There were [% success %] items that were renewed.
459 [% END %]
460 [% FOREACH checkout IN checkouts %]
461     [% checkout.item.biblio.title %] : [% checkout.item.barcode %]
462     [% IF !checkout.auto_renew_error %]
463         was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]
464     [% ELSIF checkout.auto_renew_error == 'too_many' %]
465         You have reached the maximum number of checkouts possible.
466     [% ELSIF checkout.auto_renew_error == 'on_reserve' %]
467         This item is on hold for another patron.
468     [% ELSIF checkout.auto_renew_error == 'restriction' %]
469         You are currently restricted.
470     [% ELSIF checkout.auto_renew_error == 'overdue' %]
471         You have overdue items.
472     [% ELSIF checkout.auto_renew_error == 'auto_too_late' %]
473         It's too late to renew this item.
474     [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]
475         Your total unpaid fines are too high.
476     [% ELSIF checkout.auto_renew_error == 'too_unseen' %]
477         This item must be renewed at the library.
478     [% END %]
479 [% END %]
480 ", 'email');