@extends('admin.layouts.master') @section('title', 'عرض الفاتورة #' . $invoice->invoice_number) @section('content')
| # | الوصف | الكمية | سعر الوحدة | الخصم | الإجمالي |
|---|---|---|---|---|---|
| {{ $row++ }} |
{{ $item->description }}
@if($item->service)
(خدمة: {{ $item->service->name }}) @endif |
{{ $item->quantity }} |
{{ number_format($item->unit_price, 2) }}
|
{{ number_format($item->discount, 2) }}
|
{{ number_format($item->line_total, 2) }}
|
| الإجمالي قبل الخصم |
{{ number_format($invoice->subtotal, 2) }}
|
||||
| إجمالي الخصم |
{{ number_format($invoice->discount, 2) }}
|
||||
| الضريبة ({{ number_format($invoice->tax_percent, 2) }}%) |
{{ number_format($invoice->tax_amount, 2) }}
|
||||
| الإجمالي النهائي |
{{ number_format($invoice->total, 2) }}
|
||||
| # | التاريخ | المبلغ | طريقة الدفع | رقم العملية | ملاحظات |
|---|---|---|---|---|---|
| {{ $pay->id }} | {{ $pay->paid_at->format('Y-m-d H:i') }} |
{{ number_format($pay->amount, 2) }}
|
@switch($pay->payment_method) @case('cash') كاش @break @case('card') بطاقة @break @case('bank_transfer') تحويل بنكي @break @case('online') أونلاين @break @endswitch | {{ $pay->transaction_id ?: '-' }} | {{ $pay->notes ?: '-' }} |
| لا توجد مدفوعات مسجلة على هذه الفاتورة. | |||||