@csrf
Dados gerais
{{-- CPF / CNPJ --}}
user()->isSuperAdmin()) readonly @else autofocus @endif> @if ($errors->has('cpf_cnpj')) {{ $errors->first('cpf_cnpj') }} @endif

{{ trans('cruds.contractor.fields.cpf_cnpj_helper') }}

{{-- NOME --}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif

{{ trans('cruds.contractor.fields.name_helper') }}

{{-- RESPONSÁVEL --}}
@if ($errors->has('responsible')) {{ $errors->first('responsible') }} @endif

{{ trans('cruds.contractor.fields.responsible_helper') }}

{{-- TELEFONE --}}
@if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif

{{ trans('cruds.contractor.fields.telephone_helper') }}

{{-- CELULAR --}}
@if ($errors->has('cellphone')) {{ $errors->first('cellphone') }} @endif

{{ trans('cruds.contractor.fields.cellphone_helper') }}

{{-- EMAIL --}}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif

{{ trans('cruds.contractor.fields.email_helper') }}

{{-- WEBSITE --}}
@if ($errors->has('website')) {{ $errors->first('website') }} @endif

{{ trans('cruds.contractor.fields.website_helper') }}

@if (Request::is('admin/contractors/create')) {{-- Sem Logotipo --}} @else @if (!$contractor->logo == '') @if (file_exists(public_path('/storage/contractors/' . $contractor->uuid . '/' . $contractor->logo))) @else Sem logotipo @endif @else Sem logotipo @endif @endif
@if ($errors->has('logo')) {{ $errors->first('logo') }} @endif

{{ trans('cruds.contractor.fields.logo_helper') }}

{{-- QUANTIDADE DE SEDES --}}
user()->isSuperAdmin()) readonly @endif> @if ($errors->has('headquarter_qty')) {{ $errors->first('headquarter_qty') }} @endif

{{ trans('cruds.contractor.fields.headquarter_qty_helper') }}

{{--
user()->isSuperAdmin()) readonly @endif> @if ($errors->has('expiration_date')) {{ $errors->first('expiration_date') }} @endif

{{ trans('cruds.contractor.fields.expiration_date_helper') }}

--}}
user()->isSuperAdmin()) disabled="disabled" @endif {{ ($contractor->active ?? old('active')) == '' ? 'checked' : (($contractor->active ?? old('active')) == 'on' ? 'checked' : 'unchecked') }}>
@if ($errors->has('active')) {{ $errors->first('active') }} @endif

{{ trans('cruds.contractor.fields.active_helper') }}

{{--
active ?? old('active')) == '' ? 'checked' : (($contractor->active ?? old('active')) == 'on' ? 'checked' : 'unchecked') }} @if (!auth()->user()->isSuperAdmin()) disabled @endif>
@if ($errors->has('active')) {{ $errors->first('active') }} @endif

{{ trans('cruds.contractor.fields.active_helper') }}

--}}
Endereço
{{-- CEP --}}
@if ($errors->has('zip')) {{ $errors->first('zip') }} @endif

{{ trans('cruds.address.fields.zip_helper') }}

{{-- CIDADE --}}
@if ($errors->has('city')) {{ $errors->first('city') }} @endif

{{ trans('cruds.address.fields.city_helper') }}

{{-- UF --}}
@if ($errors->has('state')) {{ $errors->first('state') }} @endif

{{ trans('cruds.address.fields.state_helper') }}

{{-- BAIRRO --}}
@if ($errors->has('district')) {{ $errors->first('district') }} @endif

{{ trans('cruds.address.fields.district_helper') }}

{{-- ENDEREÇO --}}
@if ($errors->has('address')) {{ $errors->first('address') }} @endif

{{ trans('cruds.address.fields.address_helper') }}

{{-- NÚMERO --}}
@if ($errors->has('number')) {{ $errors->first('number') }} @endif

{{ trans('cruds.address.fields.number_helper') }}

{{-- COMPLEMENT --}}
@if ($errors->has('complement')) {{ $errors->first('complement') }} @endif

{{ trans('cruds.address.fields.complement_helper') }}

@if (auth()->user()->isSuperAdmin()) {{ trans('global.back') }} @else {{ trans('global.back') }} @endif
@section('scripts') @parent @endsection