1 <ng-template #copyAttrsHeader let-hideBarcode="hideBarcode" let-moreCss="moreCss">
2 <div class="div d-flex fw-bold {{moreCss}}">
3 <div class="div d-flex fw-bold {{moreCss}}">
4 <div class="flex-1 p-1" i18n>Owning Branch</div>
5 <div class="flex-1 p-1" i18n>Shelving Location</div>
6 <div class="flex-1 p-1" i18n>Collection Code</div>
7 <div class="flex-1 p-1" i18n>Fund</div>
8 <div class="flex-1 p-1" i18n>Circ Modifier</div>
9 <div class="flex-1 p-1"></div>
13 <ng-template #dialogContent>
14 <form class="form-validated">
15 <div class="modal-header bg-info">
16 <h3 class="modal-title" i18n>Batch Update Items on Selected Line Items</h3>
17 <button type="button" class="btn-close btn-close-white"
18 i18n-aria-label aria-label="Close" (click)="close()"></button>
20 <div class="modal-body">
21 <h4 i18n>Line Item(s) selected:
22 <span *ngFor="let id of ids; last as isLast">
23 {{id}}<span *ngIf="!isLast">,</span>
26 <div class="row mt-3 mb-1">
27 <div class="col-lg-12 form-inline">
29 <label class="form-label ms-3" for='copy-count-input' i18n>Item Count: </label>
30 <input class="form-control-sm ms-3 small"
32 [(ngModel)]="copyCount" [ngModelOptions]="{standalone: true}" type="text"/>
34 <span class="ms-3" i18n> | </span>
35 <label class="form-label ms-3" for='distrib-formula-cbox' i18n>Distribution Formulas</label>
37 <eg-combobox idlClass="acqdf" [idlQueryAnd]="formulaFilter"
38 [asyncSupportsEmptyTermClick]="true" [startsWith]="true"
39 [idlQuerySort]="{acqdf: 'name'}"
40 #distribFormCbox domId="distrib-formula-cbox"
41 [(ngModel)]="selectedFormula" [ngModelOptions]="{standalone: true}">
50 *ngTemplateOutlet="copyAttrsHeader;context:{
51 moreCss:'mt-3 bg-light border border-secondary',
55 <div class="pt-2 bg-light border border-secondary border-top-0 rounded-bottom">
56 <eg-lineitem-copy-attrs #copyAttributes [gatherParamsOnly]="true"
57 (templateCopy)="templateCopy = $event" ></eg-lineitem-copy-attrs>
61 <div class="modal-footer">
62 <button type="button" class="btn btn-success"
63 (click)="close(compileBatchChange())" [disabled]="!canApply()" i18n>Batch Update</button>
64 <button type="button" class="btn btn-warning"
65 (click)="close()" i18n>Cancel</button>