Chore: Upgraded to angular 15

Chore: Moved from angular/flex-layout to Tailwind
Chore: Upgrade completed
This commit is contained in:
2022-12-12 12:00:24 +05:30
parent 4a85a9133e
commit 129664e564
84 changed files with 1011 additions and 982 deletions

View File

@ -1,10 +1,12 @@
<mat-card>
<mat-card-title-group>
<mat-card-title>Ledger</mat-card-title>
<button mat-button mat-icon-button *ngIf="dataSource.data.length" (click)="exportCsv()">
<mat-icon>save_alt</mat-icon>
</button>
</mat-card-title-group>
<mat-card-header>
<mat-card-title-group>
<mat-card-title>Ledger</mat-card-title>
<button mat-icon-button *ngIf="dataSource.data.length" (click)="exportCsv()">
<mat-icon>save_alt</mat-icon>
</button>
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
<form [formGroup]="form" class="flex flex-col">
<div class="flex flex-row justify-around content-start items-start sm:max-lg:flex-col">
@ -55,7 +57,7 @@
}}</mat-option>
</mat-autocomplete>
</mat-form-field>
<button class="flex-auto basis-1/5" mat-raised-button color="primary" (click)="show()">
<button mat-raised-button class="flex-auto basis-1/5" color="primary" (click)="show()">
Show
</button>
</div>
@ -95,10 +97,10 @@
<ng-container matColumnDef="debit">
<mat-header-cell *matHeaderCellDef mat-sort-header class="right">Debit</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{
row.debit | currency: 'INR' | clear
row.debit | currency : 'INR' | clear
}}</mat-cell>
<mat-footer-cell *matFooterCellDef class="right">{{
debit | currency: 'INR'
debit | currency : 'INR'
}}</mat-footer-cell>
</ng-container>
@ -106,10 +108,10 @@
<ng-container matColumnDef="credit">
<mat-header-cell *matHeaderCellDef mat-sort-header class="right">Credit</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{
row.credit | currency: 'INR' | clear
row.credit | currency : 'INR' | clear
}}</mat-cell>
<mat-footer-cell *matFooterCellDef class="right">{{
credit | currency: 'INR'
credit | currency : 'INR'
}}</mat-footer-cell>
</ng-container>
@ -117,10 +119,10 @@
<ng-container matColumnDef="running">
<mat-header-cell *matHeaderCellDef mat-sort-header class="right">Running</mat-header-cell>
<mat-cell *matCellDef="let row" class="right">{{
row.running | currency: 'INR' | accounting
row.running | currency : 'INR' | accounting
}}</mat-cell>
<mat-footer-cell *matFooterCellDef class="right">{{
running | currency: 'INR' | accounting
running | currency : 'INR' | accounting
}}</mat-footer-cell>
</ng-container>