{{-- Messagens da session --}} @include('partials.session-message')
{{ isset($empresa) ? $empresa->nomefantasia : '-' }}

{{ isset($empresa) ? $empresa->razaosocial : '-' }}

@if (isset($empresa)) @endif

Empresa

DADOS CADASTRAIS

@if ($errors->has('name')) {{ $errors->first('nomefantasia') }} @endif
@if ($errors->has('name')) {{ $errors->first('nomefantasia') }} @endif
@if ($errors->has('sigla')) {{ $errors->first('sigla') }} @endif
@if ($errors->has('cnpj')) {{ $errors->first('cnpj') }} @endif
{{-- Inscrição estadual --}}
@if ($errors->has('inscestadual')) {{ $errors->first('inscestadual') }} @endif
{{-- Origem Base --}}

Endereço

{{-- CEP --}}
@if ($errors->has('cep')) {{ $errors->first('cep') }} @endif
{{-- Endereço --}}
@if ($errors->has('endereco')) {{ $errors->first('endereco') }} @endif
{{-- Número --}}
@if ($errors->has('numero')) {{ $errors->first('numero') }} @endif
{{-- Complemento --}}
@if ($errors->has('complemento')) {{ $errors->first('complemento') }} @endif
{{-- Bairro --}}
@if ($errors->has('bairro')) {{ $errors->first('bairro') }} @endif
{{-- Cidade --}}
@if ($errors->has('cidade')) {{ $errors->first('cidade') }} @endif
{{-- Estado --}}
@if ($errors->has('estado')) {{ $errors->first('estado') }} @endif
@if ($errors->has('ibge')) {{ $errors->first('ibge') }} @endif

FTP

@if ($errors->has('ftpHost')) {{ $errors->first('ftpHost') }} @endif
@if ($errors->has('ftpPassword')) {{ $errors->first('ftpPassword') }} @endif
@if ($errors->has('ftpUser')) {{ $errors->first('ftpUser') }} @endif
@if ($errors->has('ftpPort')) {{ $errors->first('ftpPort') }} @endif
@if(isset($empresa)) @include('partials.upload', ['model' => $empresa]) @endif

Usuários

LIBERAÇÃO DE ACESSO

@if (isset($empresa)) @csrf @foreach($users as $user)
empresas->contains($empresa->idempresa) ? 'checked' : '' }} />

@endforeach @endif

Transportadoras

LIBERAÇÃO DE ACESSOs

@if (isset($empresa)) @csrf @foreach($transportadoras as $transportadora)
empresas->contains($empresa->idempresa) ? 'checked' : '' }} />

@endforeach @endif
@include('partials.upload-js') @include('layouts.footers.auth.footer')