Chore: Upgrade to Angular v18

Chore: Upgrade to Python 3.12
Chore: Upgrade to psycopg3
This commit is contained in:
2024-06-03 13:22:56 +05:30
parent 56c1be5e05
commit 010e9a84db
573 changed files with 5727 additions and 6528 deletions
@@ -8,7 +8,7 @@
<mat-form-field class="flex-auto">
<mat-label>Name</mat-label>
<input matInput #nameElement formControlName="name" (keyup.enter)="save()" />
<mat-hint> Format for GST: ST GST @ x% (1/2) ; CGST @ x% (1/2) </mat-hint>
<mat-hint> Format for GST: ST GST &#64; x% (1/2) ; CGST &#64; x% (1/2) </mat-hint>
</mat-form-field>
</div>
<div class="flex flex-row justify-around content-start items-start">
@@ -22,9 +22,11 @@
<mat-form-field class="flex-auto">
<mat-label>Regime</mat-label>
<mat-select formControlName="regime">
<mat-option *ngFor="let reg of regimes" [value]="reg.id">
{{ reg.name }}
</mat-option>
@for (reg of regimes; track reg) {
<mat-option [value]="reg.id">
{{ reg.name }}
</mat-option>
}
</mat-select>
</mat-form-field>
</div>
@@ -32,8 +34,8 @@
</mat-card-content>
<mat-card-actions>
<button mat-raised-button [disabled]="item.isFixture" color="primary" class="mr-5" (click)="save()">Save</button>
<button mat-raised-button [disabled]="item.isFixture" color="warn" (click)="confirmDelete()" *ngIf="!!item.id">
Delete
</button>
@if (!!item.id) {
<button mat-raised-button [disabled]="item.isFixture" color="warn" (click)="confirmDelete()">Delete</button>
}
</mat-card-actions>
</mat-card>