@csrf @method('PUT')
@can('ticket-see-damage_character')
@endcan
@if(!$ticket->client && !empty($ticket->client_name))
@endif
@if($ticket->client && $ticket->client->is_onyma_client)
{{ $ticket->client->name }}
Тип клиента: {{ App\Models\Client::getClientTypeTranslate($ticket->client->client_type) }}
Лицевой счёт: {{ $ticket->client->dognum }}
Номер договора: {{ $ticket->client->dogcode }}
Филиал/Группа: {{ $ticket->client->filial }}
Адрес: {{ $ticket->client->address }}
Контактная информация: {{ $ticket->client->contacts }}
@endif
{!! Form::select('ticket_type', $ticket_types->pluck('label', 'id'), old('ticket_type', $ticket->ticket_type), ['class' => 'form-control', 'placeholder' => '', 'required']) !!}
{!! Form::select('network_type', $network_types->pluck('label', 'id'), old('network_type', $ticket->network_type), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('damage_type', $damage_types->pluck('label', 'id'), old('damage_type', $ticket->damage_type), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('source', $sources->pluck('label', 'id'), old('source', $ticket->source), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('filial', $filials->pluck('label', 'id'), old('filial', $ticket->filial), ['class' => 'form-control', 'required', 'placeholder' => '']) !!}
{!! Form::text('communication_center', old('communication_center', $ticket->communication_center), ['class' => 'form-control']) !!}
{!! Form::select('network_type_ssop', $network_types_ssop->pluck('label', 'id'), old('network_type_ssop', $ticket->network_type_ssop), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('service', $services->pluck('label', 'id'), old('service', $ticket->service), ['class' => 'form-control', 'required', 'placeholder' => '']) !!}
{!! Form::text('configuration_unit', old('configuration_unit', $ticket->configuration_unit), ['class' => 'form-control']) !!}
Классификация
{!! Form::text('number_tract_chanel', old('number_tract_chanel', $ticket->number_tract_chanel), ['class' => 'form-control']) !!}
{!! Form::select('confirmation_document', $confirmation_documents->pluck('label', 'id'), old('confirmation_document', $ticket->confirmation_document), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('cause', $causes->pluck('label', 'id'), old('cause', $ticket->cause), ['class' => 'form-control', 'placeholder' => '']) !!}
Простой
{!! Form::text('start_idle', old('start_idle', $ticket->start_idle), ['class' => 'form-control datetimepicker', 'autocomplete' => 'off']) !!}
{!! Form::text('end_of_downtime', old('end_of_downtime', $ticket->end_of_downtime), ['class' => 'form-control datetimepicker', 'autocomplete' => 'off']) !!}
{!! Form::text('duration', old('duration', $ticket->duration), ['class' => 'form-control', 'readonly']) !!}
{!! Form::text('deadline', old('deadline', $ticket->deadline), ['class' => 'form-control', 'placeholder' => 'чч:мм']) !!}
Текущее состояние
{!! Form::select('support_level', $support_levels->pluck('label', 'id'), old('support_level', $ticket->support_level), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::select('closing_code', $closing_codes->pluck('label', 'id'), old('closing_code', $ticket->closing_code), ['class' => 'form-control', 'placeholder' => '']) !!}
{!! Form::text('actual_reaction', old('actual_reaction', $ticket->actual_reaction), ['class' => 'form-control datetimepicker', 'autocomplete' => 'off']) !!}
{!! Form::text('actual_resolved', old('actual_resolved', $ticket->actual_resolved), ['class' => 'form-control datetimepicker', 'autocomplete' => 'off']) !!}
{!! Form::text('reaction_time', old('reaction_time', $ticket->reaction_time), ['class' => 'form-control', 'readonly']) !!}
{!! Form::textarea('what_is_done', old('what_is_done', $ticket->what_is_done), ['class' => 'form-control']) !!}
{{--
--}}
@push('scripts') @endpush