View | Details | Raw Unified | Return to bug 36020
Collapse All | Expand All

(-)a/C4/Letters.pm (+6 lines)
Lines 2003-2008 sub _get_tt_params { Link Here
2003
            plural   => 'problemreports',
2003
            plural   => 'problemreports',
2004
            pk       => 'reportid'
2004
            pk       => 'reportid'
2005
        },
2005
        },
2006
        recalls => {
2007
            module   => 'Koha::Recalls',
2008
            singular => 'recall',
2009
            plural   => 'recalls',
2010
            pk       => 'recall_id'
2011
        },
2006
    };
2012
    };
2007
2013
2008
    my $dbh = C4::Context->dbh;
2014
    my $dbh = C4::Context->dbh;
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-34 / +34 lines)
Lines 2457-2537 tables: Link Here
2457
          code: RETURN_RECALLED_ITEM
2457
          code: RETURN_RECALLED_ITEM
2458
          branchcode: ""
2458
          branchcode: ""
2459
          name: "Notification to return a recalled item"
2459
          name: "Notification to return a recalled item"
2460
          is_html: 0
2460
          is_html: 1
2461
          title: "Notification to return a recalled item"
2461
          title: "Notification to return a recalled item"
2462
          message_transport_type: email
2462
          message_transport_type: email
2463
          lang: default
2463
          lang: default
2464
          content:
2464
          content:
2465
            - "Date: <<today>>"
2465
            - "Date: [% today | $KohaDates %]<br>"
2466
            - ""
2466
            - "<br>"
2467
            - "<<borrowers.firstname>> <<borrowers.surname>>,"
2467
            - "[%~ INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_cardnumber => 1 ~%],<br>"
2468
            - ""
2468
            - "<br>"
2469
            - "A recall has been placed on the following item: <<biblio.title>> / <<biblio.author>> (<<items.barcode>>). The due date has been updated, and is now <<issues.date_due>>. Please return the item before the due date."
2469
            - "A recall has been placed on the following item:[%~ INCLUDE 'biblio-title.inc' biblio=biblio link = 0 %][% IF biblio.author %]/ [% biblio.author %][% END %] ([% item.barcode %]). The due date has been updated, and is now [% item.onloan | $KohaDates %]. Please return the item before the due date.<br>"
2470
            - ""
2470
            - "<br>"
2471
            - "Thank you!"
2471
            - "Thank you!"
2472
2472
2473
        - module: circulation
2473
        - module: circulation
2474
          code: PICKUP_RECALLED_ITEM
2474
          code: PICKUP_RECALLED_ITEM
2475
          branchcode: ""
2475
          branchcode: ""
2476
          name: "Recalled item awaiting pickup"
2476
          name: "Recalled item awaiting pickup"
2477
          is_html: 0
2477
          is_html: 1
2478
          title: "Recalled item awaiting pickup"
2478
          title: "Recalled item awaiting pickup"
2479
          message_transport_type: email
2479
          message_transport_type: email
2480
          lang: default
2480
          lang: default
2481
          content:
2481
          content:
2482
            - "Date: <<today>>"
2482
            - "[%- USE Branches -%]<br>"
2483
            - ""
2483
            - "Date: [% today | $KohaDates %]<br>"
2484
            - "<<borrowers.firstname>> <<borrowers.surname>>,"
2484
            - "<br>"
2485
            - ""
2485
            - "[%~ INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_cardnumber => 1, no_html = 1 ~%],<br>"
2486
            - "A recall that you requested on the following item: <<biblio.title>> / <<biblio.author>> (<<items.barcode>>) is now ready for you to pick up at <<recalls.pickup_library_id>>. Please pick up your item by <<recalls.expiration_date>>."
2486
            - "<br>"
2487
            - ""
2487
            - "A recall that you requested on the following item: [% INCLUDE 'biblio-title.inc' biblio=biblio link = 0 %][% IF biblio.author %] / [% biblio.author %][% END %] ([% item.barcode %]) is now ready for you to pick up at [% Branches.GetName( recall.pickup_library_id) %]. Please pick up your item by [% recall.expiration_date | $KohaDates %].<br>"
2488
            - "<br>"
2488
            - "Thank you!"
2489
            - "Thank you!"
2489
2490
2490
        - module: circulation
2491
        - module: circulation
2491
          code: RETURN_RECALLED_ITEM
2492
          code: RETURN_RECALLED_ITEM
2492
          branchcode: ""
2493
          branchcode: ""
2493
          name: "Notification to return a recalled item"
2494
          name: "Notification to return a recalled item"
2494
          is_html: 0
