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
@@ -111,7 +111,7 @@ export class LoansViewComponent implements OnInit {
}
loanAction(button: string) {
button = button.replace(' ', '-').toLowerCase();
button = button.replace(/\s/g, '-').toLowerCase();
this.router.navigate([button], { relativeTo: this.route });
}