manage fee and region updates

This commit is contained in:
Cyril Joseph 2025-11-08 10:46:09 -04:00
parent 48be10771a
commit 251b9f8644
2 changed files with 2 additions and 4 deletions

View File

@ -80,9 +80,7 @@
Fee type is required
</mat-error>
</mat-form-field>
</div>
<div class="form-row">
<mat-form-field appearance="outline">
<mat-label>Commission Rate</mat-label>
<input matInput type="number" formControlName="commissionRate">

View File

@ -28,7 +28,7 @@ export class CarnetFeeComponent implements OnInit {
set paginator(value: MatPaginator) {
this.dataSource.paginator = value;
}
@ViewChild(MatSort) sort!: MatSort;
displayedColumns: string[] = ['feeType', 'commissionRate', 'effectiveDate', 'actions'];
@ -173,7 +173,7 @@ export class CarnetFeeComponent implements OnInit {
? this.feeCommissionService.updateFeeCommission(this.currentFeeCommissionId, feeCommissionData)
: this.feeCommissionService.createFeeCommission(this.spid, feeCommissionData);
this.changeInProgress
this.changeInProgress = true;
saveObservable.pipe(finalize(() => {
this.changeInProgress = false;
})).subscribe({