@if(isset($request))
@if($request->tipo_procedimento == 'Licitacao')
@foreach ($dadoscolection as $category)
PROCESSO LICITATÓRIO Nº {{$category['nroProcessoLicitatorio']}}/{{$category['exercicioLicitacao']}}
Objeto: |
{{$category['Objeto']}} |
Modalidade: |
{{$array[$category['codModalidadeLicitacao']]}} |
Homologação: |
@php $homologacao = DB::connection('another')->table($accont.'_transparencia_homolics')
->where('tipoRegistro','40')
->where('nroProcessoLicitatorio',$category['nroProcessoLicitatorio'])
->where('exercicioLicitacao',$category['exercicioLicitacao'])
->where('account_id',$portal->id)
->first();
@endphp
@if(isset($homologacao)) {{date('d/m/Y', strtotime($homologacao->dtHomologacao)) }}@endif |
|
@endforeach
@endif
@if($request->tipo_procedimento == 'dispensa')
@foreach ($dadoscolection as $category)
@php $homologacao = DB::connection('another')->table($accont.'_transparencia_dispensas')
->where('tipoRegistro','12')
->where('nroProcesso',$category['nroProcesso'])
->where('exercicioProcesso',$category['exercicioProcesso'])
->where('account_id',$portal->id)
->first();
$arraytipoprocesso = [
'1' => 'Dispensa',
'2' => 'Inexigibilidade',
'3' => 'Inexigibilidade por credenciamento/chamada pública',
'4' => 'Dispensa por chamada publica'
];
@endphp
@if(isset($homologacao)) {{$arraytipoprocesso[$homologacao->tipoProcesso]}}@endif Nº {{$category['nroProcesso']}}/{{$category['exercicioProcesso']}}
Objeto: |
{{$category['objeto']}} |
Modalidade: |
@if(isset($homologacao)) {{$arraytipoprocesso[$homologacao->tipoProcesso]}}@endif |
Homologação: |
{{date('d/m/Y', strtotime($category['dtPublicacaoTermoRatificacao'])) }} |
|
@endforeach
@endif
@if($request->tipo_procedimento == 'adesao')
@foreach ($dadoscolection as $category)
Adesão a Ata de Registro de Preços Nº {{$category['nroProcAdesao']}}/{{$category['exercicioAdesao']}}
Objeto: |
{{$category['objetoAdesao']}} |
Modalidade: |
Adesão a Ata de Registro de Preços |
Homologação: |
{{date('d/m/Y', strtotime($category['dtAbertura'])) }} |
|
@endforeach
@endif
@else
@foreach ($dadoscolection as $category)
PROCESSO LICITATÓRIO Nº {{$category['nroProcessoLicitatorio']}}/{{$category['exercicioLicitacao']}}
Objeto: |
{{$category['Objeto']}} |
Modalidade: |
{{$array[$category['codModalidadeLicitacao']]}} |
Homologação: |
@php $homologacao = DB::connection('another')->table($accont.'_transparencia_homolics')
->where('tipoRegistro','40')
->where('nroProcessoLicitatorio',$category['nroProcessoLicitatorio'])
->where('exercicioLicitacao',$category['exercicioLicitacao'])
->where('account_id',$portal->id)
->first();
@endphp
@if(isset($homologacao)) {{date('d/m/Y', strtotime($homologacao->dtHomologacao)) }}@endif |
|
@endforeach
@endif
@if(isset($dataform))
{!! $dadoscolection->appends($dataform)->links() !!}
@else
{!! $dadoscolection->links() !!}
@endif