Chore:
Moved to sqlalchemy 2.0 Added type checking as much as possible Updated angular to 15 Moved from Angular flex layout to tailwind css Started developing on vscode with devcontainers
This commit is contained in:
@ -12,9 +12,5 @@ export class BillsDataSource extends DataSource<BillViewItem> {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when the table is being destroyed. Use this function, to clean up
|
||||
* any open connections or free any held resources that were set up during connect.
|
||||
*/
|
||||
disconnect() {}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@ table {
|
||||
}
|
||||
|
||||
.mat-column-select {
|
||||
flex: 0 0 50px;
|
||||
flex: 0 0 60px;
|
||||
}
|
||||
|
||||
.grey900 {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<mat-card>
|
||||
<mat-card-title-group>
|
||||
<mat-card-header>
|
||||
<mat-card-title>Bill</mat-card-title>
|
||||
</mat-card-title-group>
|
||||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<table
|
||||
mat-table
|
||||
@ -44,8 +44,8 @@
|
||||
<ng-container matColumnDef="table-details">
|
||||
<mat-header-cell *matHeaderCellDef class="deep-purple-50 bold right-align"
|
||||
><button>Table: {{ bs.bill.table.name }}</button> /
|
||||
<button (click)="choosePax()">{{ bs.bill.pax }} Pax</button> /
|
||||
<button (click)="chooseCustomer()">
|
||||
<button mat-button (click)="choosePax()">{{ bs.bill.pax }} Pax</button> /
|
||||
<button mat-button (click)="chooseCustomer()">
|
||||
{{ bs.bill.customer?.name || 'Customer' }}
|
||||
</button></mat-header-cell
|
||||
>
|
||||
@ -141,7 +141,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="gross-amount">
|
||||
<mat-footer-cell *matFooterCellDef class="grey300 bold right-align">{{
|
||||
bs.grossAmount | async | currency: 'INR'
|
||||
bs.grossAmount | async | currency : 'INR'
|
||||
}}</mat-footer-cell>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="hh-title">
|
||||
@ -151,7 +151,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="hh-amount">
|
||||
<mat-footer-cell *matFooterCellDef class="grey300 bold right-align">{{
|
||||
bs.hhAmount | async | currency: 'INR'
|
||||
bs.hhAmount | async | currency : 'INR'
|
||||
}}</mat-footer-cell>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="discount-title">
|
||||
@ -159,7 +159,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="discount-amount">
|
||||
<mat-footer-cell *matFooterCellDef class="grey500 bold right-align">{{
|
||||
bs.discountAmount | async | currency: 'INR'
|
||||
bs.discountAmount | async | currency : 'INR'
|
||||
}}</mat-footer-cell>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="tax-title">
|
||||
@ -167,7 +167,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="tax-amount">
|
||||
<mat-footer-cell *matFooterCellDef class="grey700 bold right-align">{{
|
||||
bs.taxAmount | async | currency: 'INR'
|
||||
bs.taxAmount | async | currency : 'INR'
|
||||
}}</mat-footer-cell>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="amount-title">
|
||||
@ -175,7 +175,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="amount-amount">
|
||||
<mat-footer-cell *matFooterCellDef class="grey900 bold right-align">{{
|
||||
bs.amount | async | currency: 'INR'
|
||||
bs.amount | async | currency : 'INR'
|
||||
}}</mat-footer-cell>
|
||||
</ng-container>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user