feat: add loan action (disburse) (#1062)

Fixes: #856
This commit is contained in:
Muskan Khedia
2020-07-12 16:26:05 +05:30
committed by GitHub
parent 1c820d4467
commit 3be568b20e
10 changed files with 249 additions and 7 deletions
@@ -37,7 +37,7 @@ export class UndoApprovalComponent implements OnInit {
*/
submit() {
const loanId = this.route.parent.snapshot.params['loanId'];
this.loanService.loanActionButtons(loanId, {'note': this.note.value}, 'undoapproval').subscribe((response: any) => {
this.loanService.loanActionButtons(loanId, 'undoapproval', { 'note': this.note.value }).subscribe((response: any) => {
this.router.navigate(['../general'], {relativeTo: this.route});
});
}