@section('title', 'تفاصيل المخالفة') @section('page-title', 'تفاصيل المخالفة') @section('page-description', 'تاريخ: ' . $violation->violation_date)

معلومات المخالفة

تفاصيل المخالفة والمبلغ المستحق.

نوع المخالفة
{{ $violation->violationType->name ?? 'غير محدد' }}
تاريخ المخالفة
{{ $violation->violation_date->format('Y-m-d') }}
مبلغ الغرامة
{{ number_format($violation->fine_amount, 2) }} ر.س
الحالة
@php $statusClass = match($violation->status) { 'resolved', 'closed' => 'bg-green-100 text-green-800', 'open' => 'bg-red-100 text-red-800', 'in_progress' => 'bg-blue-100 text-blue-800', 'acknowledged', 'verified' => 'bg-yellow-100 text-yellow-800', default => 'bg-gray-100 text-gray-800' }; $statusText = match($violation->status) { 'resolved' => 'تم الحل', 'closed' => 'مغلقة', 'open' => 'مفتوحة', 'in_progress' => 'قيد المعالجة', 'acknowledged' => 'تم الاستلام', 'verified' => 'تم التحقق', 'appealed' => 'تم الاعتراض', default => $violation->status }; @endphp {{ $statusText }}
الوصف
{{ $violation->description ?? 'لا يوجد وصف' }}
الملاحظات
{!! nl2br(e($violation->notes)) !!}
@if($violation->resolution_notes)
ملاحظات القرار (النتيجة)
{!! nl2br(e($violation->resolution_notes)) !!}
@endif @if(!empty($violation->evidence_urls))
الأدلة المرفقة
@foreach($violation->evidence_urls as $url) عرض الملف @endforeach
@endif
@if($violation->status === 'appealed')
@csrf
@csrf
@endif @if($violation->status === 'open' && !$violation->is_paid)
@csrf
@endif العودة للقائمة