JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@php $plan = Utility::getChatGPTSettings(); $attechment = \App\Models\Utility::get_file('uploads/tickets/'); @endphp @extends('layouts.admin') @push('script-page') @endpush @section('page-title') {{ __('Ticket Reply') }} @endsection @section('title')
{{ __('Ticket Reply') }}
@endsection @section('breadcrumb') @endsection @push('css-page') @endpush @push('script-page') @endpush @section('action-button') @if (\Auth::user()->type == 'company' || $ticket->ticket_created == \Auth::user()->id)
@endif @endsection @section('content')
{{ __('Reply Ticket') }} - {{ $ticket->ticket_code }}
@if ($ticket->priority == 'medium')
{{ __('Medium') }}
@elseif($ticket->priority == 'low')
{{ __('Low') }}
@elseif($ticket->priority == 'high')
{{ __('High') }}
@elseif($ticket->priority == 'critical')
{{ __('Critical') }}
@endif
{{ $ticket->title }}
{{-- {{ $ticket->status }} --}} @if ($ticket->status == 'open') {{ __('Open') }} @elseif($ticket->status == 'close') {{ __('Closed') }} @elseif($ticket->status == 'onhold') {{ __('On Hold') }} @endif

{{ !empty($ticket->createdBy) ? $ticket->createdBy->name : '' }} . {{ !empty($ticket->createdBy) ? $ticket->createdBy->email : '' }} . {{ \Auth::user()->dateFormat($ticket->created_at) }}

@if (!empty($ticket->description))

{!! $ticket->description !!}

@if (!empty($ticket->attachment))
{{ __('Attachments') }} :
  • {{ !empty($ticket->attachment) ? $ticket->attachment : '' }}
@endif
@endif
@if ($ticket->status == 'open')
@if ($plan->enable_chatgpt == 'on') @endif
{{ __('Comments') }}
{{ Form::open(['url' => 'ticket/changereply', 'method' => 'post', 'enctype' => 'multipart/form-data']) }}

{{ Form::close() }}
@endif
{{ __('Replies') }}
@foreach ($ticketreply as $reply)

{{ $reply->created_at->diffForHumans() }}

@if (!empty($reply->description))

{!! $reply->description !!}

@if (!empty($reply->attachment))
{{ __('Attachments') }} :
  • {{ !empty($reply->attachment) ? $reply->attachment : '' }}
@endif
@endif
@endforeach
@endsection