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"> auto-load="false">
</vn-crud-model> </vn-crud-model>
<vn-vertical> <vn-vertical>
<vn-card class="vn-pa-lg vn-w-md"> <vn-card class="vn-pa-lg vn-w-lg">
<vn-vertical> <vn-vertical>
<vn-horizontal> <vn-horizontal>
<vn-autocomplete <vn-autocomplete

View File

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