Fix: get_bill_id now skips the 10000th number so that it displays properly in our system
Bill now shows the bill details on the top Started adding checks for disabled features during sales.
This commit is contained in:
@ -3,19 +3,23 @@
|
||||
queryParamsHandling="preserve">
|
||||
<h3 class="item-name">Add Product</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="discount()">
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="discount()"
|
||||
[class.disabled]="!discountAllowed()">
|
||||
<h3 class="item-name">Discount</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="printKot()">
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="printKot()"
|
||||
[class.disabled]="!printKotAllowed()">
|
||||
<h3 class="item-name">Print KOT</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="printBill()">
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="printBill()"
|
||||
[class.disabled]="!printBillAllowed()">
|
||||
<h3 class="item-name">Print Bill</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button warn" matRipple [routerLink]="['../../tables']">
|
||||
<h3 class="item-name">Back to Tables</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="receivePayment()">
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="receivePayment()"
|
||||
[class.disabled]="!receivePaymentAllowed()">
|
||||
<h3 class="item-name">Receive Payment</h3>
|
||||
</mat-card>
|
||||
<mat-card fxLayout="column" class="square-button" matRipple (click)="moveTable()">
|
||||
|
||||
Reference in New Issue
Block a user