[% USE raw %] [% USE To %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% USE AdditionalContents %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] Your curbside pickups › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-curside-pickups' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]

Curbside pickups

[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'too_many_pickups' %] You already have a scheduled pickup for this library. [% CASE 'cannot_checkout' %] Unable to check the items out. Please contact the library. [% CASE 'library_notified' %] The library has been notified of your arrival. [% CASE %] [% m.code | html %] [% END %]
[% END %]
[% IF patron_curbside_pickups.count %] [% FOR p IN patron_curbside_pickups %] [% END %]
Pickup library Schedule Notes Actions
[% Branches.GetName(p.branchcode) | html %] [% p.scheduled_pickup_datetime | $KohaDates with_hours => 1 %] [% p.notes | html %]
[% IF ! p.staged_datetime || p.arrival_datetime %]

[% IF p.delivered_datetime %]
[% ELSE %]
No curbside pickups.
[% END %]
[% IF policies.count %]
  1. You already have a pickup scheduled for this library.
  2. Required
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% Asset.js("lib/dayjs/dayjs.min.js") | $raw %] [% Asset.js("lib/dayjs/plugin/isSameOrAfter.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% END %]