@extends('admin.layouts.master') @section('title', 'تفاصيل فاتورة شراء') @section('content')
| # | الصنف | الوصف | الوحدة | الكمية | تكلفة الوحدة | الخصم | الإجمالي |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->product?->name_ar ?? '-' }} | {{ $item->description_ar ?: '-' }} | {{ $item->unit?->name_ar ?? '-' }} | {{ number_format((float)$item->quantity, 2) }} | {{ number_format((float)$item->unit_cost, 2) }} | {{ number_format((float)$item->discount_amount, 2) }} | {{ number_format((float)$item->line_total, 2) }} |
| لا توجد بنود | |||||||
| رقم السداد | الطريقة | الحساب | القيمة |
|---|---|---|---|
| {{ $payment->payment_number }} | {{ $payment->payment_method }} | {{ $payment->paymentAccount?->name_ar ?? '-' }} | {{ number_format((float)$payment->amount, 2) }} |
| لا توجد مدفوعات | |||
| الصنف | الاتجاه | الكمية | التاريخ |
|---|---|---|---|
| {{ $movement->product?->name_ar ?? '-' }} | {{ $movement->movement_direction === 'in' ? 'وارد' : 'منصرف' }} | {{ number_format((float)$movement->quantity, 2) }} | {{ $movement->movement_date?->format('Y-m-d H:i') }} |
| لا توجد حركات مخزون | |||
| الإجمالي قبل الخصم | {{ number_format((float)$invoice->subtotal_before_discount, 2) }} |
|---|---|
| خصم الفاتورة | {{ number_format((float)$invoice->discount_amount, 2) }} |
| الضريبة | {{ number_format((float)$invoice->tax_amount, 2) }} |
| المصاريف الإضافية | {{ number_format((float)$invoice->additional_expenses_total, 2) }} |
| الإجمالي النهائي | {{ number_format((float)$invoice->grand_total, 2) }} |
| الحدث | الوصف | المنفذ | التاريخ |
|---|---|---|---|
| {{ $log->event_name }} | {{ $log->description_ar }} | {{ $log->causer?->name ?? '-' }} | {{ $log->created_at?->format('Y-m-d H:i') }} |
| لا يوجد سجل عمليات | |||