feat: client actions (withdraw) (#1077)

Fixes: #1076
This commit is contained in:
Karan Takalkar
2020-07-13 15:45:20 +05:30
committed by GitHub
parent 9a6791d713
commit cdb6a46de7
10 changed files with 172 additions and 5 deletions
@@ -30,12 +30,14 @@ export class ClientActionsResolver implements Resolve<Object> {
switch (actionName) {
case 'Assign Staff':
return this.clientsService.getClientDataAndTemplate(clientId);
case 'Close':
return this.clientsService.getClientCommandTemplate('close');
case 'Survey':
return this.clientsService.getSurveys(clientId);
case 'Close':
return this.clientsService.getClientCommandTemplate('close');
case 'Reject':
return this.clientsService.getClientCommandTemplate('reject');
case 'Withdraw':
return this.clientsService.getClientCommandTemplate('withdraw');
default:
return undefined;
}