2 <ng-template #dialogContent>
3 <div class="modal-header bg-info">
4 <h4 class="modal-title">
5 <span i18n>Select Barcode</span>
7 <button type="button" class="close"
8 i18n-aria-label aria-label="Close" (click)="close()">
9 <span aria-hidden="true">×</span>
12 <div class="modal-body">
13 <div class="alert alert-primary m-1 mb-3" i18n>Select the desired barcode.</div>
14 <ng-container *ngFor="let match of matches">
15 <div class="form-check mb-2">
16 <input class="form-check-input" type="checkbox" value=""
17 id="barcode-check-{{match.id}}" [(ngModel)]="inputs[match.id]"
18 (ngModelChange)="selectionChanged()">
19 <label class="form-check-label" for="barcode-check-{{match.id}}">
25 <div class="modal-footer">
26 <button type="button" class="btn btn-success" [disabled]="!selected"
27 (click)="close(selected)" i18n>Select</button>
28 <button type="button" class="btn btn-warning"
29 (click)="close()" i18n>Cancel</button>