New Loan transactions

This commit is contained in:
Jose Alberto Hernandez
2022-08-07 23:07:56 -05:00
parent 1c8a772de6
commit e394becdcc
12 changed files with 386 additions and 110 deletions
@@ -111,7 +111,8 @@ export class MakeRepaymentComponent implements OnInit {
dateFormat,
locale
};
this.loanService.submitLoanActionButton(this.loanId, data, 'repayment')
const command = this.dataObject.type.code.split('.')[1];
this.loanService.submitLoanActionButton(this.loanId, data, command)
.subscribe((response: any) => {
this.router.navigate(['../../transactions'], { relativeTo: this.route });
});