diff --git a/resources/assets/js/components/AkauntingSelect.vue b/resources/assets/js/components/AkauntingSelect.vue index 9417a06c0..665d2d160 100644 --- a/resources/assets/js/components/AkauntingSelect.vue +++ b/resources/assets/js/components/AkauntingSelect.vue @@ -501,7 +501,7 @@ export default { this.change(); - this.add_new.status = false; + //this.add_new.status = false; } }) .catch(error => { diff --git a/resources/views/partials/form/multi_select_add_new_group.blade.php b/resources/views/partials/form/multi_select_add_new_group.blade.php index 3bb7fb739..886e01ffd 100644 --- a/resources/views/partials/form/multi_select_add_new_group.blade.php +++ b/resources/views/partials/form/multi_select_add_new_group.blade.php @@ -18,7 +18,7 @@ :multiple="true" :add-new="{{ json_encode([ 'status' => true, - 'text' => trans('general.form.add_new', ['field' => $text]), + 'text' => trans('general.add_new'), 'path' => isset($attributes['path']) ? $attributes['path']: false, 'type' => isset($attributes['type']) ? $attributes['type'] : 'modal', 'field' => isset($attributes['field']) ? $attributes['field'] : 'name', diff --git a/resources/views/partials/form/select_add_new_group.blade.php b/resources/views/partials/form/select_add_new_group.blade.php index 0b7a8ab16..b702b661e 100644 --- a/resources/views/partials/form/select_add_new_group.blade.php +++ b/resources/views/partials/form/select_add_new_group.blade.php @@ -16,7 +16,7 @@ :value="'{{ old($name, $selected) }}'" :add-new="{{ json_encode([ 'status' => true, - 'text' => trans('general.form.add_new', ['field' => $text]), + 'text' => trans('general.add_new'), 'path' => isset($attributes['path']) ? $attributes['path']: false, 'type' => isset($attributes['type']) ? $attributes['type'] : 'modal', 'field' => isset($attributes['field']) ? $attributes['field'] : 'name', diff --git a/resources/views/partials/form/select_group_add_new_group.blade.php b/resources/views/partials/form/select_group_add_new_group.blade.php index 4670440d8..3486c6c36 100644 --- a/resources/views/partials/form/select_group_add_new_group.blade.php +++ b/resources/views/partials/form/select_group_add_new_group.blade.php @@ -17,7 +17,7 @@ :value="'{{ old($name, $selected) }}'" :add-new="{{ json_encode([ 'status' => true, - 'text' => trans('general.form.add_new', ['field' => $text]), + 'text' => trans('general.add_new'), 'path' => isset($attributes['path']) ? $attributes['path']: false, 'type' => isset($attributes['type']) ? $attributes['type'] : 'modal', 'field' => isset($attributes['field']) ? $attributes['field'] : 'name', diff --git a/resources/views/purchases/bills/item.blade.php b/resources/views/purchases/bills/item.blade.php index 0595e1bde..622fd53e2 100644 --- a/resources/views/purchases/bills/item.blade.php +++ b/resources/views/purchases/bills/item.blade.php @@ -24,7 +24,7 @@ :value="'{{ old('item_id', '') }}'" :add-new="{{ json_encode([ 'status' => true, - 'text' => trans('general.form.add_new', ['field' => '']), + 'text' => trans('general.add_new'), 'path' => route('modals.items.store'), 'type' => 'inline', 'field' => 'name', diff --git a/resources/views/sales/invoices/item.blade.php b/resources/views/sales/invoices/item.blade.php index 2427d4ae8..741358feb 100644 --- a/resources/views/sales/invoices/item.blade.php +++ b/resources/views/sales/invoices/item.blade.php @@ -24,7 +24,7 @@ :value="'{{ old('item_id', '') }}'" :add-new="{{ json_encode([ 'status' => true, - 'text' => trans('general.form.add_new', ['field' => '']), + 'text' => trans('general.add_new'), 'path' => route('modals.items.store'), 'type' => 'inline', 'field' => 'name',