2495
          is_html: 1
2495
          title: "Return recalled item"
2496
          title: "Return recalled item"
2496
          message_transport_type: sms
2497
          message_transport_type: sms
2497
          lang: default
2498
          lang: default
2498
          content:
2499
          content:
2499
            - "Your item has been recalled: <<biblio.title>> (<<items.barcode>>). Please return it by <<issues.date_due>."
2500
            - "Your item has been recalled: [% INCLUDE 'biblio-title.inc' biblio=biblio link = 0 %] ([% item.barcode %]). Please return it by [% item.onloan | $KohaDates %]."
2500
2501
2501
        - module: circulation
2502
        - module: circulation
2502
          code: PICKUP_RECALLED_ITEM
2503
          code: PICKUP_RECALLED_ITEM
2503
          branchcode: ""
2504
          branchcode: ""
2504
          name: "Recalled item awaiting pickup"
2505
          name: "Recalled item awaiting pickup"
2505
          is_html: 0
2506
          is_html: 1
2506
          title: "Recalled item awaiting pickup"
2507
          title: "Recalled item awaiting pickup"
2507
          message_transport_type: sms
2508
          message_transport_type: sms
2508
          lang: default
2509
          lang: default
2509
          content:
2510
          content:
2510
            - "A recalled item: <<biblio.title>> (<<items.barcode>>) is ready for you to pick up at <<recalls.branchcode>>. Please collect by <<recalls.expirationdate>>."
2511
            - "A recalled item: [% INCLUDE 'biblio-title.inc' biblio=biblio link = 0 %]([% item.barcode %]) is ready for you to pick up at [% recall.pickup_library_id %]. Please collect by [% recall.expiration_date | $KohaDates %]."
2511
2512
2512
        - module: circulation
2513
        - module: circulation
2513
          code: RECALL_REQUESTER_DET
2514
          code: RECALL_REQUESTER_DET
2514
          branchcode: ""
2515
          branchcode: ""
2515
          name: "Details of patron who recalled item"
2516
          name: "Details of patron who recalled item"
2516
          is_html: 0
2517
          is_html: 1
2517
          title: "Details of patron who recalled item"
2518
          title: "Details of patron who recalled item"
2518
          message_transport_type: print
2519
          message_transport_type: print
2519
          lang: default
2520
          lang: default
2520
          content:
2521
          content:
2521
            - "Date: <<today>>"
2522
            - "Date: [% today | $KohaDates %]<br>"
2522
            - ""
2523
            - "<br>"
2523
            - "Recall for pickup at <<branches.branchname>>"
2524
            - "Recall for pickup at [% branch.branchname %]<br>"
2524
            - "<<borrowers.surname>>, <<borrowers.firstname>> (<<borrowers.cardnumber>>)"
2525
            - "[% INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_html = 1 %]<br>"
2525
            - "<<borrowers.phone>>"
2526
            - "[% borrower.phone %]<br>"
2526
            - "<<borrowers.streetnumber>> <<borrowers.address>>, <<borrowers.address2>>, <<borrowers.city>> <<borrowers.zipcode>>"
2527
            - "[% borrower.streetnumber %][% IF borrower.address %] [% borrower.address %],[% END %][% IF borrower.address2 %] [% borrower.address2 %],[% END %] [% borrower.city %] [% borrower.state %] [% borrower.zipcode %]<br>"
2527
            - "<<borrowers.email>>"
2528
            - "[% borrower.email %]<br>"
2528
            - ""
2529
            - "<br>"
2529
            - "ITEM RECALLED"
2530
            - "ITEM RECALLED<br>"
2530
            - "<<biblio.title>> by <<biblio.author>>"
2531
            - "[% INCLUDE 'biblio-title.inc' biblio=biblio link = 0 %][% IF biblio.author %] by [% biblio.author %][% END %]<br>"
2531
            - "Barcode: <<items.barcode>>"
2532
            - "Barcode: [% item.barcode %]<br>"
2532
            - "Callnumber: <<items.itemcallnumber>>"
2533
            - "Callnumber: [% item.itemcallnumber %]<br>"
2533
            - "Waiting since: <<recalls.waiting_date>>"
2534
            - "Waiting since: [% recall.waiting_date | $KohaDates %]<br>"
2534
            - "Notes: <<recalls.notes>>"
2535
            - "[% IF recall.notes %]Notes: [% recall.notes %]<br>[% END %]"
2535
2536
2536
        - module: members
2537
        - module: members
2537
          code: 2FA_DISABLE
2538
          code: 2FA_DISABLE
2538
- 

Return to bug 36020