@extends('layouts.app') @section('title', 'تذكرة ' . $ticket->reference) @section('page_title', 'التذكرة ' . $ticket->reference) @section('page_subtitle', $ticket->subject) @section('page_actions') @if (auth()->user()->hasPermission('tickets.close')) @endif @endsection @section('content')
تفاصيل البلاغ

{!! nl2br(e($ticket->description ?? '—')) !!}

@if ($ticket->resolution)
الحل الموثق

{!! nl2br(e($ticket->resolution)) !!}

@endif
سلسلة الردود
@forelse ($ticket->replies as $reply)
{{ $reply->user?->name ?? 'النظام' }} {{ $reply->created_at->format('Y-m-d H:i') }} @if ($reply->is_internal) داخلي @endif
{!! nl2br(e($reply->body)) !!}
@empty
لا توجد ردود بعد
@endforelse
@if (auth()->user()->hasPermission('tickets.edit')) @endif
@include('tickets.partials.side')
@include('tickets.partials.status-modal') @endsection @push('scripts') @endpush