edit claim basic data for salesPerson #1433
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-05-16 09:33:56 +02:00
parent 1ae2512169
commit b70316551b
1 changed files with 3 additions and 4 deletions

View File

@ -10,12 +10,11 @@ class Controller {
}
onSubmit() {
if (this.aclService.hasAny(['salesAssistant'])) {
this.$scope.watcher.submit().then(() => {
if (this.aclService.hasAny(['salesAssistant']))
this.$state.go('claim.card.detail');
});
}
}
}
Controller.$inject = ['$scope', '$state', 'aclService'];