{{$conta->cornoticia}} - Certificado de @if($type == 3) Dispensa de @endif Licença Ambiental Municipal
O Processo sob o número:
{{ $form->token }}, foi aprovado e gerado o Certificado de @if($type == 3) Dispensa de @endif Licença Ambiental Municipal.
Segue o link de acesso ao certificado:
@php
$DecisionPublication = \App\DocimentosTipo::where('nome', '2ª Publicação da Decisão')->first();
if (
!($url = \App\Documento::where('nome', 'Certificado')
->where('dados_id', $form->id)
->where('processo_id', $type)
->where('status', 1)
->first())
) {
$url['url'] = '';
}
if(!($documento = \App\Documento::where('token', $form->token)->where('status', 1)->where('tipo_id', $DecisionPublication->id)->where('processo_id', $type)->where('dados_id', $form->id)->first())){
$documento = '';
}
else{
$documento = $documento->url;
}
@endphp
{{ url('') }}/{{ $url['url'] }}
@if(!empty($document))
Publicação da Decisão:
{{ url('') }}/{{ $documento }}
@endif
{{ Auth::user()->name }}
{{ Auth::user()->cargo }}
{{ $form->processOrder->name }}
Esta é uma mensagem automática do sistema da {{ $conta->cornoticia }}, favor não responder.