Enhancement in loan and savings account views (#1690)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
c0185627f7
commit
6ef53c6462
@@ -60,7 +60,6 @@ export class ChargesTabComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
ngOnInit() {
|
||||
this.chargesData = this.loanDetails.charges;
|
||||
this.status = this.loanDetails.status.value;
|
||||
@@ -78,6 +77,14 @@ export class ChargesTabComponent implements OnInit {
|
||||
this.dataSource.sort = this.sort;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asjust the Loan charge.
|
||||
* @param {any} chargeId Charge Id
|
||||
*/
|
||||
adjustCharge(chargeId: string) {
|
||||
this.router.navigate([`${chargeId}/adjustment`], { relativeTo: this.route });
|
||||
}
|
||||
|
||||
/**
|
||||
* Pays the charge.
|
||||
* @param {any} chargeId Charge Id
|
||||
|
||||
Reference in New Issue
Block a user