existing account saving and current add or remove nominee and digital & account features and also FE & RD nominee add or remove

This commit is contained in:
keshav898966
2026-07-10 18:45:28 +05:30
parent 96c4a28c0f
commit 1692925d0d
39 changed files with 2733 additions and 93 deletions
@@ -0,0 +1,25 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Injectable, inject } from '@angular/core';
import { Resolve } from '@angular/router';
import { Observable } from 'rxjs';
import { CurrentAccountsService } from 'app/current-accounts/current-accounts.service';
/**
* Resolves all current account Nominee/Digital-Feature edits currently awaiting checker approval,
* for the Pending Current Account Edits screen.
*/
@Injectable()
export class GetPendingCurrentAccountEdits implements Resolve<any> {
private currentAccountsService = inject(CurrentAccountsService);
resolve(): Observable<any> {
return this.currentAccountsService.getAllPendingCurrentAccountEdits();
}
}
@@ -0,0 +1,25 @@
/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Injectable, inject } from '@angular/core';
import { Resolve } from '@angular/router';
import { Observable } from 'rxjs';
import { SavingsService } from 'app/savings/savings.service';
/**
* Resolves all savings account Nominee/Digital-Feature edits currently awaiting checker approval,
* for the Pending Savings Account Edits screen.
*/
@Injectable()
export class GetPendingSavingsAccountEdits implements Resolve<any> {
private savingsService = inject(SavingsService);
resolve(): Observable<any> {
return this.savingsService.getAllPendingSavingsAccountEdits();
}
}