diff --git a/resources/assets/js/components/AkauntingSelectRemote.vue b/resources/assets/js/components/AkauntingSelectRemote.vue index aef83e650..e600a6b6c 100644 --- a/resources/assets/js/components/AkauntingSelectRemote.vue +++ b/resources/assets/js/components/AkauntingSelectRemote.vue @@ -11,7 +11,7 @@ formClasses ]" :error="formError"> - + + + + {{ noMatchingDataText }} + + + + + + + {{ add_new_text }} + + + + + + + + + {{ noDataText }} + + + + + + + {{ add_new_text }} + + + + + + + + + + + + + + {{ label }} + {{ new_text }} + + + + + {{ label }} + {{ new_text }} + + + + + + + + {{ add_new_text }} + + + + + company_ids, ['required' => 'required', 'remote_action' => route('companies.autocomplete'), 'remote_type' => 'company']) }} + {{ Form::multiSelectRemoteGroup('companies', trans_choice('general.companies', 2), 'user', $companies, $user->company_ids, ['required' => 'required', 'disabled' => (in_array('customer', $user->roles()->pluck('name')->toArray())) ? 'true' : 'false', 'remote_action' => route('companies.autocomplete'), 'remote_type' => 'company']) }} @endpermission @permission('read-auth-roles') diff --git a/resources/views/partials/form/select_remote_group.blade.php b/resources/views/partials/form/select_remote_group.blade.php index e7070acd9..b234abc2a 100644 --- a/resources/views/partials/form/select_remote_group.blade.php +++ b/resources/views/partials/form/select_remote_group.blade.php @@ -55,7 +55,10 @@ remote-action="{{ $attributes['remote_action'] }}" remote-type="'{{ $attributes['remote_type'] }}" + + @if (!empty($attributes['currecny_code'])) currency-code="{{ $attributes['currecny_code'] }}" + @endif loading-text="{{ trans('general.loading') }}" no-data-text="{{ trans('general.no_data') }}"
+ {{ noMatchingDataText }} +
+ {{ noDataText }} +