Loan Reschedule management in Loan Account (#1637)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
1bccd96c37
commit
08a327fdbf
@@ -267,6 +267,22 @@ export class LoansService {
|
||||
return this.http.get('/rescheduleloans/template');
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Loan Reschedule request
|
||||
*/
|
||||
loanRescheduleRequests(loanId: any) {
|
||||
const httpParams = new HttpParams().set('loanId', loanId);
|
||||
return this.http.get('/rescheduleloans', { params: httpParams });
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Loan Reschedule request
|
||||
*/
|
||||
applyCommandLoanRescheduleRequests(rescheduleId: any, command: string, data: any) {
|
||||
const httpParams = new HttpParams().set('command', command);
|
||||
return this.http.post(`/rescheduleloans/${rescheduleId}`, data, { params: httpParams });
|
||||
}
|
||||
|
||||
/**
|
||||
* Submits Reschedule Data
|
||||
* @param {any} data Data
|
||||
|
||||
Reference in New Issue
Block a user