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

Cadastrar Empresa

@csrf
@if($errors->has('cnpj'))
{{ $errors->first('cnpj') }}
@endif
@if($errors->has('nome'))
{{ $errors->first('nome') }}
@endif
@if($errors->has('nome_fantasia'))
{{ $errors->first('nome_fantasia') }}
@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
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('telefone'))
{{ $errors->first('telefone') }}
@endif

@if($errors->has('login'))
{{ $errors->first('login') }}
@endif
@if($errors->has('senha'))
{{ $errors->first('senha') }}
@endif
@if($errors->has('nome_usuario'))
{{ $errors->first('nome_usuario') }}
@endif
@if($errors->has('contador_id'))
{{ $errors->first('contador_id') }}
@endif
@if(sizeof($perfis) > 0)
@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
@endsection @section('javascript') @endsection