share certificate and share product maker checker
This commit is contained in:
@@ -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 { SharesService } from 'app/shares/shares.service';
|
||||
|
||||
/**
|
||||
* Resolves all Share Account details edits currently awaiting checker approval, for the Pending Share
|
||||
* Account Edits screen.
|
||||
*/
|
||||
@Injectable()
|
||||
export class GetPendingShareAccountEdits implements Resolve<any> {
|
||||
private sharesService = inject(SharesService);
|
||||
|
||||
resolve(): Observable<any> {
|
||||
return this.sharesService.getAllPendingShareAccountEdits();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user