Tickets

Title: {{$ticket->title}}

Category: {{$ticket->category}}

{{--
--}} {{--
Ticket Description
--}} {{--

{{$ticket->description}}

--}} {{--
--}}
Comments

@foreach($ticket->comment as $comment) @if(!$comment->is_reply)
{{$ticket->profile['first_name']}} {{$ticket->profile['last_name']}} ({{$ticket->student['email']}}) {{$ticket->created_at->diffForHumans()}}

{{$comment->comment}}

Request
@endif @if($comment->is_reply)
{{$comment->admin['first_name']}} {{$comment->admin['last_name']}} (Admin) {{$comment->created_at->diffForHumans()}}

{{$comment->comment}}

Reply
@endif @endforeach
@csrf
Ticket Details
Ticket: #{{$ticket->ticket_code}}
Student: {{$ticket->profile['first_name']}} {{$ticket->profile['last_name']}}
Email: {{$ticket->student['email'] ?? null}}
Phone: {{$ticket->student['phone'] ?? null}}
Category: {{$ticket->category}}
Priority: High
Create Date: {{$ticket->created_at->toDayDateTimeString()}}
Close Date: @if($ticket->active) @if($ticket->status == "pending" or $ticket->status == "answered")Opened@endif @if($ticket->status == "cancelled")Cancelled@endif @else {{$ticket->updated_at->toDayDateTimeString()}} @endif
{{--
--}} {{--
--}} {{--
Files Attachment
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
Velzon-admin.zip
--}} {{-- 3.2 MB--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
Velzon-admin.ppt
--}} {{-- 4.5 MB--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}