{{ isset($pessoa) ? ($pessoa->razaosocial ?? $pessoa->nome) : 'Cadastro de Cliente' }}
@if(isset($pessoa)) #{{ $pessoa->idpessoa }} @endif
{{-- Messagens da session --}} @include('partials.session-message') @if ($errors->any() || session('error'))
{{$errors->any() ? $errors->first() : session('error')}}
@endif
@if (isset($pessoa))
#
@endif

Dados Cadastrais

{{-- Empresa --}}
{{-- Nome --}}
@if ($errors->has('nome')) {{ $errors->first('nome') }} @endif
{{-- Tipo --}} {{-- Razão social --}}
@if ($errors->has('razaosocial')) {{ $errors->first('razaosocial') }} @endif
{{-- CPF / CNPJ --}}
@if ($errors->has('cnpj')) {{ $errors->first('cnpj') }} @endif
@if ($errors->has('dataabertura')) {{ $errors->first('dataabertura') }} @endif
{{-- RG --}}
@if ($errors->has('regimetributario')) {{ $errors->first('regimetributario') }} @endif
@if ($errors->has('anexosimples')) {{ $errors->first('anexosimples') }} @endif
{{-- Inscrição estadual --}}
@if ($errors->has('inscestadual')) {{ $errors->first('inscestadual') }} @endif
@if ($errors->has('inscmunicipal')) {{ $errors->first('inscmunicipal') }} @endif
@php $atividadesPessoa = ['Comércio','Indústria','Serviços','Atividade Mista']; @endphp
{{-- Atividades - CNAES (EDITÁVEL + LOTE) --}}

Atividades - CNAES

{{-- inputs ocultos pro POST --}} {{-- painel de lote --}}
Duplicados são ignorados automaticamente.

Informações de Contato

{{-- Responsável --}}
@if ($errors->has('responsavel')) {{ $errors->first('responsavel') }} @endif
{{-- Telefone Fixo --}}
@if ($errors->has('telefone')) {{ $errors->first('telefone') }} @endif
{{-- Telefone Celular --}}
@if ($errors->has('celular')) {{ $errors->first('celular') }} @endif
{{-- Telefone Celular2 --}}
@if ($errors->has('celular2')) {{ $errors->first('celular2') }} @endif
{{-- Website --}}
@if ($errors->has('celular')) {{ $errors->first('website') }} @endif
{{-- E-mail --}}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif

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
@include('partials.status', ['model' => $pessoa ?? null])
@if(isset($pessoa))
@include('partials.upload', ['model' => $pessoa])
@endif
@push('js') @if(isset($pessoa)) @endif @endpush @push('js') @include('partials.upload-js') @endpush