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

(-)a/installer/data/mysql/atomicupdate/bug_30650.pl (-1 / +1 lines)
Lines 158-164 return { Link Here
158
        }
158
        }
159
        $dbh->do(
159
        $dbh->do(
160
            q{
160
            q{
161
                INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES ('reserves','NEW_CURBSIDE_PICKUP','',0,"You have scheduled a curbside pickup for [% branch.branchname %]","[%- USE KohaDates -%]\n[%- SET cp = curbside_pickup -%]\n\nYou have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %].\n\nAny holds waiting for you at the pickup time will be included in this pickup. At this time, that list includes:\n[%- FOREACH h IN cp.patron.holds %]\n    [%- IF h.branchcode == cp.branchcode && h.found == 'W' %]\n* [% h.biblio.title %], [% h.biblio.author %] ([% h.item.barcode %])\n    [%- END %]\n[%- END %]\n\nOnce you have arrived, please call your library or log into your account and click the \"Alert staff of your arrival\" button to let them know you are there.",'email','default');
161
                INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES ('reserves','NEW_CURBSIDE_PICKUP','','New curbside pickup',0,"You have scheduled a curbside pickup for [% branch.branchname %]","[%- USE KohaDates -%]\n[%- SET cp = curbside_pickup -%]\n\nYou have a curbside pickup scheduled for [% cp.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] at [% cp.library.branchname %].\n\nAny holds waiting for you at the pickup time will be included in this pickup. At this time, that list includes:\n[%- FOREACH h IN cp.patron.holds %]\n    [%- IF h.branchcode == cp.branchcode && h.found == 'W' %]\n* [% h.biblio.title %], [% h.biblio.author %] ([% h.item.barcode %])\n    [%- END %]\n[%- END %]\n\nOnce you have arrived, please call your library or log into your account and click the \"Alert staff of your arrival\" button to let them know you are there.",'email','default');
162
            }
162
            }
163
        );
163
        );
164
164
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-2 / +1 lines)
Lines 1320-1326 tables: Link Here
1320
        - module: reserves
1320
        - module: reserves
1321
          code: NEW_CURBSIDE_PICKUP
1321
          code: NEW_CURBSIDE_PICKUP
1322
          branchcode: ""
1322
          branchcode: ""
1323
          name: "Curbside pickups"
1323
          name: "New curbside pickup"
1324
          is_html: 0
1324
          is_html: 0
1325
          title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1325
          title: "You have scheduled a curbside pickup for [% branch.branchname %]"
1326
          message_transport_type: email
1326
          message_transport_type: email
1327
- 

Return to bug 30650