feat: add loans view page (#661)
- Add loan account page - Add general tab - Add account details tab Fixes: #219
This commit is contained in:
@@ -12,7 +12,7 @@ import { Observable } from 'rxjs';
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class LoansService {
|
||||
constructor(private http: HttpClient) {}
|
||||
constructor(private http: HttpClient) { }
|
||||
/**
|
||||
* @param {string} loanId loanId of the loan.
|
||||
* @returns {Observable<any>}
|
||||
@@ -29,4 +29,8 @@ export class LoansService {
|
||||
return this.http.post(`/loans/${loanId}/${resourceType}`, loanCharge);
|
||||
}
|
||||
|
||||
getLoanAccountDetails(loanId: string) {
|
||||
return this.http.get(`/loans/${loanId}`);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user