| العميل |
{{ $ticket->customer?->name_ar }} |
@if($ticket->product)
| المنتج | {{ $ticket->product->sku }} {{ $ticket->product->name_ar }} |
@endif
@if($ticket->invoice)
| الفاتورة | {{ $ticket->invoice->number }} |
@endif
| تاريخ البلاغ | {{ $ticket->reported_at?->format('Y-m-d') }} |
| موعد الزيارة | {{ $ticket->visit_at?->format('Y-m-d H:i') ?? '—' }} |
| المسؤول | {{ $ticket->assignee?->name ?? '— غير مسند —' }} |
| تاريخ الحل | {{ $ticket->resolved_at?->format('Y-m-d H:i') ?? '—' }} |
| التكلفة | {{ number_format((float) $ticket->cost, 2) }} |
| قابل للفوترة |
{!! $ticket->is_billable ? 'نعم' : 'لا' !!} |
@if($ticket->customer_rating)
| تقييم العميل |
{{ str_repeat('★', $ticket->customer_rating) }}{{ str_repeat('☆', 5 - $ticket->customer_rating) }}
|
@endif
| أنشأها | {{ $ticket->creator?->name ?? '—' }} |
{{ $ticket->subject }}
{!! nl2br(e($ticket->description)) !!}
@if($ticket->resolution)
الحل
{!! nl2br(e($ticket->resolution)) !!}
@endif
@if($ticket->customer_feedback)
ملاحظات العميل
{!! nl2br(e($ticket->customer_feedback)) !!}
@endif