@extends('templates.prefeitura1.transparencia.layout') @section('header') Licitações - Portal da Transparência {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endsection @section('menu')
  • Sobre
  • Legislação
  • Perguntas Frequentes
  • @endsection @section('content')
      LICITAÇÕES
    {{--
    --}} {{--
    --}} {{--
    --}} {{-- --}} {{--
    --}}
    @php $array = [ '0'=>'', '1'=>'Convite', '2'=> 'Tomada de Preços', '3'=> 'Concorrência', '4'=> 'Concurso', '5'=> 'Pregão presencial', '6'=> 'Pregão eletrônico', '7'=> 'Leilão', '16' => 'Edital' ]; @endphp
    @if(isset($request)) @if($request->tipo_procedimento == 'Licitacao') @foreach ($dadoscolection as $category)

    PROCESSO LICITATÓRIO Nº {{$category['nroProcessoLicitatorio']}}/{{$category['exercicioLicitacao']}}

    @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
    Objeto: {{$category['Objeto']}}
    Modalidade: {{$array[$category['codModalidadeLicitacao']]}} Homologação: @if(isset($homologacao)) {{date('d/m/Y', strtotime($homologacao->dtHomologacao)) }}@endif
    DETALHES DA LICITAÇÃO
    @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'])) }}
    DETALHES DA LICITAÇÃO
    @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'])) }}
    DETALHES DA LICITAÇÃO
    @endforeach @endif @else @foreach ($dadoscolection as $category)

    PROCESSO LICITATÓRIO Nº {{$category['nroProcessoLicitatorio']}}/{{$category['exercicioLicitacao']}}

    @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
    Objeto: {{$category['Objeto']}}
    Modalidade: {{$array[$category['codModalidadeLicitacao']]}} Homologação: @if(isset($homologacao)) {{date('d/m/Y', strtotime($homologacao->dtHomologacao)) }}@endif
    DETALHES DA LICITAÇÃO
    @endforeach @endif
    @if(isset($dataform)) {!! $dadoscolection->appends($dataform)->links() !!} @else {!! $dadoscolection->links() !!} @endif
    @endsection @section('footer') @endsection