feat: add loan action (guarantors) (#1059)

- add view guarantor
 - add create guarantor
 - add view guarantor details
 - add delete guarantor
 - add recover from guarantor
 - add delete loan action

Fixes: #832, #246
This commit is contained in:
Muskan Khedia
2020-07-12 11:06:38 +05:30
committed by GitHub
parent e74fdcf27b
commit ff6ac7028e
30 changed files with 838 additions and 20 deletions
+9
View File
@@ -69,6 +69,15 @@ export class AccountsFilterPipe implements PipeTransform {
});
}
}
if (type === 'guarantor') {
if (status === false) {
accounts = accounts.filter((account: any) => {
return (account.status === true);
});
} else {
return accounts;
}
}
return accounts;
}
}