@extends('merchant.layout') @section('title','Support Tickets') @section('content')
No support tickets yet
| # | Subject | Priority | Status | Last Update | Action |
|---|---|---|---|---|---|
| #{{ $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 UPDATE --}}{{ optional($ticket->replies->last())->created_at ? $ticket->replies->last()->created_at->diffForHumans() : '—' }} | {{-- ACTION --}}View |