@extends('layout.padrao') @section('content') @section('title', 'Sistema de Chamados - Visualizar') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif @include('cards.abertura.style')
logoChamados CSA
{{ Form::open(array('method' => 'post', 'enctype'=>'multipart/form-data', 'route'=> 'storeCard' , 'id'=>'card_create')) }} {{ csrf_field() }}
{!! Form::label('card_status_id', 'Status', [ 'class' => 'w-100']) !!} {!! Form::select('card_status_id', $select['status'], $registersShow[0]->card_status_id, ['class' => 'card_status_id form-control ', 'readonly']) !!}
{!! Form::label('it_user_resposible', 'IT User Responsible', [ 'class' => 'w-100 ']) !!} {!! Form::text('it_user_resposible',$registersShow[0]->listUserResponsible->nome ?? null, ['class' => 'form-control', 'readonly']) !!}
@if(!empty($registersShow[0])) {!! Form::text('opening_date', $registersShow[0]->opening_date, ['class' => 'form-control', 'readonly', 'id' => 'openingDate']) !!} @else @endif @if(!empty($registersShow[0])) {!! Form::text('receipt_date', date('d-m-Y H:i:s', strtotime($registersShow[0]->receipt_date)), ['class' => 'form-control', 'readonly', 'id' => 'openingDate']) !!} @else @endif @if(!empty($registersShow[0])) {!! Form::text('closing_date', $registersShow[0]->closing_date, ['class' => 'form-control', 'readonly', 'id' => 'openingDate']) !!} @else @endif
{!! Form::label('card_events[]', 'Priority Level', [ 'class' => 'w-100 ']) !!} {{-- descomentar esse codigo abaixo ao montar o back!!! --}} {{-- --}} {{-- e remover a linha abaixo!!! --}}
{!! Form::label('card_types_id', 'Card Type', [ 'class' => 'w-100 ']) !!} {!! Form::select('card_types_id', $select['type'], $registersShow[0]->card_types_id, ['class' => 'card_types_id form-control', 'readonly']) !!}
{!! Form::label('departament_id', 'Departamento', [ 'class' => 'w-100 ']) !!} {!! Form::select('departament_id', $select['departamentos'], $registersShow[0]->listOpeningUser->departamento, ['class' => 'departament_id form-control', 'readonly']) !!}
{!! Form::label('card_events[]', 'Card Events', [ 'class' => 'w-100 ']) !!} {!! Form::select('card_events[]', $select['cardEvents'], $allEventId, ['class' => 'cardEvents form-control', 'multiple'=>'multiple','readonly']) !!}
{!! Form::label('routine_description', 'Rotina usada', [ 'class' => 'w-100 ']) !!} {!! Form::text('routine_description', $registersShow[0]->routine_description, ['class' => 'form-control margin-bottom-15 routine_description', 'readonly']) !!}
{!! Form::label('issue_summary', 'Assunto', [ 'class' => 'w-100 ']) !!} {!! Form::text('issue_summary', $registersShow[0]->issue_summary, ['class' => 'issue_summary form-control margin-bottom-15 mr-sm-2', 'readonly']) !!}
{!! Form::label('url', 'Link - URL', [ 'class' => 'w-100 ']) !!} {!! Form::text('url', $registersShow[0]->url, ['class' => 'form-control margin-bottom-15 mr-sm-2']) !!}
{!! Form::label('issue_details', 'Descrição', [ 'class' => 'w-100 ']) !!} {!! Form::textarea('issue_details', $registersShow[0]->issue_details, ['class' => 'issue_details form-control mr-sm-2 textsAreaSuper margin-bottom-15', 'rows' => '10', 'cols' => '30', 'style' =>'height:180px; min-height: 180px;', 'readonly']) !!}
{!! Form::label('booking', 'Booking', [ 'class' => 'w-100 ']) !!} {!! Form::text('booking', $registersShow[0]->booking, ['class' => 'booking form-control margin-bottom-30 mr-sm-2', 'readonly']) !!} {!! Form::label('contract_reference', 'Contract Ref.', [ 'class' => 'w-100 ']) !!} {!! Form::text('contract_reference', $registersShow[0]->contract_reference, ['class' => 'contract_reference form-control margin-bottom-30 mr-sm-2', 'readonly']) !!} {!! Form::label('cargooReference', 'Cargoo Ref.', [ 'class' => 'w-100 ']) !!} {!! Form::text('cargooReference', $registersShow[0]->cargooReference, ['class' => 'cargooReference form-control margin-bottom-30 mr-sm-2', 'readonly']) !!}
{!! Form::label('closing_description', 'Observações Finais', [ 'class' => 'w-100 ']) !!} {!! Form::textarea('closing_description', $registersShow[0]->closing_description, ['readonly', 'class' => 'closing_description form-control mr-sm-2 textsAreaSuper margin-bottom-15', 'rows' => '10', 'cols' => '30', 'style' => 'height: 105px; min-height: 105px; max-height: 275px']) !!}

Attachment

@if($attachments)
@foreach($attachments as $item) @endforeach
Actions Attachment Name Attachment Insert Date
@can('internalRoutine', App\Usuario::class) @can('delete', App\Usuario::class) id}} data-toggle="modal" data-target="#delete" data-toggle="tooltip" data-placement="top" title="Delete"> @endcan @endcan path .'/' . $item->name) }}" download="{{$item->name}}">{{$item->name}} {{isset($item->created_at) ? date( 'd/m/Y h:i:s' , strtotime($item->created_at)) : '-'}}
@include('bibliotecas.floattheadOverflow') @endif
Return
@extends('cards.style') @yield('attach_edit_list') @endsection