feat: add loan button (assign/change loan officer) (#867)

Fixes: #248
This commit is contained in:
Muskan Khedia
2020-06-13 00:23:40 +05:30
committed by GitHub
parent 5729887a62
commit de701543e1
13 changed files with 218 additions and 11 deletions
@@ -37,7 +37,7 @@ export class UndoApprovalComponent implements OnInit {
*/
submit() {
const loanId = this.route.parent.snapshot.params['loanId'];
this.loanService.undoLoanApproval(loanId, {'note': this.note.value}).subscribe((response: any) => {
this.loanService.loanActionButtons(loanId, {'note': this.note.value}, 'undoapproval').subscribe((response: any) => {
this.router.navigate(['../general'], {relativeTo: this.route});
});
}