@extends('admin.layouts.master') @section('title', 'فاتورة '.$invoice->invoice_no) @section('page-header')
@endsection @section('content')| الإجمالي: | {{ number_format($invoice->total_amount, 2) }} |
| المدفوع: | {{ number_format($invoice->paid_amount, 2) }} |
| المتبقي: | {{ number_format($invoice->remaining_amount, 2) }} |
| الوصف | الكمية | سعر الوحدة | الإجمالي |
|---|---|---|---|
| {{ $line->description }} | {{ number_format($line->quantity, 2) }} | {{ number_format($line->unit_price, 2) }} | {{ number_format($line->total_price, 2) }} |
{{ $invoice->notes }}
@endif| الإجمالي: | {{ number_format($invoice->subtotal, 2) }} |
| الخصم: | {{ number_format($invoice->discount_amount, 2) }} |
| الضريبة ({{ $invoice->tax_percent }}%): | {{ number_format($invoice->tax_amount, 2) }} |
| الإجمالي: | {{ number_format($invoice->total_amount, 2) }} ج.م |
| الرقم | التاريخ | الطريقة | المبلغ |
|---|---|---|---|
| {{ $p->payment_no }} | {{ $p->payment_date?->format('Y-m-d') }} | {{ ['cash'=>'نقدي','card'=>'بطاقة','cheque'=>'شيك','transfer'=>'تحويل'][$p->method] ?? $p->method }} | {{ number_format($p->amount, 2) }} |