@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.companies', 1)])) @section('content')
{!! Form::open([ 'id' => 'company', 'route' => 'companies.store', '@submit.prevent' => 'onSubmit', '@keydown' => 'form.errors.clear($event.target.name)', 'files' => true, 'role' => 'form', 'class' => 'form-loading-button', 'novalidate' => true ]) !!}
{{ Form::textGroup('name', trans('general.name'), 'font') }} {{ Form::emailGroup('email', trans('general.email'), 'envelope') }} {{ Form::selectGroup('currency', trans_choice('general.currencies', 1), 'exchange-alt', $currencies) }} {{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), setting('default.locale', config('app.locale', 'en-GB')), []) }} {{ Form::textGroup('tax_number', trans('general.tax_number'), 'percent', [], setting('company.tax_number')) }} {{ Form::textGroup('phone', trans('settings.company.phone'), 'phone', [], setting('company.phone')) }} {{ Form::textareaGroup('address', trans('general.address'), '', '', ['rows' => '2', 'v-model' => 'form.address']) }} {{ Form::textGroup('city', trans_choice('general.cities', 1), 'city', [], setting('company.city')) }} {{ Form::textGroup('zip_code', trans('general.zip_code'), 'mail-bulk', [], setting('company.zip_code')) }} {{ Form::textGroup('state', trans('general.state'), 'city', [], setting('company.state')) }} {{ Form::selectGroup('country', trans_choice('general.countries', 1), 'globe-americas', trans('countries'), setting('company.country'), ['model' => 'form.country']) }} {{ Form::fileGroup('logo', trans('companies.logo'), '', ['dropzone-class' => 'form-file']) }} {{ Form::radioGroup('enabled', trans('general.enabled'), true) }}
{!! Form::close() !!}
@endsection @push('scripts_start') @endpush