added language selection in company

This commit is contained in:
denisdulici
2020-02-27 11:32:44 +03:00
parent 3c9c75f267
commit befb921d3e
4 changed files with 9 additions and 8 deletions

View File

@ -23,7 +23,7 @@
{{ Form::selectGroup('currency', trans_choice('general.currencies', 1), 'exchange-alt', $currencies) }}
{{ Form::textGroup('domain', trans('companies.domain'), 'globe', []) }}
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), setting('default.locale', config('app.locale', 'en-GB')), []) }}
{{ Form::textareaGroup('address', trans('general.address')) }}

View File

@ -22,9 +22,9 @@
{{ Form::emailGroup('email', trans('general.email'), 'envelope') }}
{{ Form::selectGroup('currency', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $company->currency) }}
{{ Form::selectGroup('currency', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $company->currency ?? 'USD') }}
{{ Form::textGroup('domain', trans('companies.domain'), 'globe', []) }}
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), $company->locale ?? config('app.locale', 'en-GB'), []) }}
{{ Form::textareaGroup('address', trans('general.address')) }}