@extends('usuarios.clientes.master.layoutcliente') @section('conteudo') {{-- SELECT STYLE --}} @php header('Content-Type: text/html; charset=utf-8'); $i=0; $a=0; $camposMapa = \App\Models\CampoMapa::where('origem','Geral')->orderBy('prioridade','Asc')->get(); $cliente=\App\Models\Cliente::where('id',$dados->cliente_id)->first(); $Departamento= \App\Models\DepCliente::where('id',$dados->departamento_id)->first(); $OE=\App\Models\OrgaosDeEstrutura::where('id',$Departamento->orgaosdeestrutura_id)->first(); $SDs=\App\Models\ParametroDocumental::where('cliente_id',$dados->cliente_id)->get(); $linhasIndexs=\App\Models\LinhaIndexacao::where('usuario_id',Auth::id()) ->where('cliente_id',$dados->cliente_id) ->where('numerocaixa',$dados->numerodacaixa) ->select('codigo')->distinct('codigo')->get(); // try { // $caixa_id_form =Crypt::encryptString($dados->id); // } catch (DecryptException $e) { // $caixa_id_form=0; // } @endphp
| {{$cMapa->nome}} | @php $i++; @endphp @endif @empty||||
|---|---|---|---|---|
| {{$OE1->orgao}} | @elseif($cMapa->nome=='departamento_id') @php $Dep= \App\Models\DepCliente::where('id',$linhaIndex->conteudo)->first(); $a=$a-1; @endphp{{$Dep->departamento}} | @elseif($cMapa->nome=='seriedocumental_id') @php $SD1=\App\Models\ParametroDocumental::where('id',$linhaIndex->conteudo)->first(); $a=$a-1; @endphp{{$SD1->seriedoc}} | @else @php $a=$a-1; @endphp{{$linhaIndex->conteudo}} | @endif @endif @endforeach @if($a>=1) @for($z=$a;$z>=1;$z--)@endfor @endif @php //dd($a); $a=0; @endphp |
Total de Documentos
| Índices | 250 |
|---|