@extends('layouts.app') @section('title', 'فاتورة شراء ' . $purchase->reference) @section('page_title', 'فاتورة شراء ' . $purchase->reference) @section('breadcrumb')
| الصنف | الوحدة | التشغيلة | الصلاحية | الكمية | هدية | تكلفة | إجمالى |
|---|---|---|---|---|---|---|---|
| {{ $l->item->name }} {{ $l->item->code }} | {{ $l->unit->name }} | {{ $l->batch_number }} | {{ $l->expiry_date?->format('Y-m-d') }} | {{ $l->quantity_in_unit }} | {{ $l->quantity_bonus }} | {{ number_format($l->unit_cost, 2) }} | {{ number_format($l->total, 2) }} |
| التاريخ | الطريقة | المرجع | المبلغ |
|---|---|---|---|
| {{ $p->payment_date?->format('Y-m-d') }} | {{ $p->method }} | {{ $p->reference ?? '—' }} | {{ number_format($p->amount, 2) }} |
الصيدلية: {{ $purchase->pharmacy->name }}
المورد: {{ $purchase->supplier->name }}
التاريخ: {{ $purchase->purchase_date?->format('Y-m-d') }}
الحالة: {{ $purchase->status }}
| الفرعى | {{ number_format($purchase->subtotal, 2) }} |
| الخصم | {{ number_format($purchase->discount_amount, 2) }} |
| الضريبة | {{ number_format($purchase->tax_amount, 2) }} |
| شحن | {{ number_format($purchase->shipping_amount, 2) }} |
| أخرى | {{ number_format($purchase->other_charges, 2) }} |
| الإجمالى | {{ number_format($purchase->total, 2) }} |
| المدفوع | {{ number_format($purchase->paid_amount, 2) }} |
| المتبقى | {{ number_format($purchase->balance_due, 2) }} |