feat(WEB-505): implement waive penalties for loan repayment and reschedule (#2941)

Fix waive-penalties amount calc and align translations across locales

fix:test issue

Fix waive penalties recalculation, clean up subscription leaks, and align penalty translations
This commit is contained in:
Shubham Kumar
2025-12-28 16:09:08 -06:00
committed by GitHub
parent cb52f59dc3
commit 62c175ff15
21 changed files with 668 additions and 38 deletions
+8
View File
@@ -528,6 +528,14 @@ export class LoansService {
return this.http.get(`/loans/${loanId}/guarantors/accounts/template`, { params: httpParams });
}
/**
* @param {string} loanId Loan Id
* @returns {Observable<any>} All charges for the loan
*/
getLoanCharges(loanId: string): Observable<any> {
return this.http.get(`/loans/${loanId}/charges`);
}
/**
* @param {string} accountId loans account Id
* @param {string} chargeId loans charge Id