{{-- تابع تطوير صفحة show لتصريح فرد مع الإحصائيات والجداول --}} {{-- الرصيد والمالية --}}
الإجمالي
{{ number_format((float)$permit->total_amount, 2) }}
المدفوع
{{ number_format((float)$permit->paid_amount, 2) }}
المتبقي
{{ number_format((float)$permit->remaining_amount, 2) }}
تاريخ الاستحقاق
{{ optional($permit->due_date)->format('Y-m-d') ?? '-' }}
{{-- جدول التجديدات --}} @if($permit->renewals()->count() > 0)
سجل التجديدات
@foreach($permit->renewals()->latest()->get() as $renewal) @endforeach
رقم التجديد من التاريخ إلى التاريخ المبلغ المدفوع الحالة
{{ $renewal->renewal_number }} {{ optional($renewal->renewed_from)->format('Y-m-d') }} {{ optional($renewal->renewed_to)->format('Y-m-d') }} {{ number_format((float)$renewal->net_amount, 2) }} {{ number_format((float)$renewal->paid_amount, 2) }} {{ $renewal->payment_status_label }}
@endif {{-- جدول التحصيلات --}} @if($permit->treasuryTransactions()->count() > 0)
سجل التحصيلات
@foreach($permit->treasuryTransactions()->latest()->get() as $transaction) @endforeach
رقم العملية التاريخ النوع الطريقة المبلغ الملاحظات
{{ $transaction->transaction_number }} {{ optional($transaction->transaction_date)->format('Y-m-d H:i') }} {{ $transaction->transaction_type_label }} {{ $transaction->payment_method_label }} {{ number_format((float)$transaction->amount, 2) }} {{ $transaction->description ?? '-' }}
@endif {{-- سجل النشاط --}} @if($permit->activityLogs()->count() > 0)
سجل النشاط
@foreach($permit->activityLogs()->take(20)->get() as $log) @endforeach
التاريخ الحدث الوصف
{{ optional($log->occurred_at)->format('Y-m-d H:i') }} {{ $log->action }} {{ $log->description ?? '-' }}
@endif