feat: add loan button (close-as-rescheduled) (#876)

Fixes: #848
This commit is contained in:
Muskan Khedia
2020-06-26 00:27:46 +05:30
committed by GitHub
parent 1dffa27e82
commit c1aa7d800a
11 changed files with 153 additions and 6 deletions
@@ -112,6 +112,8 @@ export class LoansViewComponent implements OnInit {
loanAction(button: string) {
button = button.replace(/\s/g, '-').toLowerCase();
button = button.replace(/\(/g, '');
button = button.replace(/\)/g, '');
this.router.navigate([button], { relativeTo: this.route });
}