b9cfaea3a6897fc247da35e23286209096000357
[koha.git] / installer / data / mysql / nb-NO / 1-Obligatorisk / sample_notices.sql
1 --
2 -- Default classification sources and filing rules
3 -- for Koha.
4 --
5 -- Copyright (C) 2011 Magnus Enger Libriotech
6 --
7 -- This file is part of Koha.
8 --
9 -- Koha is free software; you can redistribute it and/or modify it under the
10 -- terms of the GNU General Public License as published by the Free Software
11 -- Foundation; either version 2 of the License, or (at your option) any later
12 -- version.
13 --
14 -- Koha is distributed in the hope that it will be useful, but WITHOUT ANY
15 -- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 -- A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
17 --
18 -- You should have received a copy of the GNU General Public License along
19 -- with Koha; if not, write to the Free Software Foundation, Inc.,
20 -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22
23 INSERT INTO letter (module, code, name, title, content, message_transport_type)
24 VALUES ('circulation','ODUE','Purring','Purring på dokument','<<borrowers.firstname>> <<borrowers.surname>>,\n\nDu har lån som skulle vært levert. Biblioteket krever ikke inn gebyrer, men vennligst lever eller forny lånet/lånene ved biblioteket.\n\n<<branches.branchname>>\n<<branches.branchaddress1>>\n<<branches.branchaddress2>> <<branches.branchaddress3>>\nTelefon: <<branches.branchphone>>\nFax: <<branches.branchfax>>\nE-post: <<branches.branchemail>>\n\nDersom du har et passord og lånet/lånene kan fornyes kan du gjøre dette på nettet. Dersom du overskrider lånetiden med mer enn 30 dager vil lånekortet bli sperret.\n\nFølgende lån har gått over tiden:\n\n<item>"<<biblio.title>>" av <<biblio.author>>, <<items.itemcallnumber>>, Strekkode: <<items.barcode>> Gebyr: <<items.fine>></item>\n\nPå forhånd takk.\n\n<<branches.branchname>>\n', 'email'),
25 ('claimacquisition','ACQCLAIM','Periodikapurring','Eksemplar ikke mottatt','<<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>Bestillingsnummer <<aqorders.ordernumber>> (<<aqorders.title>>) (<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> each) har ikke blitt mottatt.</order>', 'email'),
26 ('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'),
27 ('serial','SERIAL_ALERT','Sirkulasjon','Et dokument er nå tilgjengelig','<<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nDette dokumentet er tilgjengelig:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)\r\n\r\nVennligst kom og hent det når det passer.', 'email'),
28 ('members','ACCTDETAILS','Mal for kontodetaljer - STANDARD','Dine nye kontodetaljer i Koha.','Hei <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>.\r\n\r\nDine nye detaljer er:\r\n\r\nBruker:  <<borrowers.userid>>\r\nPassord: <<borrowers.password>>\r\n\r\nDersom det oppstår problemer, vennligst kontakt biblioteket.\r\n\r\nVennlig hilsen,\r\nBiblioteket\r\nkohaadmin@yoursite.org', 'email'),
29 ('circulation','DUE','Innleveringspåminnelse','Innleveringspåminnelse','<<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nDette dokumentet må nå leveres:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
30 ('circulation','DUEDGST','Innleveringspåminnelse (sammendrag)','Innleveringspåminnelse','Du har <<count>> dokumenter som skulle vært levert.', 'email'),
31 ('circulation','PREDUE','Forhåndspåminnelse','Forhåndspåminnelse','<<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nDette dokumentet må snart leveres:\r\n\r\n<<biblio.title>>, <<biblio.author>> (<<items.barcode>>)', 'email'),
32 ('circulation','PREDUEDGST','Forhåndspåminnelse (sammendrag)','Forhåndspåminnelse','Du har lånt <<count>> dokumenter som snart må leveres.', 'email'),
33 ('circulation','RENEWAL','Fornying','Fornyinger','Følgende lån har blitt fornyet:\r\n----\r\n<<biblio.title>>\r\n----\r\n', 'email'),
34 ('reserves', 'HOLD', 'Hentemelding', 'Hentemelding fra <<branches.branchname>>', '<<borrowers.firstname>> <<borrowers.surname>>,\r\n\r\nEt reservert dokument er klart til henting fra <<reserves.waitingdate>>:\r\n\r\nTittel: <<biblio.title>>\r\nForfatter: <<biblio.author>>\r\nEksemplar: <<items.copynumber>>\r\nHentested: <<branches.branchname>>\r\n<<branches.branchaddress1>>\r\n<<branches.branchaddress2>>\r\n<<branches.branchaddress3>>\r\n<<branches.branchcity>> <<branches.branchzip>>', 'email'),
35 ('reserves', 'HOLD', 'Hentemelding', 'Hentemelding', '<<branches.branchname>>\r\n<<branches.branchaddress1>>\r\n<<branches.branchaddress2>>\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>>\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\nDu har et reservert dokument som kan hentes fra  <<reserves.waitingdate>>:\r\n\r\nTittel: <<biblio.title>>\r\nForfatter: <<biblio.author>>\r\nEksemplar: <<items.copynumber>>\r\n', 'print'),
36 ('circulation','CHECKIN','Innlevering','Melding om innlevering','Følgende dokument har blitt innlevert:\r\n----\r\n[% biblio.title %]\r\n----\r\nVennlig hilsen\r\nBiblioteket', 'email'),
37 ('circulation','CHECKOUT','Utlån','Melding om utlån','Følgende dokument har blitt lånt ut:\r\n----\r\n[% biblio.title %]\r\n----\r\nVennlig hilsen\r\nBiblioteket', 'email'),
38 ('reserves', 'HOLDPLACED', 'Melding om reservasjon', 'Melding om reservasjon','Følgende dokument har blitt reservert : <<biblio.title>> (<<biblio.biblionumber>>) av <<borrowers.firstname>> <<borrowers.surname>> (<<borrowers.cardnumber>>).', 'email'),
39 ('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'),
40 ('suggestions','ACCEPTED','Forslag godtatt', 'Innkjøpsforslag godtatt','<<borrowers.firstname>> <<borrowers.surname>>,\n\nDu har foreslått at biblioteket kjøper inn <<suggestions.title>> av <<suggestions.author>>.\n\nBiblioteket har vurdert forslaget i dag. Dokumentet vil bli bestilt så fort det lar seg gjøre. Du vil få en ny melding når bestillingen er gjort, og når dokumentet ankommer biblioteket.\n\nEr det noe du lurer på, vennligst kontakt oss på <<branches.branchemail>>.\n\nVennlig hilsen,\n\n<<branches.branchname>>', 'email'),
41 ('suggestions','AVAILABLE','Foreslått dokument tilgjengelig', 'Foreslått dokument tilgjengelig','<<borrowers.firstname>> <<borrowers.surname>>,\n\nDu har foreslått at biblioteket kjøper inn <<suggestions.title>> av <<suggestions.author>>.\n\nVi har gleden av å informere deg om at dokumentet nå er innlemmet i samlingen.\n\nEr det noe du lurer på, vennligst kontakt oss på <<branches.branchemail>>.\n\nVennlig hilsen,\n\n<<branches.branchname>>', 'email'),
42 ('suggestions','ORDERED','Innkjøpsforslag i bestilling', 'Innkjøpsforslag i bestilling','Dear <<borrowers.firstname>> <<borrowers.surname>>,\n\nDu har foreslått at biblioteket kjøper inn <<suggestions.title>> av <<suggestions.author>>.\n\nVi har gleden av å informere deg om at dokumentet du foreslo nå er i bestilling.\n\nDu vil få en ny melding når dokumentet er tilgjengelig.\n\nEr det noe du lurer på, vennligst kontakt oss på <<branches.branchemail>>.\n\nVennlig hilsen,\n\n<<branches.branchname>>', 'email'),
43 ('suggestions','REJECTED','Innkjøpsforslag avslått', 'Innkjøpsforslag avslått','<<borrowers.firstname>> <<borrowers.surname>>,\n\nDu har foreslått at biblioteket kjøper inn <<suggestions.title>> av <<suggestions.author>>.\n\nBiblioteket har vurdert innkjøpsforslaget ditt i dag, og bestemt seg for å ikke ta det til følge.\n\nBegrunnelse: <<suggestions.reason>>\n\nEr det noe du lurer på, vennligst kontakt oss på <<branches.branchemail>>.\n\nVennlig hilsen,\n\n<<branches.branchname>>', 'email'),
44 ('suggestions','TO_PROCESS','Notify fund owner', 'A suggestion is ready to be processed','Dear <<borrowers.firstname>> <<borrowers.surname>>,\n\nA new suggestion is ready to be processed: <<suggestions.title>> by <<suggestions.author>>.\n\nThank you,\n\n<<branches.branchname>>', 'email'),
45 ('members', 'DISCHARGE', 'Discharge', 'Discharge for <<borrowers.firstname>> <<borrowers.surname>>', '<h1>Discharge</h1>\r\n\r\nThe library <<borrowers.branchcode>> certifies that the following borrower :\r\n\r\n    <<borrowers.firstname>> <<borrowers.surname>>\r\n   Cardnumber : <<borrowers.cardnumber>>\r\n\r\nreturned all his documents.', 'email');
46
47 INSERT INTO `letter` (module, code, name, title, content, is_html, message_transport_type)
48 VALUES ('suggestions','NEW_SUGGESTION','New suggestion','New suggestion','<h3>Suggestion pendin    g approval</h3>
49     <p><h4>Suggested by</h4>
50     <ul>
51     <li><<borrowers.firstname>> <<borrowers.surname>></li>
52     <li><<borrowers.cardnumber>></li>
53     <li><<borrowers.phone>></li>
54     <li><<borrowers.email>></li>
55     </ul>
56     </p>
57     <p><h4>Title suggested</h4>
58     <ul>
59     <li><b>Library:</b> <<branches.branchname>></li>
60     <li><b>Title:</b> <<suggestions.title>></li>
61     <li><b>Author:</b> <<suggestions.author>></li>
62     <li><b>Copyright date:</b> <<suggestions.copyrightdate>></li>
63     <li><b>Standard number (ISBN, ISSN or other):</b> <<suggestions.isbn>></li>
64     <li><b>Publisher:</b> <<suggestions.publishercode>></li>
65     <li><b>Collection title:</b> <<suggestions.collectiontitle>></li>
66     <li><b>Publication place:</b> <<suggestions.place>></li>
67     <li><b>Quantity:</b> <<suggestions.quantity>></li>
68     <li><b>Item type:</b>  <<suggestions.itemtype>></li>
69     <li><b>Reason for suggestion:</b> <<suggestions.patronreason>></li>
70     <li><b>Notes:</b> <<suggestions.note>></li>
71     </ul>
72     </p>',1, 'email');
73 INSERT INTO `letter` (module, code, name, title, content, is_html)
74 VALUES ('circulation','ISSUESLIP','Utlån','Utlån', '<h3><<branches.branchname>></h3>
75 Utlånt til <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
76 (<<borrowers.cardnumber>>) <br />
77
78 <<today>><br />
79
80 <h4>Utlånt</h4>
81 <checkedout>
82 <p>
83 <<biblio.title>> <br />
84 Strekkode: <<items.barcode>><br />
85 Innleveringsfrist: <<issues.date_due>><br />
86 </p>
87 </checkedout>
88
89 <h4>Forfalte lån</h4>
90 <overdue>
91 <p>
92 <<biblio.title>> <br />
93 Strekkode: <<items.barcode>><br />
94 Innleveringsfrist: <<issues.date_due>><br />
95 </p>
96 </overdue>
97
98 <hr>
99
100 <h4 style="text-align: center; font-style:italic;">Nyheter</h4>
101 <news>
102 <div class="newsitem">
103 <h5 style="margin-bottom: 1px; margin-top: 1px"><b><<opac_news.title>></b></h5>
104 <p style="margin-bottom: 1px; margin-top: 1px"><<opac_news.content>></p>
105 <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Publisert <<opac_news.timestamp>></p>
106 <hr />
107 </div>
108 </news>', 1),
109 ('circulation','ISSUEQSLIP','Utlån (enkel)','Utlån (enkel)', '<h3><<branches.branchname>></h3>
110 Utlånt til <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
111 (<<borrowers.cardnumber>>) <br />
112
113 <<today>><br />
114
115 <h4>Utlånt i dag</h4>
116 <checkedout>
117 <p>
118 <<biblio.title>> <br />
119 Strekkode: <<items.barcode>><br />
120 Innleveringsfrist: <<issues.date_due>><br />
121 </p>
122 </checkedout>', 1),
123 ('circulation','HOLD_SLIP','Reservasjon','Reservasjon', '<h5>Dato: <<today>></h5>
124
125 <h3> Overfør til/Reservasjon hos <<branches.branchname>></h3>
126
127 <h3><<borrowers.surname>>, <<borrowers.firstname>></h3>
128
129 <ul>
130     <li><<borrowers.cardnumber>></li>
131     <li><<borrowers.phone>></li>
132     <li> <<borrowers.address>><br />
133          <<borrowers.address2>><br />
134          <<borrowers.city >>  <<borrowers.zipcode>>
135     </li>
136     <li><<borrowers.email>></li>
137 </ul>
138 <br />
139 <h3>RESERVERT</h3>
140 <h4><<biblio.title>></h4>
141 <h5><<biblio.author>></h5>
142 <ul>
143    <li><<items.barcode>></li>
144    <li><<items.itemcallnumber>></li>
145    <li><<reserves.waitingdate>></li>
146 </ul>
147 <p>Kommentarer:
148 <pre><<reserves.reservenotes>></pre>
149 </p>
150 ', 1),
151 ('circulation','TRANSFERSLIP','Overføringslapp','Overføringslapp', '<h5>Dato: <<today>></h5>
152
153 <h3>Overføres til <<branches.branchname>></h3>
154
155 <h3>EKSEMPLAR</h3>
156 <h4><<biblio.title>></h4>
157 <h5><<biblio.author>></h5>
158 <ul>
159    <li><<items.barcode>></li>
160    <li><<items.itemcallnumber>></li>
161 </ul>', 1);
162
163 INSERT INTO `letter` (`module`,`code`,`branchcode`,`name`,`is_html`,`title`,`content`)
164 VALUES (
165 'members',  'OPAC_REG_VERIFY',  '',  'Verifikasjon av egenregistrering i publikumskatalogen',  '1',  'Verifiser registreringen din',  'Hei!
166
167 D har blitt registrert som bruker av biblioteket. Verifiser epostadressen din ved å klikke på lenka nedenfor:
168
169 <<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower_modifications.verification_token>>
170
171 Dersom du ikke har bedt om å bli registret som bruker av biblioteket kan du se bort fra denne engangsmeldingen. Forespørselen vil snart gå ut på dato.'
172 );
173
174 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
175 VALUES ('members', 'SHARE_INVITE', '', 'Invitation for sharing a list', '0', 'Share list <<listname>>', 'Dear patron,
176
177 One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share a list <<listname>> in our library catalog.
178
179 To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar.
180
181 <<shareurl>>
182
183 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.
184
185 Thank you.
186
187 Your library.'
188 );
189 INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
190 VALUES ( 'members', 'SHARE_ACCEPT', '', 'Notification about an accepted share', '0', 'Share on list <<listname>> accepted', 'Dear patron,
191
192 We want to inform you that <<borrowers.firstname>> <<borrowers.surname>> accepted your invitation to share your list <<listname>> in our library catalog.
193
194 Thank you.
195
196 Your library.'
197 );
198
199 INSERT INTO letter(module, code, branchcode, name, title, content, message_transport_type)
200 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'),
201 ('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');
202
203 INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type )
204 VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue:
205
206 <item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>
207 ', 'print' );
208
209 INSERT INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type)
210 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'
211 );
212
213 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
214 ('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'),
215 ('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'),
216 ('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'),
217 ('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'),
218 ('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'),
219 ('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');
220
221 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
222 ('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'),
223 ('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');
224
225 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
226 ('circulation', 'ACCOUNT_CREDIT', '', 'Account payment', 0, 'Account payment', '<table>
227 [% IF ( LibraryName ) %]
228  <tr>
229     <th colspan="4" class="centerednames">
230         <h3>[% LibraryName | html %]</h3>
231     </th>
232  </tr>
233 [% END %]
234  <tr>
235     <th colspan="4" class="centerednames">
236         <h2><u>Fee receipt</u></h2>
237     </th>
238  </tr>
239  <tr>
240     <th colspan="4" class="centerednames">
241         <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
242     </th>
243  </tr>
244  <tr>
245     <th colspan="4">
246         Received with thanks from  [% patron.firstname | html %] [% patron.surname | html %] <br />
247         Card number: [% patron.cardnumber | html %]<br />
248     </th>
249  </tr>
250   <tr>
251     <th>Date</th>
252     <th>Description of charges</th>
253     <th>Note</th>
254     <th>Amount</th>
255  </tr>
256
257   [% FOREACH account IN accounts %]
258     <tr class="highlight">
259       <td>[% account.date | $KohaDates %]</td>
260       <td>
261         [% PROCESS account_type_description account=account %]
262         [%- IF account.description %], [% account.description | html %][% END %]
263       </td>
264       <td>[% account.note | html %]</td>
265       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
266     </tr>
267
268   [% END %]
269 <tfoot>
270   <tr>
271     <td colspan="3">Total outstanding dues as on date: </td>
272     [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
273   </tr>
274 </tfoot>
275 </table>', 'print', 'default');
276
277 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
278 ('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '<table>
279   [% IF ( LibraryName ) %]
280     <tr>
281       <th colspan="5" class="centerednames">
282         <h3>[% LibraryName | html %]</h3>
283       </th>
284     </tr>
285   [% END %]
286
287   <tr>
288     <th colspan="5" class="centerednames">
289       <h2><u>INVOICE</u></h2>
290     </th>
291   </tr>
292   <tr>
293     <th colspan="5" class="centerednames">
294       <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
295     </th>
296   </tr>
297   <tr>
298     <th colspan="5" >
299       Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />
300       Card number: [% patron.cardnumber | html %]<br />
301     </th>
302   </tr>
303   <tr>
304     <th>Date</th>
305     <th>Description of charges</th>
306     <th>Note</th>
307     <th style="text-align:right;">Amount</th>
308     <th style="text-align:right;">Amount outstanding</th>
309   </tr>
310
311   [% FOREACH account IN accounts %]
312     <tr class="highlight">
313       <td>[% account.date | $KohaDates%]</td>
314       <td>
315         [% PROCESS account_type_description account=account %]
316         [%- IF account.description %], [% account.description | html %][% END %]
317       </td>
318       <td>[% account.note | html %]</td>
319       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
320       [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding | $Price %]</td>
321     </tr>
322   [% END %]
323
324   <tfoot>
325     <tr>
326       <td colspan="4">Total outstanding dues as on date: </td>
327       [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
328     </tr>
329   </tfoot>
330 </table>', 'print', 'default');
331
332 INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES
333 ('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');
334 INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES
335 ('pos', 'RECEIPT', '', 'Point of sale receipt', 0, 'Receipt', '[% PROCESS "accounts.inc" %]
336 <table>
337 [% IF ( LibraryName ) %]
338  <tr>
339     <th colspan="2" class="centerednames">
340         <h3>[% LibraryName | html %]</h3>
341     </th>
342  </tr>
343 [% END %]
344  <tr>
345     <th colspan="2" class="centerednames">
346         <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>
347     </th>
348  </tr>
349 <tr>
350     <th colspan="2" class="centerednames">
351         <h3>[% payment.date | $KohaDates %]</h3>
352 </tr>
353 <tr>
354   <td>Transaction ID: </td>
355   <td>[% payment.accountlines_id %]</td>
356 </tr>
357 <tr>
358   <td>Operator ID: </td>
359   <td>[% payment.manager_id %]</td>
360 </tr>
361 <tr>
362   <td>Payment type: </td>
363   <td>[% payment.payment_type %]</td>
364 </tr>
365  <tr></tr>
366  <tr>
367     <th colspan="2" class="centerednames">
368         <h2><u>Fee receipt</u></h2>
369     </th>
370  </tr>
371  <tr></tr>
372  <tr>
373     <th>Description of charges</th>
374     <th>Amount</th>
375   </tr>
376
377   [% FOREACH offset IN offsets %]
378     <tr>
379         <td>[% PROCESS account_type_description account=offset.debit %]</td>
380         <td>[% offset.amount * -1 | $Price %]</td>
381     </tr>
382   [% END %]
383
384 <tfoot>
385   <tr class="highlight">
386     <td>Total: </td>
387     <td>[% payment.amount * -1| $Price %]</td>
388   </tr>
389   <tr>
390     <td>Tendered: </td>
391     <td>[% collected | $Price %]</td>
392   </tr>
393   <tr>
394     <td>Change: </td>
395     <td>[% change | $Price %]</td>
396     </tr>
397 </tfoot>
398 </table>', 'print', 'default');