]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/acq/lineitem/batch-copies.component.html
LP1929741 ACQ Selection List & PO Angluar Port
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / acq / lineitem / batch-copies.component.html
1
2 <eg-confirm-dialog #confirmAlertsDialog
3   i18n-dialogTitle i18n-dialogBody
4   dialogTitle="Confirm Alert" dialogBody="{{alertText ? alertText.code() : ''}}">
5 </eg-confirm-dialog>
6
7 <eg-acq-cancel-dialog #cancelDialog></eg-acq-cancel-dialog>
8
9 <!-- Note the flex values are set so they also match the layout
10      of the list of copies in the copies component. -->
11
12 <ng-template #copyAttrsHeader let-hideBarcode="hideBarcode" let-moreCss="moreCss">
13   <div class="div d-flex font-weight-bold {{moreCss}}">
14     <div class="flex-1 p-1" i18n>Owning Branch</div>  
15     <div class="flex-1 p-1" i18n>Copy Location</div>
16     <div class="flex-1 p-1" i18n>Collection Code</div>
17     <div class="flex-1 p-1" i18n>Fund</div>
18     <div class="flex-1 p-1" i18n>Circ Modifier</div>
19     <div class="flex-1 p-1" i18n>Callnumber</div>
20     <div class="flex-1 p-1" i18n>
21       <ng-container *ngIf="!hideBarcode">Barcode</ng-container>
22     </div>
23     <div class="flex-1 p-1"></div>
24     <div class="flex-1 p-1"></div>
25   </div>
26 </ng-template>
27
28 <ng-container
29   *ngTemplateOutlet="copyAttrsHeader;context:{
30     moreCss:'mt-3 bg-light border border-secondary',
31     hideBarcode: true
32   }">
33 </ng-container>
34
35 <div class="pt-2 bg-light border border-secondary border-top-0 rounded-bottom">
36   <eg-lineitem-copy-attrs (batchApplyRequested)="batchApplyAttrs($event)"
37     [batchMode]="true"> </eg-lineitem-copy-attrs>
38 </div>
39
40 <hr/>
41
42 <ng-container *ngTemplateOutlet="copyAttrsHeader"> </ng-container>
43
44 <div class="mt-1 pt-1 border-top">
45   <div class="batch-copy-row" *ngFor="let copy of lineitem.lineitem_details()">
46     <eg-lineitem-copy-attrs 
47       (receiveRequested)="receiveCopy($event)"
48       (unReceiveRequested)="unReceiveCopy($event)"
49       (deleteRequested)="deleteCopy($event)" 
50       (cancelRequested)="cancelCopy($event)"
51       [lineitem]="lineitem" [copy]="copy"></eg-lineitem-copy-attrs>
52   </div>
53 </div>
54
55
56
57