@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('lawsProjects.show') !!} @endsection @section('content')
Voltar
@if (isset($lawsProject)) @if (isset($lawsProject->id) && $tramitacao)

TRAMITAÇÃO

{!! Form::label('new_advice_situation_id', 'Situação do projeto:') !!} {!! Form::select('new_advice_situation_id', $advice_situation_law, null, ['class' => 'form-control']) !!}
{!! Form::label('new_status_processing_law_id', 'Status do trâmite:') !!} {!! Form::select('new_status_processing_law_id', $status_processing_law, null, ['class' => 'form-control']) !!}
@if (Auth::user()->roleHasPermission('dateAdvicesLawsProjects.edit'))
{!! Form::label('new_date_processing', 'Data:') !!} {!! Form::text('new_date_processing', null, ['class' => 'form-control datetimepicker1']) !!}
@else
{!! Form::label('new_date_processing', 'Data:') !!} {!! Form::text('new_date_processing', null, ['class' => 'form-control datetimepicker1', 'disabled']) !!}
@endif
{!! Form::label('destination_id', 'Destinatários:') !!} {!! Form::select('destination_id', $destinations, null, ['class' => 'form-control']) !!}
{!! Form::label('date_end', 'Prazo:') !!} {!! Form::text('date_end', null, ['class' => 'form-control datepicker']) !!}
{!! Form::label('days', 'Dias:') !!} {!! Form::number('days', null, ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('new_observation', ' Observações:') !!} {!! Form::textarea('new_observation', null, ['class' => 'form-control ckeditor']) !!}
@forelse($processing_last as $key => $processing) @empty @endforelse
Data Situação do projeto Destinatário Observações Status do trâmite Prazo Ações
{{ $processing->processing_date }} {{ $processing->adviceSituationLaw->name }} {{ $processing->destination->name ?? '' }} {!! \Illuminate\Support\Str::limit($processing->obsevation, 50, '...') !!} @if ($processing->statusProcessingLaw) {{ $processing->statusProcessingLaw->name }} @endif {!! $processing->date_end ?? '' !!} @if (Auth::user()->id === $processing->owner_id || $processing->id === $first_processing->id || Auth::user()->hasRole('root')) @if ($_SERVER['HTTP_HOST'] == 'cmcostarica.sis.superlegis.com.br' || $_SERVER['HTTP_HOST'] == 'dev.localhost:8000') @endif @endif
Não existe tramitação
@endif @endif
@endsection