| اسم العميل | رقم الهاتف | العنوان | قيمة القسط | المدفوع | المتبقي | تاريخ الاستحقاق | حالة السداد | الإجراءات |
|---|---|---|---|---|---|---|---|---|
| {{ $installment->contract->customer->name ?? '-' }} | {{ $installment->contract->customer->phone ?? '-' }} | {!! $installment->contract->customer->address ?? '-' !!} | {{ number_format($installment->value, 2) }} | {{ number_format($paidAmount, 2) }} | {{ number_format($remainingAmount, 2) }} | {{ $installment->due_date }} | @php $installmentValue = (float) $installment->value; $isPartiallyPaid = $paidAmount > 0 && $paidAmount < $installmentValue; @endphp @if($installment->is_paid) ✅ مدفوع @elseif($isPartiallyPaid) ⏳ مدفوع جزئياً @else مستحق اليوم @endif | @if(!$installment->is_paid) @endif |
| لا توجد أقساط مستحقة اليوم ✅ | ||||||||
| {{ __('filament.partners_accounts.totals') }} | {{ number_format($total, 2) }} | {{ number_format($totalPaid, 2) }} | {{ number_format($totalRemaining, 2) }} | |||||