3364-zone_events bug #785

Merged
joan merged 7 commits from 3364-zone_events into dev 2021-11-17 12:51:22 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 146337b30f - Show all commits

View File

@ -23,9 +23,7 @@ class Controller extends Component {
} }
loadDefaultTicketAction() { loadDefaultTicketAction() {
const isSalesAssistant = this.aclService.hasAny(['salesAssistant']); let filter = {where: {code: 'changePrice'}};
const defaultOption = isSalesAssistant ? 'turnInMana' : 'changePrice';
const filter = {where: {code: defaultOption}};
this.$http.get(`TicketUpdateActions`, {filter}).then(response => { this.$http.get(`TicketUpdateActions`, {filter}).then(response => {
return this.ticket.option = response.data[0].id; return this.ticket.option = response.data[0].id;