@extends('merchant.layout') @section('title','Ticket History') @section('content')
| # | Subject | Priority | Status | Last Reply | View |
|---|---|---|---|---|---|
| #{{ $ticket->id }} | {{-- SUBJECT --}}{{ $ticket->subject }} | {{-- PRIORITY --}}{{ ucfirst($ticket->priority) }} | {{-- STATUS --}}{{ ucfirst($ticket->status) }} | {{-- LAST REPLY --}}{{ optional($ticket->replies->last())->created_at ? $ticket->replies->last()->created_at->format('d M Y, h:i A') : '—' }} | {{-- VIEW --}}