2 <eg-confirm-dialog #confirmAlertsDialog
3 i18n-dialogTitle i18n-dialogBody
4 dialogTitle="Confirm Alert" dialogBody="{{alertText ? alertText.code() : ''}}">
7 <eg-acq-cancel-dialog #cancelDialog></eg-acq-cancel-dialog>
9 <!-- Note the flex values are set so they also match the layout
10 of the list of copies in the copies component. -->
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>
23 <div class="flex-1 p-1"></div>
24 <div class="flex-1 p-1"></div>
29 *ngTemplateOutlet="copyAttrsHeader;context:{
30 moreCss:'mt-3 bg-light border border-secondary',
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>
42 <ng-container *ngTemplateOutlet="copyAttrsHeader"> </ng-container>
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>