Loan Product Repayment Start date configuration (#1846)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
f557088ecd
commit
19cb457a1f
@@ -2,8 +2,8 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Resolve, ActivatedRouteSnapshot } from '@angular/router';
|
||||
|
||||
// rxjs Imports
|
||||
import { Observable, of } from 'rxjs';
|
||||
// rxjs Imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// Custom Service
|
||||
import { SavingsService } from '../savings.service';
|
||||
@@ -11,8 +11,8 @@ import { SavingsService } from '../savings.service';
|
||||
@Injectable()
|
||||
export class TransactionDatatableResolver implements Resolve<Object> {
|
||||
/**
|
||||
*
|
||||
* @param {SavingsService} savingsService
|
||||
*
|
||||
* @param {SavingsService} savingsService
|
||||
*/
|
||||
constructor(private savingsService: SavingsService) { }
|
||||
/**
|
||||
@@ -25,4 +25,4 @@ export class TransactionDatatableResolver implements Resolve<Object> {
|
||||
const datatableName = route.paramMap.get('datatableName');
|
||||
return this.savingsService.getSavingsTransactionDatatable(accountId, datatableName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Resolve, ActivatedRouteSnapshot } from '@angular/router';
|
||||
|
||||
// rxjs Imports
|
||||
import { Observable, of } from 'rxjs';
|
||||
// rxjs Imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// Custom Service
|
||||
import { SavingsService } from '../savings.service';
|
||||
@@ -12,16 +12,16 @@ import { SavingsService } from '../savings.service';
|
||||
export class TransactionDatatablesResolver implements Resolve<Object> {
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param savingsService Savings Service
|
||||
*/
|
||||
constructor(private savingsService: SavingsService) { }
|
||||
/**
|
||||
*
|
||||
* @param route
|
||||
*
|
||||
* @param route
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
resolve(route: ActivatedRouteSnapshot): Observable<any> {
|
||||
return this.savingsService.getSavingsTransactionDatatables();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user