|
Lines 316-318
INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, conten
Link Here
|
| 316 |
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'); |
316 |
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'); |
| 317 |
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'); |
317 |
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'); |
| 318 |
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'); |
318 |
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'); |
|
|
319 |
|
| 320 |
INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('catalog','LIST','','Send list',1,'Your list: [% listname | html %]',"[%- USE raw -%] |
| 321 |
<p>Hi,</p> |
| 322 |
<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a list from our online catalog called: [% listname | $raw %].</p> |
| 323 |
<p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p> |
| 324 |
<hr/> |
| 325 |
<p>[% comment | $raw %]</p> |
| 326 |
<hr/> |
| 327 |
<ol> |
| 328 |
[% FOREACH biblio IN biblios %] |
| 329 |
<li> |
| 330 |
<span> |
| 331 |
[% biblio.title | $raw %] |
| 332 |
[% IF ( biblio.subtitle ) %] |
| 333 |
[% FOREACH subtitle IN biblio.subtitle.split(' | ') %] |
| 334 |
[% subtitle | $raw %] |
| 335 |
[% END %] |
| 336 |
[% END %] |
| 337 |
[% biblio.part_number | $raw %] [% biblio.part_name | $raw %] |
| 338 |
</span> |
| 339 |
<p> |
| 340 |
[% IF ( biblio.author || biblio.get_authors_from_MARC ) %] |
| 341 |
<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %] |
| 342 |
[% IF ( biblio.get_authors_from_MARC ) %] |
| 343 |
[% IF ( biblio.author ) %]; [% END %] |
| 344 |
[% FOREACH author IN biblio.get_authors_from_MARC %] |
| 345 |
[% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %] |
| 346 |
[% subfield.separator | $raw %][% subfield.value | $raw %] |
| 347 |
[% END %] |
| 348 |
[% UNLESS ( loop.last ) %];[% END %] |
| 349 |
[% END %] |
| 350 |
[% END %] |
| 351 |
</span><br/> |
| 352 |
[% END %] |
| 353 |
[% SET biblioitem = biblio.biblioitem %] |
| 354 |
[% IF ( biblioitem.isbn ) %] |
| 355 |
<span> |
| 356 |
ISBN: [% FOREACH isbn IN biblioitem.isbn %] |
| 357 |
[% isbn | $raw %] |
| 358 |
[% UNLESS ( loop.last ) %]; [% END %] |
| 359 |
[% END %] |
| 360 |
</span><br/> |
| 361 |
[% END %] |
| 362 |
[% IF ( biblioitem.publishercode ) %] |
| 363 |
<span> |
| 364 |
Published by: [% biblioitem.publishercode | $raw %] |
| 365 |
[% IF ( biblioitem.publicationyear ) %] |
| 366 |
in [% biblioitem.publicationyear | $raw %] |
| 367 |
[% END %] |
| 368 |
[% IF ( biblioitem.pages ) %] |
| 369 |
, [% biblioitem.pages | $raw %] |
| 370 |
[% END %] |
| 371 |
</span><br/> |
| 372 |
[% END %] |
| 373 |
[% IF ( biblio.seriestitle ) %] |
| 374 |
<span> |
| 375 |
Collection: [% biblio.seriestitle | $raw %] |
| 376 |
</span><br/> |
| 377 |
[% END %] |
| 378 |
[% IF ( biblio.copyrightdate ) %] |
| 379 |
<span> |
| 380 |
Copyright year: [% biblio.copyrightdate | $raw %] |
| 381 |
</span><br/> |
| 382 |
[% END %] |
| 383 |
[% IF ( biblio.notes ) %] |
| 384 |
<span> |
| 385 |
Notes: [% biblio.notes | $raw %] |
| 386 |
</span><br/> |
| 387 |
[% END %] |
| 388 |
[% IF ( biblio.unititle ) %] |
| 389 |
<span> |
| 390 |
Unified title: [% biblio.unititle | $raw %] |
| 391 |
</span><br/> |
| 392 |
[% END %] |
| 393 |
[% IF ( biblio.serial ) %] |
| 394 |
<span> |
| 395 |
Serial: [% biblio.serial | $raw %] |
| 396 |
</span><br/> |
| 397 |
[% END %] |
| 398 |
[% IF ( biblioitem.lccn ) %] |
| 399 |
<span> |
| 400 |
LCCN: [% biblioitem.lccn | $raw %] |
| 401 |
</span><br/> |
| 402 |
[% END %] |
| 403 |
[% IF ( biblioitem.url ) %] |
| 404 |
<span> |
| 405 |
URL: [% biblioitem.url | html %] |
| 406 |
</span> |
| 407 |
[% END %] |
| 408 |
</p> |
| 409 |
[% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] |
| 410 |
[% IF ( OPACBaseURL ) %] |
| 411 |
<p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> |
| 412 |
[% END %] |
| 413 |
[% IF ( biblio.items.count > 0 ) %] |
| 414 |
<p>Items: |
| 415 |
<ul> |
| 416 |
[% FOREACH item IN biblio.items %]<li> |
| 417 |
[% item.holding_branch.branchname | $raw %] |
| 418 |
[% item.location | $raw %] |
| 419 |
[% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %] |
| 420 |
[% item.barcode | $raw %] |
| 421 |
</li>[% END %] |
| 422 |
</ul> |
| 423 |
</p> |
| 424 |
[% END %] |
| 425 |
<hr/> |
| 426 |
</li> |
| 427 |
[% END %] |
| 428 |
</ol>", 'email','default' ), |
| 429 |
('catalog','CART','','Send cart',1,'Your cart',"[%- USE raw -%] |
| 430 |
<p>Hi,</p> |
| 431 |
<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a cart from our online catalog.</p> |
| 432 |
<p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p> |
| 433 |
<hr/> |
| 434 |
<p>[% comment | $raw %]</p> |
| 435 |
<hr/> |
| 436 |
<ol> |
| 437 |
[% FOREACH biblio IN biblios %] |
| 438 |
<li> |
| 439 |
<span> |
| 440 |
[% biblio.title | $raw %] |
| 441 |
[% IF ( biblio.subtitle ) %] |
| 442 |
[% FOREACH subtitle IN biblio.subtitle.split(' | ') %] |
| 443 |
[% subtitle | $raw %] |
| 444 |
[% END %] |
| 445 |
[% END %] |
| 446 |
[% biblio.part_number | $raw %] [% biblio.part_name | $raw %] |
| 447 |
</span> |
| 448 |
<p> |
| 449 |
[% IF ( biblio.author || biblio.get_authors_from_MARC ) %] |
| 450 |
<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %] |
| 451 |
[% IF ( biblio.get_authors_from_MARC ) %] |
| 452 |
[% IF ( biblio.author ) %]; [% END %] |
| 453 |
[% FOREACH author IN biblio.get_authors_from_MARC %] |
| 454 |
[% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %] |
| 455 |
[% subfield.separator | $raw %][% subfield.value | $raw %] |
| 456 |
[% END %] |
| 457 |
[% UNLESS ( loop.last ) %];[% END %] |
| 458 |
[% END %] |
| 459 |
[% END %] |
| 460 |
</span><br/> |
| 461 |
[% END %] |
| 462 |
[% SET biblioitem = biblio.biblioitem %] |
| 463 |
[% IF ( biblioitem.isbn ) %] |
| 464 |
<span> |
| 465 |
ISBN: [% FOREACH isbn IN biblioitem.isbn %] |
| 466 |
[% isbn | $raw %] |
| 467 |
[% UNLESS ( loop.last ) %]; [% END %] |
| 468 |
[% END %] |
| 469 |
</span><br/> |
| 470 |
[% END %] |
| 471 |
[% IF ( biblioitem.publishercode ) %] |
| 472 |
<span> |
| 473 |
Published by: [% biblioitem.publishercode | $raw %] |
| 474 |
[% IF ( biblioitem.publicationyear ) %] |
| 475 |
in [% biblioitem.publicationyear | $raw %] |
| 476 |
[% END %] |
| 477 |
[% IF ( biblioitem.pages ) %] |
| 478 |
, [% biblioitem.pages | $raw %] |
| 479 |
[% END %] |
| 480 |
</span><br/> |
| 481 |
[% END %] |
| 482 |
[% IF ( biblio.seriestitle ) %] |
| 483 |
<span> |
| 484 |
Collection: [% biblio.seriestitle | $raw %] |
| 485 |
</span><br/> |
| 486 |
[% END %] |
| 487 |
[% IF ( biblio.copyrightdate ) %] |
| 488 |
<span> |
| 489 |
Copyright year: [% biblio.copyrightdate | $raw %] |
| 490 |
</span><br/> |
| 491 |
[% END %] |
| 492 |
[% IF ( biblio.notes ) %] |
| 493 |
<span> |
| 494 |
Notes: [% biblio.notes | $raw %] |
| 495 |
</span><br/> |
| 496 |
[% END %] |
| 497 |
[% IF ( biblio.unititle ) %] |
| 498 |
<span> |
| 499 |
Unified title: [% biblio.unititle | $raw %] |
| 500 |
</span><br/> |
| 501 |
[% END %] |
| 502 |
[% IF ( biblio.serial ) %] |
| 503 |
<span> |
| 504 |
Serial: [% biblio.serial | $raw %] |
| 505 |
</span><br/> |
| 506 |
[% END %] |
| 507 |
[% IF ( biblioitem.lccn ) %] |
| 508 |
<span> |
| 509 |
LCCN: [% biblioitem.lccn | $raw %] |
| 510 |
</span><br/> |
| 511 |
[% END %] |
| 512 |
[% IF ( biblioitem.url ) %] |
| 513 |
<span> |
| 514 |
URL: [% biblioitem.url | html %] |
| 515 |
</span> |
| 516 |
[% END %] |
| 517 |
</p> |
| 518 |
[% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] |
| 519 |
[% IF ( OPACBaseURL ) %] |
| 520 |
<p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> |
| 521 |
[% END %] |
| 522 |
[% IF ( biblio.items.count > 0 ) %] |
| 523 |
<p>Items: |
| 524 |
<ul> |
| 525 |
[% FOREACH item IN biblio.items %]<li> |
| 526 |
[% item.holding_branch.branchname | $raw %] |
| 527 |
[% item.location | $raw %] |
| 528 |
[% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %] |
| 529 |
[% item.barcode | $raw %] |
| 530 |
</li>[% END %] |
| 531 |
</ul> |
| 532 |
</p> |
| 533 |
[% END %] |
| 534 |
<hr/> |
| 535 |
</li> |
| 536 |
[% END %] |
| 537 |
</ol>",'email','default'); |