@php use App\CardEvent; @endphp @extends('layout.padrao') @section('content') @include('cards.historico.modules') @section('title', 'Sistema de Chamados - Histórico') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif {{-- @if (!Auth::user()->checkCharacteristics(['1', '2'])) @endifcard_status_id --}}
logoChamados CSA
{{ method_field('PUT') }} {{ csrf_field() }}

Card

Status: {{$registersShow[0]->card_status->description}}

Contract Ref.
Cargoo Ref.
Booking

IT Resp: {{$registersShow[0]->listUserResponsible->nome ?? null}}

{!! Form::select('card_status_id_main', $select['status'], old('',$registersShow[0]->card_status_id), ['class' => 'card_status_id_main form-control', (!Auth::user()->checkCharacteristics(['1', '2']) ? 'readonly' : '')]) !!} {!! Form::select('required_to_user', $select['user_responsible'], (!Auth::user()->checkCharacteristics(['1', '2']) ? ($registersShow[0]->user_responsible ?? null) : ''), ['class' => 'required_to_user form-control', (!Auth::user()->checkCharacteristics(['1', '2']) ? 'readonly' : ''), 'multiple'=>'multiple']) !!} {!! Form::select('it_user_resposible', $select['user_responsible_ti'], old('',($registersShow[0]->user_responsible ?? null)), ['class' => 'it_user_resposible form-control ', (!Auth::user()->checkCharacteristics(['1', '2']) ? 'readonly' : '')]) !!} {!! Form::select('card_status_id', $select['status'], old('', ($registersShow[0]->lastEvent->card_status_id ?? null)), ['class' => 'card_status_id form-control ', (!Auth::user()->checkCharacteristics(['1', '2']) ? 'readonly' : '')]) !!} {!! Form::select('card_events[]', $select['cardEvents'], old('card_events[]', $allEventId), ['class' => 'cardEvents form-control', 'multiple'=>'multiple', (!Auth::user()->checkCharacteristics(['1', '2']) ? 'readonly' : '')]) !!}

Attachment

@yield('timeline-details') @yield('history-details')
@if(Auth::user()->checkCharacteristics(['1', '2']))
@endif
@extends('cards.historico.style') @extends('cards.style') @extends('cards.historico.script') @endsection