file updated..
This commit is contained in:
parent
44bf805d1b
commit
504bc5d3a7
@ -120,7 +120,7 @@ class Form extends Provider
|
||||
]);
|
||||
|
||||
Facade::component('recurring', 'partials.form.recurring', [
|
||||
'page', 'model' => null, 'col' => 'col-md-12',
|
||||
'page', 'model' => null, 'col' => 'col-md-6',
|
||||
]);
|
||||
|
||||
Facade::component('invoice_text', 'partials.form.invoice_text', [
|
||||
|
@ -435,7 +435,6 @@ export default {
|
||||
this.$emit('change', this.selected);
|
||||
|
||||
// Option changed sort_option data
|
||||
/*
|
||||
if (this.group) {
|
||||
this.sort_options.forEach(function (option_group, group_index) {
|
||||
this.option_group.value.forEach(function (option, index) {
|
||||
@ -446,7 +445,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -459,7 +458,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -477,7 +476,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -490,7 +489,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -499,7 +498,6 @@ export default {
|
||||
}
|
||||
}, this);
|
||||
}
|
||||
*/
|
||||
},
|
||||
|
||||
visibleChange(event) {
|
||||
|
@ -551,7 +551,6 @@ export default {
|
||||
this.$emit('change', this.selected);
|
||||
|
||||
// Option changed sort_option data
|
||||
/*
|
||||
if (this.group) {
|
||||
this.sort_options.forEach(function (option_group, group_index) {
|
||||
this.option_group.value.forEach(function (option, index) {
|
||||
@ -562,7 +561,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.value == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -575,7 +574,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.value == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -593,7 +592,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.value == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -606,7 +605,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.value == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -615,7 +614,6 @@ export default {
|
||||
}
|
||||
}, this);
|
||||
}
|
||||
*/
|
||||
},
|
||||
|
||||
visibleChange(event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user