@extends('layouts.app') @section('content')
| رقم الفاتورة | العميل | التاريخ | المبلغ | المدفوع | المتبقي | الحالة | الإجراءات |
|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->customer->name ?? '-' }} | {{ $invoice->invoice_date->format('Y-m-d') }} | {{ number_format($invoice->total_amount, 2) }} ر.س | {{ number_format($invoice->paid_amount, 2) }} ر.س | {{ number_format($invoice->remaining_amount, 2) }} ر.س | @switch($invoice->status) @case('draft'): مسودة @break @case('issued'): صادرة @break @case('partially_paid'): مدفوعة جزئياً @break @case('paid'): مدفوعة @break @case('cancelled'): ملغاة @break @endswitch |
لا توجد فاتورات