The 'Alert staff of your arrival' button in the public catalog My Account
page is enabled either when the appointment staged OR if the
appointment time has come, so if a library falls behind on staging,
some indication that the patron has shown up could be useful.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
</eg-grid-field>
<eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
<eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>
+ <div class="alert alert-danger" ng-show="!item['slot'].staged()">
+ [% l('Items are not yet staged!') %]
+ </div>
<eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
</eg-grid-field>
<eg-grid-field label="[% l('Action') %]" handlers="gridCellHandlers" compiled>
<div class="alert alert-warning" ng-show="col.handlers.patronIsBlocked(item['slot'].patron())">
[% l('Patron is blocked from checkouts.') %]
</div>
+ <div class="alert alert-danger" ng-show="item['slot'].arrival()">
+ [% l('Patron has already arrived!') %]
+ </div>
</eg-grid-field>
<eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
<eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>