@extends('layouts.dashboard') @section('title','الدعم الفني') @section('page-title','💬 تذاكر الدعم') @section('content')

التذاكر ({{ count($tickets) }})

@forelse($tickets as $t) @empty @endforelse
المستخدمالموضوعالرسالةالحالةالتاريخإجراءات
{{ $t['user_name'] }}
{{ $t['user_email'] }}
{{ $t['subject'] }} {{ \Illuminate\Support\Str::limit($t['message'], 60) }} @php $statusMap = ['open'=>['مفتوح','badge-orange'],'replied'=>['تم الرد','badge-blue'],'closed'=>['مغلق','badge-gray']]; [$label,$cls] = $statusMap[$t['status']] ?? [$t['status'],'badge-gray']; @endphp {{ $label }} {{ \Illuminate\Support\Str::limit($t['created_at']??'', 10, '') }}
@csrf
@csrf
لا يوجد تذاكر
@endsection