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="btn-close btn-close-white"
8 i18n-aria-label aria-label="Close" (click)="close()"></button>
10 <div class="modal-body">
11 <div class="alert alert-primary m-1 mb-3" i18n>Select the desired barcode.</div>
12 <ng-container *ngFor="let match of matches">
13 <div class="form-check mb-2">
14 <input class="form-check-input" type="checkbox" value=""
15 id="barcode-check-{{match.id}}" [(ngModel)]="inputs[match.id]"
16 (ngModelChange)="selectionChanged()">
17 <label class="form-label form-check-label" for="barcode-check-{{match.id}}">
23 <div class="modal-footer">
24 <button type="button" class="btn btn-success" [disabled]="!selected"
25 (click)="close(selected)" i18n>Select</button>
26 <button type="button" class="btn btn-warning"
27 (click)="close()" i18n>Cancel</button>