17 lines
575 B
HTML
17 lines
575 B
HTML
<h2 mat-dialog-title>Select Sale Categories</h2>
|
|
<mat-dialog-content>
|
|
<form class="flex-col">
|
|
<div>
|
|
@for (sc of list(); track sc.id; let i = $index) {
|
|
<div class="row-container">
|
|
<mat-checkbox [formField]="form.saleCategories[i].saleCategory" class="flex-auto">{{ sc.name }}</mat-checkbox>
|
|
</div>
|
|
}
|
|
</div>
|
|
</form>
|
|
</mat-dialog-content>
|
|
<mat-dialog-actions>
|
|
<button mat-button [mat-dialog-close]="false">Cancel</button>
|
|
<button type="button" mat-button (click)="accept()" color="primary">Ok</button>
|
|
</mat-dialog-actions>
|