feat: cash-only registers, day book sections and DD amendments
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s

This commit is contained in:
2026-09-03 18:26:22 +05:30
parent 6442562df0
commit fbce73fd17
111 changed files with 9076 additions and 3507 deletions
@@ -21,6 +21,7 @@ import { Router, ActivatedRoute, RouterLink } from '@angular/router';
import { SavingsService } from '../../savings.service';
import { SettingsService } from 'app/settings/settings.service';
import { Dates } from 'app/core/utils/dates';
import { FacilityChargeFilterService } from 'app/shared/charges/facility-charge-filter.service';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@@ -43,6 +44,7 @@ export class AddChargeSavingsAccountComponent implements OnInit {
private dateUtils = inject(Dates);
private savingsService = inject(SavingsService);
private settingsService = inject(SettingsService);
private facilityChargeFilter = inject(FacilityChargeFilterService);
/** Minimum Due Date allowed. */
minDate = new Date(2000, 0, 1);
@@ -68,7 +70,9 @@ export class AddChargeSavingsAccountComponent implements OnInit {
*/
constructor() {
this.route.data.subscribe((data: { savingsAccountActionData: any }) => {
this.savingsChargeOptions = data.savingsAccountActionData.chargeOptions;
this.facilityChargeFilter
.excludeFacilityCharges(data.savingsAccountActionData.chargeOptions)
.subscribe((charges: any[]) => (this.savingsChargeOptions = charges));
});
this.savingAccountId = this.route.snapshot.params['savingAccountId'];
}