Hotfixes: vnTicketSale menu, vnItemDiary width

This commit is contained in:
Juan Ferrer 2019-12-17 12:23:31 +01:00
parent d1341c2758
commit 4da83ef963
2 changed files with 9 additions and 12 deletions

View File

@ -6,7 +6,7 @@
auto-load="false">
</vn-crud-model>
<vn-vertical>
<vn-card class="vn-pa-lg vn-w-md">
<vn-card class="vn-pa-lg vn-w-lg">
<vn-vertical>
<vn-horizontal>
<vn-autocomplete

View File

@ -11,28 +11,25 @@ class Controller {
this.$http = $http;
this.edit = {};
this.moreOptions = [
{name: 'Send SMS', callback: this.showSMSDialog},
{
name: 'Send SMS',
callback: this.showSMSDialog
}, {
name: 'Mark as reserved',
callback: this.markAsReserved,
show: () => this.isEditable
},
{
}, {
name: 'Unmark as reserved',
callback: this.unmarkAsReserved,
show: () => this.isEditable
},
{
}, {
name: 'Update discount',
callback: this.showEditDialog,
show: () => this.isEditable
},
{
}, {
name: 'Add claim',
callback: this.createClaim,
show: () => this.isEditable
},
{
callback: this.createClaim
}, {
name: 'Recalculate price',
callback: this.calculateSalePrice,
show: () => this.hasOneSaleSelected()