@@ -, +, @@ pickup --- .../prog/en/modules/circ/curbside_pickups.tt | 63 +++++++++---------- 1 file changed, 31 insertions(+), 32 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt @@ -51,6 +51,30 @@ + +[% BLOCK waiting_holds %] + [% SET waiting_holds = cp.patron.holds.search( found => 'W', branchcode => Branches.GetLoggedInBranchcode ) %] + [% FOREACH h IN waiting_holds %] + [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %])
+ [% END %] +[% END %] + +[% BLOCK patron_info %] + [% cp.patron.firstname | html %] [% cp.patron.surname | html %] ([% cp.patron.cardnumber | html %]) + [% IF cp.notes %] +
+ Notes: [% cp.notes | html %] + [% END %] + [% IF cp.patron.debarred %] +
+ Patron's account is restricted + [% END %] + [% IF cp.patron.has_overdues %] +
+ Patron has items overdue + [% END %] +[% END %] +
@@ -162,17 +186,10 @@ [% cp.scheduled_pickup_datetime | $KohaDates with_hours = 1 %] - [% cp.patron.firstname | html %] [% cp.patron.surname | html %] ([% cp.patron.cardnumber | html %]) - [% IF cp.notes %] -
- Notes: [% cp.notes | html %] - [% END %] + [% PROCESS patron_info %] - [% SET waiting_holds = cp.patron.holds.search( found => 'W', branchcode => Branches.GetLoggedInBranchcode ) %] - [% FOREACH h IN waiting_holds %] - [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %])
- [% END %] + [% PROCESS waiting_holds %]
@@ -232,17 +249,10 @@ [% cp.scheduled_pickup_datetime | $KohaDates with_hours = 1 %] - [% cp.patron.firstname | html %] [% cp.patron.surname | html %] ([% cp.patron.cardnumber | html %]) - [% IF cp.notes %] -
- Notes: [% cp.notes | html %] - [% END %] + [% PROCESS patron_info %] - [% SET waiting_holds = cp.patron.holds.search( found => 'W', branchcode => Branches.GetLoggedInBranchcode ) %] - [% FOREACH h IN waiting_holds %] - [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %])
- [% END %] + [% PROCESS waiting_holds %] [% cp.staged_by_staff.firstname | html %] [% cp.staged_by_staff.surname | html %] @@ -314,17 +324,10 @@ [% cp.scheduled_pickup_datetime | $KohaDates with_hours = 1 %] - [% cp.patron.firstname | html %] [% cp.patron.surname | html %] ([% cp.patron.cardnumber | html %]) - [% IF cp.notes %] -
- Notes: [% cp.notes | html %] - [% END %] + [% PROCESS patron_info %] - [% SET waiting_holds = cp.patron.holds.search( found => 'W', branchcode => Branches.GetLoggedInBranchcode ) %] - [% FOREACH h IN waiting_holds %] - [% h.biblio.title | html %] ([% h.biblio.author | html %], [% h.item.barcode | html %])
- [% END %] + [% PROCESS waiting_holds %] [% cp.staged_by_staff.firstname | html %] [% cp.staged_by_staff.surname | html %] @@ -394,11 +397,7 @@ [% cp.delivered_datetime | $KohaDates with_hours = 1 %] - [% cp.patron.firstname | html %] [% cp.patron.surname | html %] ([% cp.patron.cardnumber | html %]) - [% IF cp.notes %] -
- Notes: [% cp.notes | html %] - [% END %] + [% PROCESS patron_info %] [% FOREACH c IN cp.checkouts %] --