@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('documents.list') !!} @endsection @section('content') @php $url = $_SERVER['HTTP_HOST']; @endphp
@csrf



{!! Form::label('date', 'Registro:') !!} {!! Form::text('created_at', $form->input('updated_at'), [ 'class' => 'form-control datepicker text-center', 'minlength' => '10', 'maxlength' => '10', ]) !!} {!! Form::label('owner_id', 'Tipo:', ['class' => 'custom-padding']) !!} {!! Form::select( 'law_type_id', App\Models\LawsType::where('is_active', true)->pluck('name', 'id')->prepend('Selecione...', ''), $form->input('law_type_id'), ['class' => 'form-control'], ) !!} {!! Form::label('date', 'Número:', ['class' => 'custom-padding']) !!} {!! Form::input('number', 'project_number', $form->input('project_number'), [ 'class' => 'form-control', 'min' => 0, ]) !!} {!! Form::label('date', 'Ano:', ['class' => 'custom-padding']) !!} {!! Form::input('number', 'law_date', $form->input('law_date'), [ 'class' => 'form-control', 'min' => 1000, 'max' => 9999, ]) !!}
{!! Form::label('assemblyman_inactive', 'Inativos', ['class' => 'custom-padding']) !!} {!! Form::checkbox('assemblyman_inactive', null, $form->input('assemblyman_inactive'), [ 'class' => 'form-control', 'id' => 'assemblymanInactiveCheckbox', ]) !!}
{!! Form::label('assemblyman_id', 'Responsável:', ['class' => 'custom-padding']) !!} {!! Form::select('assemblyman_id', $assemblymensList, $form->input('assemblyman_id'), [ 'class' => 'form-control', 'id' => 'assemblymanSelect', ]) !!} {!! Form::select('assemblyman_id_inactive', $assemblymensListInactive, $form->input('assemblyman_id_inactive'), [ 'class' => 'form-control', 'style' => 'display: none;', 'id' => 'assemblymanInactiveSelect', ]) !!}

@foreach ($lawsProjects as $projects) @if ($projects->voting) @endif @endforeach
Descrição Votação Anexos Assinatura Tramitação Ver Doc.
@if ($projects->protocol > 0) Protocolado:

@else Protocolado:

@endif Informações @if ($url == 'cmcorumba.localhost:8000' || $url == 'cmcorumba.legissuper.com.br') @if (Auth::user()->sector_id == 1) Aprovação:
@endif @else
Aprovação:
@endif @if ($url == 'cmcorumba.localhost:8000' || $url == 'cmcorumba.legissuper.com.br') @if (Auth::user()->sector_id == 1) Lida: @shield('lawsProject.read') @endshield @endif @else Lida: @shield('lawsProject.read') @endshield @endif
@if ($projects->voting) Votação @else @endif @if (!Auth::user()->can_request_executive_not_root || Auth::user()->hasRole('root')) @shield('lawsProject.advices') @endshield @endif @if ($projects->id) @endif @if ($projects->id)
@csrf @method('DELETE')
@endif
{!! $lawsProjects->appends(request()->input())->render() !!}
@include('lawsProjects.modalAvancedSearch') @endsection