29 lines
948 B
HTML
29 lines
948 B
HTML
<mat-card>
|
|
<mat-card-content>
|
|
<div class="flex flex-row flex-wrap -mr-5 -mb-5">
|
|
<mat-card
|
|
class="flex flex-col square-button mr-5, mb-5 red700"
|
|
matRipple
|
|
[routerLink]="['../../menu-categories']"
|
|
queryParamsHandling="preserve"
|
|
>
|
|
<h3 class="item-name">Back</h3>
|
|
</mat-card>
|
|
<mat-card
|
|
class="flex flex-col square-button mr-5, mb-5"
|
|
matRipple
|
|
*ngFor="let item of list"
|
|
(click)="addProduct(item)"
|
|
[class.yellow300]="item.hasHappyHour"
|
|
[class.grey800]="item.isNotAvailable"
|
|
[class.face]="!item.hasHappyHour && !item.isNotAvailable"
|
|
>
|
|
<h3 class="item-name">{{ item.name }}</h3>
|
|
<mat-card-subtitle class="center" [class.face]="!item.hasHappyHour && !item.isNotAvailable">{{
|
|
item.price | currency : 'INR'
|
|
}}</mat-card-subtitle>
|
|
</mat-card>
|
|
</div>
|
|
</mat-card-content>
|
|
</mat-card>
|