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

{{isset($funcionario) ? 'Editar' : 'Novo'}} Funcionário

@csrf
@if($errors->has('nome'))
{{ $errors->first('nome') }}
@endif
@if($errors->has('cpf'))
{{ $errors->first('cpf') }}
@endif
@if($errors->has('rg'))
{{ $errors->first('rg') }}
@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('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('telefone'))
{{ $errors->first('telefone') }}
@endif
@if($errors->has('celular'))
{{ $errors->first('celular') }}
@endif
@if($errors->has('data_registro'))
{{ $errors->first('data_registro') }}
@endif
@if($errors->has('salario'))
{{ $errors->first('salario') }}
@endif
@if($errors->has('percentual_comissao'))
{{ $errors->first('percentual_comissao') }}
@endif
@endsection