Back to table / product group order changed to have the back button in the beginning
The bill now highlights the happy hour products.
This commit is contained in:
parent
f28cf1eea0
commit
b70b01b726
|
@ -67,3 +67,11 @@ table {
|
||||||
background-color: #b39ddb;
|
background-color: #b39ddb;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yellow300 {
|
||||||
|
background-color: #fff176;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yellow-for-hh-printed {
|
||||||
|
background-color: #f7ca18;
|
||||||
|
}
|
||||||
|
|
|
@ -173,7 +173,9 @@
|
||||||
*matRowDef="let row; columns: displayedColumns"
|
*matRowDef="let row; columns: displayedColumns"
|
||||||
[class.blue400]="row.isOldKot"
|
[class.blue400]="row.isOldKot"
|
||||||
[class.blue800]="row.isNewKot"
|
[class.blue800]="row.isNewKot"
|
||||||
[class.red100]="row.isPrinted"
|
[class.red100]="row.isPrinted && !row.isHappyHour"
|
||||||
|
[class.yellow300]="row.isHappyHour && !row.isPrinted"
|
||||||
|
[class.yellow-for-hh-printed]="row.isPrinted && row.isHappyHour"
|
||||||
></mat-row>
|
></mat-row>
|
||||||
<mat-footer-row *matFooterRowDef="['net-title', 'net-amount']"></mat-footer-row>
|
<mat-footer-row *matFooterRowDef="['net-title', 'net-amount']"></mat-footer-row>
|
||||||
<mat-footer-row *matFooterRowDef="['discount-title', 'discount-amount']"></mat-footer-row>
|
<mat-footer-row *matFooterRowDef="['discount-title', 'discount-amount']"></mat-footer-row>
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
<mat-card>
|
<mat-card>
|
||||||
<mat-card-content fxLayout="row wrap" fxLayoutGap="grid 20px">
|
<mat-card-content fxLayout="row wrap" fxLayoutGap="grid 20px">
|
||||||
|
<mat-card
|
||||||
|
fxLayout="column"
|
||||||
|
class="square-button warn"
|
||||||
|
matRipple
|
||||||
|
[routerLink]="['../']"
|
||||||
|
queryParamsHandling="preserve"
|
||||||
|
>
|
||||||
|
<h3 class="item-name">Back</h3>
|
||||||
|
</mat-card>
|
||||||
<mat-card
|
<mat-card
|
||||||
fxLayout="column"
|
fxLayout="column"
|
||||||
class="square-button"
|
class="square-button"
|
||||||
|
@ -10,14 +19,5 @@
|
||||||
>
|
>
|
||||||
<h3 class="item-name">{{ item.name }}</h3>
|
<h3 class="item-name">{{ item.name }}</h3>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
<mat-card
|
|
||||||
fxLayout="column"
|
|
||||||
class="square-button warn"
|
|
||||||
matRipple
|
|
||||||
[routerLink]="['../']"
|
|
||||||
queryParamsHandling="preserve"
|
|
||||||
>
|
|
||||||
<h3 class="item-name">Back</h3>
|
|
||||||
</mat-card>
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
<mat-card>
|
<mat-card>
|
||||||
<mat-card-content fxLayout="row wrap" fxLayoutGap="grid 20px">
|
<mat-card-content fxLayout="row wrap" fxLayoutGap="grid 20px">
|
||||||
|
<mat-card
|
||||||
|
fxLayout="column"
|
||||||
|
class="square-button red700"
|
||||||
|
matRipple
|
||||||
|
[routerLink]="['../../menu-categories']"
|
||||||
|
queryParamsHandling="preserve"
|
||||||
|
>
|
||||||
|
<h3 class="item-name">Back</h3>
|
||||||
|
</mat-card>
|
||||||
<mat-card
|
<mat-card
|
||||||
fxLayout="column"
|
fxLayout="column"
|
||||||
class="square-button"
|
class="square-button"
|
||||||
|
@ -12,14 +21,5 @@
|
||||||
<h3 class="item-name">{{ item.name }}</h3>
|
<h3 class="item-name">{{ item.name }}</h3>
|
||||||
<mat-card-subtitle class="center">{{ item.price | currency: 'INR' }}</mat-card-subtitle>
|
<mat-card-subtitle class="center">{{ item.price | currency: 'INR' }}</mat-card-subtitle>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
<mat-card
|
|
||||||
fxLayout="column"
|
|
||||||
class="square-button red700"
|
|
||||||
matRipple
|
|
||||||
[routerLink]="['../../menu-categories']"
|
|
||||||
queryParamsHandling="preserve"
|
|
||||||
>
|
|
||||||
<h3 class="item-name">Back</h3>
|
|
||||||
</mat-card>
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
Loading…
Reference in New Issue