@extends('admin.layout') @section('content')

Ticket Details #{{ $ticket->id ?? '' }}

{{ $ticket->first_name }} {{ $ticket->last_name }} ({{ $ticket->last_name }})

{!! $ticket->issue->message ?? '' !!} @if(isset($ticket->issue->ticket_attachment) && sizeof($ticket->issue->ticket_attachment)>0)

Attachment

@endif
Ticket Replies
@if(isset($ticket->messages)) @foreach($ticket->messages as $key=>$item)

{{ $item->name ?? '' }} ({{ $item->user_type ?? '' }})

Posted on {{ date('jS F,Y',strtotime($item->created_at.' '.$timezone)) }}

{!! $item->message ?? '' !!}

@if(sizeof($item->ticket_attachment)>0)

Attachment

@endif
@endforeach @endif @if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))
{{ session('success') }}
@endif
{{ method_field('PATCH') }} {{ csrf_field() }}
{!! trim($signature->signature ?? '') !!}
{!! $errors->first('details', '

:message

') !!}
Attachments
Valid file type: jpg, jpeg, gif, png and File size max: 2 MB.
Ticket Info
Subject

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

Department

{!! $ticket->department_info->title ?? '' !!}

Category

{!! $ticket->service->title ?? '' !!}

Sub Category

{!! $ticket->sub_catategory->title ?? '' !!}

Sub Category Item

{!! $ticket->sub_cat_item->item_name ?? '' !!}

@php if($ticket->status == 'Closed') $status = 'bg-light'; elseif($ticket->status == 'Open') $status = 'bg-primary'; elseif($ticket->status == 'Answered') $status = 'bg-success'; @endphp
Status Note: {{ $ticket->status ?? '' }}
Opened

{!! date($date_format, strtotime($ticket->created_at.' '.$timezone)) !!}

Last Response

{!! date($date_format, strtotime($ticket->updated_at.' '.$timezone)) !!}

@if(!empty($ticket->note))
{{ $ticket->note ?? '' }}
@endif

Assign Technician: (If this ticket is not for you, you can forward to others)
@if($ticket->status != 'Closed') @endif
@endsection