@php( $headerOption = \App\Http\Controllers\Controller::getHeaderOptions( $title ?? '', $subTitle ?? '', isset($filters) ? $filters : [], isset($advancedFilters) ? $advancedFilters : [] ) ) @php($isEdit = isset($ticket) && isset($ticket->id)) @php($backRoute = request()->has('tf') && request()->get('tf') == 'merchant' ? route('my-merchants.show', $ticket->merchant_id) . '?tab=tickets' : route('merchant-helpdesk-tickets.index')) @php($headingOptions = [ ' Back', '' ]) @extends('admin.layouts.layout', $headerOption) @section('content')
@csrf @method('PUT')
    @foreach(($statuses ?? []) as $sid=>$s)
  • @endforeach @if($ticket->status != 5)
  • @endif

Ticket Details

@error('master_helpdesk_ticket_category_id'){{ $message }}@enderror
@error('master_helpdesk_ticket_type_id'){{ $message }}@enderror
@error('priority'){{ $message }}@enderror
@error('due_at'){{ $message }}@enderror
@error('ticket_for'){{ $message }}@enderror
@error('merchant_id'){{ $message }}@enderror @error('lead_id'){{ $message }}@enderror
Ticket visibility to the merchant

{{ $ticket->subject ?? '' }}

{{ \Illuminate\Support\Str::limit($ticket->description ?? '', 120) }}

@error('master_group_id'){{ $message }}@enderror

{!! $ticket->created_at ? \App\Helpers\Helper::showdate($ticket->created_at) : '' !!} by ({{ $ticket->createdBy->full_name ?? $ticket->createdBy->name ?? 'System' }})

{{ $ticket->updated_at ? \App\Helpers\Helper::showdate($ticket->updated_at) : '' }} by ({{ $ticket->updatedBy->full_name ?? $ticket->updatedBy->name ?? 'System' }})

{{ $ticket->resolved_at ? \App\Helpers\Helper::showdate($ticket->resolved_at) : ($ticket->updated_at ? \App\Helpers\Helper::showdate($ticket->updated_at) : '') }} by ({{ $ticket->resolved_at ? ($ticket->resolvedBy->full_name ?? $ticket->resolvedBy->name ?? 'System') : ($ticket->updatedBy->full_name ?? $ticket->updatedBy->name ?? 'System') }})

Attach Existing File(s)
Upload Date File Name Label Font Size Action

Files uploaded to the ticket will be shown here.

Comments

@csrf
Drag & Drop to Upload, or
@forelse(($comments ?? []) as $c)

{{ $c->author->full_name ?? ($c->author->name ?? 'User') }} {{ $c->created_at? $c->created_at->format('h:i A \o\n D, M d, Y') : '' }} @if($c->updated_at && $c->updated_at->gt($c->created_at))Edited@endif @if($c->is_pinned)Pinned@endif

{!! nl2br(e($c->comment_text)) !!}

@if($c->attachments->count())
@foreach($c->attachments as $att)
{{ $att->filename }} {{ $att->label_text ?? ($attachmentLabelOptions[$att->label] ?? $att->label) }}
@endforeach
@endif
Drag & Drop to Upload, or

@empty

No comments yet.

@endforelse
@endsection @push('page_script') @endpush