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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user