@extends('default.layout') @section('content')

Dados do Representante

@csrf
@if($errors->has('nome'))
{{ $errors->first('nome') }}
@endif
@if($errors->has('rua'))
{{ $errors->first('rua') }}
@endif
@if($errors->has('numero'))
{{ $errors->first('numero') }}
@endif
@if($errors->has('bairro'))
{{ $errors->first('bairro') }}
@endif
@if($errors->has('cidade'))
{{ $errors->first('cidade') }}
@endif
cnpj) == 14) id="cpf_cnpj" @else d="cpf_cnpj" @endif class="form-control @if($errors->has('cpf_cnpj')) is-invalid @endif cpf_cnpj" name="cpf_cnpj" value="{{$representante->cpf_cnpj}}"> @if($errors->has('cpf_cnpj'))
{{ $errors->first('cpf_cnpj') }}
@endif
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('telefone'))
{{ $errors->first('telefone') }}
@endif
@if($errors->has('comissao'))
{{ $errors->first('comissao') }}
@endif
@if($errors->has('limite_cadastros'))
{{ $errors->first('limite_cadastros') }}
@endif
@if($errors->has('senha_master'))
{{ $errors->first('senha_master') }}
@endif
@foreach($menu as $m)
@foreach($m['subs'] as $s) @if($s['nome'] != 'NFS-e') @php $link = str_replace('/', '', $s['rota']); $link = str_replace('.', '_', $link); $link = str_replace(':', '_', $link); @endphp @endif @endforeach
@endforeach

Data de cadastro: {{ \Carbon\Carbon::parse($representante->created_at)->format('d/m/Y H:i:s')}}


@endsection @section('javascript') @endsection