@extends('backend.partials.master') @section('title') {{ ___('label.my_support_tickets') }} @endsection @section('maincontent') {{ ___('label.new_ticket') }} @foreach($tickets as $t) @php $map = ['Open'=>'warning','Pending'=>'warning','In Progress'=>'info','Resolved'=>'success','Closed'=>'success']; $c = $map[$t->status] ?? 'warning'; @endphp {{ $t->ticket_no }} {{ $t->subject }} {{ $t->department }} {{ admin_label($t->priority) }} {{ $t->updated_at?->diffForHumans() }} {{ admin_label($t->status) }} @endforeach @endsection