Modifiers issues
This commit is contained in:
@ -66,7 +66,7 @@
|
||||
{{ row.info }}
|
||||
</span>
|
||||
<ul>
|
||||
@for (m of row.modifiers; track m) {
|
||||
@for (m of row.modifiers; track m.id) {
|
||||
<li>{{ m.name }}</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
@ -1,26 +1,11 @@
|
||||
import { AsyncPipe, CurrencyPipe } from '@angular/common';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatButton, MatIconButton } from '@angular/material/button';
|
||||
import { MatCard, MatCardHeader, MatCardTitle, MatCardContent } from '@angular/material/card';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatCheckbox } from '@angular/material/checkbox';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatIcon } from '@angular/material/icon';
|
||||
import {
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatFooterRowDef,
|
||||
MatFooterRow,
|
||||
MatFooterCellDef,
|
||||
MatFooterCell,
|
||||
} from '@angular/material/table';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
|
||||
import { Observable } from 'rxjs';
|
||||
@ -51,29 +36,12 @@ import { VoucherType } from './voucher-type';
|
||||
templateUrl: './bills.component.html',
|
||||
styleUrls: ['./bills.component.sass'],
|
||||
imports: [
|
||||
MatCard,
|
||||
MatCardHeader,
|
||||
MatCardTitle,
|
||||
MatCardContent,
|
||||
MatTable,
|
||||
MatColumnDef,
|
||||
MatHeaderCellDef,
|
||||
MatHeaderCell,
|
||||
MatCardModule,
|
||||
MatTableModule,
|
||||
MatTooltip,
|
||||
MatButton,
|
||||
MatCellDef,
|
||||
MatCell,
|
||||
MatButtonModule,
|
||||
MatCheckbox,
|
||||
MatIconButton,
|
||||
MatIcon,
|
||||
MatHeaderRowDef,
|
||||
MatHeaderRow,
|
||||
MatRowDef,
|
||||
MatRow,
|
||||
MatFooterRowDef,
|
||||
MatFooterRow,
|
||||
MatFooterCellDef,
|
||||
MatFooterCell,
|
||||
RouterOutlet,
|
||||
AsyncPipe,
|
||||
CurrencyPipe,
|
||||
|
||||
Reference in New Issue
Block a user