Void Bill Working

This commit is contained in:
Amritanshu
2019-08-10 18:49:05 +05:30
parent 2fcff26e34
commit 40a958a935
17 changed files with 212 additions and 46 deletions

View File

@ -15,6 +15,11 @@
text-align: center;
}
.warn {
background-color: red;
.yellow300 {
background-color: #fff176;
}
.red700 {
background-color: #d32f2f;
color: #ffffff;
}

View File

@ -1,9 +1,9 @@
<mat-card>
<mat-card-content fxLayout="row wrap" fxLayoutGap="grid 20px">
<mat-card fxLayout="column" class="square-button" matRipple *ngFor="let item of list" (click)="addProduct(item)">
<mat-card fxLayout="column" class="square-button" matRipple *ngFor="let item of list" (click)="addProduct(item)" [class.yellow300]="item.hasHappyHour">
<h3 class="item-name">{{item.name}}</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button warn" matRipple [routerLink]="['../../menu-categories']"
<mat-card fxLayout="column" class="square-button red700" matRipple [routerLink]="['../../menu-categories']"
queryParamsHandling="preserve">
<h3 class="item-name">Back</h3>
</mat-card>