LP1816475: Booking module refresh
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / booking / pickup.component.html
1 <eg-staff-banner bannerText="Booking Pickup" i18n-bannerText>
2 </eg-staff-banner>
3 <eg-title i18n-prefix i18n-suffix prefix="Booking" suffix="Pickup"></eg-title>
4
5 <form [formGroup]="findPatron" class="row">
6   <div class="col-md-4">
7     <div class="input-group flex-nowrap">
8       <div class="input-group-prepend">
9         <label class="input-group-text" for="patron-barcode" i18n>Patron barcode</label>
10         <input type="text" id="patron-barcode" class="form-control" formControlName="patronBarcode">
11       </div>
12     </div>
13   </div>
14 </form>
15 <div *ngIf="patronId">
16   <h2 class="text-center" i18n>Ready for pickup</h2>
17   <div class="form-check">
18     <input class="form-check-input" type="checkbox" [checked]="onlyShowCaptured" id="only-show-captured" (change)="handleShowCapturedChange()">
19     <label class="form-check-label" for="only-show-captured" i18n>Show only captured resources</label>
20   </div>
21   <eg-reservations-grid #readyGrid [patron]="patronId" status="pickupReady" [onlyCaptured]="onlyShowCaptured" persistSuffix="pickup.ready" (onPickup)="this.pickedUpGrid.reloadGrid()"></eg-reservations-grid>
22
23   <h2 class="text-center mt-2" i18n>Already picked up</h2>
24   <eg-reservations-grid #pickedUpGrid [patron]="patronId" status="pickedUp" persistSuffix="pickup.picked_up"></eg-reservations-grid>
25
26 </div>
27