@csrf @if ($edit) @method('PUT') @endif

Clientes

Cadastro dos clientes do aplicativo

@php($tiposPessoasError = ($errors->has('tipo_pessoa_id')))
@php($count = 0) @foreach($tiposClientes as $tipo) tipo_pessoa_id)) @if ($tipo->id === $model->tipo_pessoa_id) checked @endif @elseif ($count === 0) checked @endif > @php($count++) @endforeach @if ($tiposPessoasError) @endif
@php($nomeError = ($errors->has('nome')))
@if ($nomeError) @endif
@php($emailError = ($errors->has('email')))
@if ($emailError) @endif
@php($celularError = ($errors->has('celular')))
@if ($celularError) @endif
@php($oabError = ($errors->has('oab')))
@if ($oabError) @endif
@php($cpfError = ($errors->has('cpf')))
@if ($cpfError) @endif
@php($cidadeId = ($errors->has('cidade_id'))) @if ($cidadeId) @endif
@if ($edit)
@endif
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- Adicionar documento--}} {{--
--}} {{--
--}} @php($responsavelErro = ($errors->has('responsavel_id')))
@if ($responsavelErro) @endif
@include('components.submit-button', ['route' => route('admin.permissoes.index')])