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
@@ -1,10 +1,12 @@
<mat-card>
<mat-card-title-group>
<mat-card-title>Closing Stock</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>Closing Stock</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">
@@ -57,7 +59,7 @@
>Closing Stock</mat-header-cell
>
<mat-cell *matCellDef="let row" class="right middle">{{
row.quantity | number: '0.2-2'
row.quantity | number : '0.2-2'
}}</mat-cell>
</ng-container>
@@ -65,7 +67,7 @@
<ng-container matColumnDef="physical">
<mat-header-cell *matHeaderCellDef class="middle">Physical Stock</mat-header-cell>
<mat-cell *matCellDef="let row; let i = index" [formGroupName]="i" class="middle">
<mat-form-field class="flex-auto max-w-[100%]">
<mat-form-field class="flex-auto">
<mat-label>Physical</mat-label>
<input
matInput
@@ -82,7 +84,7 @@
<ng-container matColumnDef="variance" class="middle">
<mat-header-cell *matHeaderCellDef class="right">Variance</mat-header-cell>
<mat-cell *matCellDef="let row" class="right middle">{{
row.quantity - row.physical | number: '0.2-2'
row.quantity - row.physical | number : '0.2-2'
}}</mat-cell>
</ng-container>
@@ -90,7 +92,7 @@
<ng-container matColumnDef="department">
<mat-header-cell *matHeaderCellDef class="middle">Department</mat-header-cell>
<mat-cell *matCellDef="let row; let i = index" [formGroupName]="i" class="middle">
<mat-form-field class="flex-auto max-w-[100%]">
<mat-form-field class="flex-auto">
<mat-label>Department</mat-label>
<mat-select
formControlName="costCentre"
@@ -111,7 +113,7 @@
>Amount</mat-header-cell
>
<mat-cell *matCellDef="let row" class="right">{{
row.amount | currency: 'INR'
row.amount | currency : 'INR'
}}</mat-cell>
</ng-container>