@php $sacramento = false; use App\Consorciado; $user = Auth::user(); $conso = Consorciado::where('cidade', $form->empreedimento_municipio)->first(); if ($user->account_id == 4) { $sacramento = true; } $time = \Carbon\Carbon::now(); @endphp @if (isset($conso->brasao) && $conso->brasao != '' && !$sacramento) @endif

LICENÇA AMBIENTAL SIMPLIFICADA - {{ $user->account->id == 8 ? '' : 'CLASSE 1 - 4 '}}Nº {{ $form->processo_numero }}

{{ $titulo }}

{!! $messagem !!}
@if (!isset($conso->nome_presidente_2))
@if (isset($conso->assinatura_presidente)) @if ($conso->assinatura_presidente != '') @endif
@if(!$sacramento)
@endif @endif @if (isset($conso->nome_presidente)) {{ $conso->nome_presidente }}
{{ $conso->cargo }}
@endif @if (isset($conso->estado)) @php $estados = DB::table('states') ->where('id', $conso->estado) ->first(); @endphp {{ $conso->cidade }} - {{ $estados->abbreviation }}
@endif
@else
@if (isset($conso->assinatura_presidente))

@endif @if (isset($conso->nome_presidente)) {{ $conso->nome_presidente }}
{{ $conso->cargo }}
@endif @if (isset($conso->estado)) @php $estados = DB::table('states') ->where('id', $conso->estado) ->first(); @endphp {{ $conso->cidade }} - {{ $estados->abbreviation }}
@endif
@if (isset($conso->assinatura_presidente_2))

@endif @if (isset($conso->nome_presidente_2)) {{ $conso->nome_presidente_2 }}
{{ $conso->cargo_2 }}
@endif @if (isset($conso->estado)) @php $estados = DB::table('states') ->where('id', $conso->estado) ->first(); @endphp {{ $conso->cidade }} - {{ $estados->abbreviation }}
@endif
@endif @if (!$sacramento)


@endif





LICENÇA AMBIENTAL SIMPLIFICADA - {{ $user->account->id == 8 ? '' : 'CLASSE 1 - 4 '}}Nº {{ $form->processo_numero }}

{{ $titulo }}

{!! $messagemverso !!}