@@ -154,6 +154,12 @@ export class LoansService {
|
||||
return this.http.post(`/loans/${loanId}/transactions`, data, {params: httpParams});
|
||||
}
|
||||
|
||||
getLoanScreenReportsData(): Observable<any> {
|
||||
const httpParams = new HttpParams().set('entityId', '1')
|
||||
.set('typeId', '0');
|
||||
return this.http.get(`/templates`, {params: httpParams});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Loan Datatables
|
||||
*/
|
||||
@@ -331,4 +337,9 @@ export class LoansService {
|
||||
return this.http.put(`/loans/${loanId}`, loanData);
|
||||
}
|
||||
|
||||
getTemplateData(templateId: any, loanId: any): Observable<any> {
|
||||
const httpParams = new HttpParams().set('loanId', loanId);
|
||||
return this.http.post(`/templates/${templateId}`, {}, { params: httpParams, responseType: 'text'});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user