@extends('driver.layout') @section('title','Support History') @section('content')
View past support tickets and replies
No ticket history available
| # | Subject | Priority | Status | Last Reply | View |
|---|---|---|---|---|---|
| #{{ $ticket->id }} | {{-- SUBJECT --}}
{{ $ticket->subject }}
{{ $ticket->created_at->format('d M Y') }}
|
{{-- PRIORITY --}}
@if($ticket->priority === 'emergency') Emergency @elseif($ticket->priority === 'high') High @else Low @endif | {{-- STATUS --}}{{ ucfirst($ticket->status) }} | {{-- LAST REPLY --}}{{ optional($ticket->replies->last())->created_at ? $ticket->replies->last()->created_at->diffForHumans() : '—' }} | {{-- VIEW --}}View |