@extends('componentes.corpo') @section('cadastroGeral') active @endsection @section('pessoas') active @endsection @section('head') @endsection @section('propriedade') active @endsection @section('conteudo')

@if(empty($editar)) Cadastro de @else Editar @endif Pessoas

@if(empty($editar))
@else @endif @csrf
cpf}}" @else {{$pessoasEditar->cnpj}}" @endif @endif onkeypress='mascaraMutuario(this,cpfCnpj)' onblur='clearTimeout()' name="cpfcnpj" id="cpfcnpj" />
rg}}" @else {{$pessoasEditar->ie}}" @endif @endif placeholder="RG ou Inscriçao Estaudal" name="rgie" id="rgie" />

TIPO DE PESSOA

nome == "CLIENTE") checked @break @endif @endforeach @endif name="tipo[]" value="CLIENTE" id="customCheck1">
nome == "FUNCIONARIO") checked @break @endif @endforeach @endif name="tipo[]" value="FUNCIONARIO" id="customCheck2">
nome == "FORNECEDOR") checked @break @endif @endforeach @endif name="tipo[]" value="FORNECEDOR" id="customCheck3">
nome == "PRODUTOR") checked @break @endif @endforeach @endif name="tipo[]" value="PRODUTOR" id="customCheck4">
nome == "FAZENDA") checked @break @endif @endforeach @endif name="tipo[]" value="FAZENDA" id="customCheck5">
nome == "ARMAZEM") checked @break @endif @endforeach @endif name="tipo[]" value="ARMAZEM" id="customCheck6">
nome == "TRANSPORTADORA") checked @break @endif @endforeach @endif name="tipo[]" value="TRANSPORTADORA" id="customCheck7">
nome == "DEPOSITANTE") checked @break @endif @endforeach @endif value="DEPOSITANTE" id="customCheck8">
nome == "MOTORISTA") checked @break @endif @endforeach @endif value="MOTORISTA" id="customCheck9">

@if(!empty($editar)) @foreach($telefones as $t)
@endforeach @endif
@if(!empty($editar)) + Cadastrar Nova Pessoa @endif

Visualizar

@php $i=1; @endphp @foreach($pessoas as $p) @endforeach
Código Nome Ações
{{$i++}} {{$p->nome}}
Código Nome Ações
@endsection @section('footer') @endsection