المورد: {{ $purchase->supplier->name ?? '—' }}
الرقم الضريبي: {{ $purchase->supplier->tax_number ?? '—' }}
العنوان: {{ $purchase->supplier->address ?? '—' }}
تاريخ الفاتورة: {{ $purchase->date }}
ملاحظات: {{ $purchase->notes ?? '—' }}
| # | الوصف | الكمية | سعر الوحدة | الإجمالي |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->description ?? '—' }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->total, 2) }} |
| تاريخ السداد | طريقة الدفع | المبلغ |
|---|---|---|
| {{ $payment->created_at->format('Y-m-d') ?? '—' }} | {{ $payment->bankAccount->account_name ?? '—' }} | {{ number_format($payment->amount, 2) }} |
| الإجمالي قبل الضريبة | {{ number_format($purchase->amount, 2) }} |
| القيمة المضافة | {{ number_format($purchase->tax, 2) }} |
| الإجمالي بعد الضريبة | {{ number_format($purchase->total, 2) }} |
| مدفوع | {{ number_format($purchase->payment_amount, 2) }} |
| الرصيد المستحق | {{ number_format($purchase->total - $purchase->payment_amount, 2) }} |