Skip to content

Commit

Permalink
file updated..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jan 1, 2021
1 parent 44bf805 commit 504bc5d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/Providers/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function boot()
]);

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', [
Expand Down
10 changes: 4 additions & 6 deletions resources/assets/js/components/AkauntingSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -499,7 +498,6 @@ export default {
}
}, this);
}
*/
},
visibleChange(event) {
Expand Down
10 changes: 4 additions & 6 deletions resources/assets/js/components/AkauntingSelectRemote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -615,7 +614,6 @@ export default {
}
}, this);
}
*/
},
visibleChange(event) {
Expand Down

0 comments on commit 504bc5d

Please sign in to comment.