@if (Auth::check()) @if (Auth::check()) @endif
@section('page-container')

@section('title-dashboard') Home @show

@section('option-dashboard') @show
@show @section('pg-home')
@show @if(!isset($wrapper))
@section('content') @if(Session::has('sucesso'))
{!! trans('padrao.sucesso') !!}
@endif @if(Session::has('etiqueta-sucesso'))
{!! trans('padrao.sucesso') !!} Gerar Etiquetas
@endif @if(Session::has('venda-sucesso'))
{!! trans('padrao.sucesso') !!} Imprimir
@endif @if(Session::has('orcamento-sucesso'))
{!! trans('padrao.sucesso') !!} Imprimir
@endif @if(Session::has('caixafechado'))
{!! trans('padrao.caixafechado') !!}
@endif @if(Session::has('erro_valor_maior'))
{!! trans('padrao.erro_valor_maior') !!}
@endif @if(Session::has('erro_preenchimento'))
{!! trans('padrao.erro_preenchimento') !!}
@endif @if(Session::has('saldo_insuficiente'))
{!! trans('padrao.saldo_insuficiente') !!}
@endif @if(Session::has('duplicado'))
{!! trans('padrao.duplicado',['name' => 'CPF ou CNPJ']) !!}
@endif @if(isset($validade_certificado)) @if($validade_certificado <= 30)
@if($validade_certificado <= 0) O certificado digital esta vencido ou inválido! @endif @if($validade_certificado > 0) O certificado digital expira em: {{$validade_certificado}} dias! @endif
@endif @endif @show
@endif
@else
@section('pg-login')
@show
@endif @if (Auth::check()) @include('painel.footer') @endif