2 <div ng-style="{visibility : refreshNeeded ? 'visible' : 'hidden'}" class="alert alert-warning">
3 [% l('Updates to the list of staged and ready appointments are available. Please refresh.') %]
7 features="-sort,-multisort,-picker,-multiselect"
8 items-provider="gridDataProvider"
9 grid-controls="gridControls"
10 dateformat="{{$root.egDateAndTimeFormat}}">
12 <eg-grid-menu-item handler="refresh_staged" standalone="true"
13 label="[% l('Refresh List')%]"></eg-grid-menu-item>
15 <eg-grid-field label="[% l('Pickup Date/Time') %]" path="slot.slot" datatype="timestamp"></eg-grid-field>
16 <eg-grid-field label="[% l('Patron') %]" path="slot.patron" compiled handlers="gridCellHandlers">
17 <a href="./circ/patron/{{item.slot.patron().id()}}/holds" target="_blank">
18 {{item.slot.patron().family_name()}} / {{item.slot.patron().card().barcode()}}
19 <span class="glyphicon glyphicon-new-window"></span>
22 <span ng-show="item.slot.notes()">
23 <strong>[% l('Notes:') %]</strong> {{item.slot.notes()}}
25 <div class="alert alert-warning" ng-show="col.handlers.patronIsBlocked(item['slot'].patron())">
26 [% l('Patron is blocked from checkouts.') %]
29 <eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
30 <eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>
31 <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
33 <eg-grid-field label="[% l('Action') %]" handlers="gridCellHandlers" compiled>
35 <div class="col-xs-12">
36 <button class="btn btn-sm btn-primary"
37 ng-disabled="col.handlers.wasHandled(item['slot_id']) || col.handlers.patronIsBlocked(item['slot'].patron())"
38 ng-click="col.handlers.mark_arrived(item['slot_id'])">
39 [% l('Mark As Patron Arrived') %]
44 <div class="col-xs-12">
45 <button class="btn btn-sm btn-success"
46 ng-disabled="col.handlers.wasHandled(item['slot_id']) || col.handlers.patronIsBlocked(item['slot'].patron())"
47 ng-click="col.handlers.mark_delivered(item['slot_id'])">
48 [% l('Check Out Items And Mark As Delivered') %]
53 <div class="col-xs-12">
54 <button class="btn btn-sm btn-warning"
55 ng-disabled="col.handlers.wasHandled(item['slot_id'])"
56 ng-click="col.handlers.mark_unstaged(item['slot_id'])">
57 [% l('Set Back to To Be Staged') %]