@extends('layouts.app') @section('title', 'الفواتير') @section('content')
| رقم الفاتورة | العميل | المبلغ | الضريبة | الإجمالي | الحالة | التاريخ |
|---|---|---|---|---|---|---|
{{ $inv->invoice_number }} |
{{ $inv->tenant_name }} | {{ number_format($inv->subtotal / 100, 2) }} | {{ number_format($inv->vat_amount / 100, 2) }} | {{ number_format($inv->total / 100, 2) }} SAR | @php $invColors = ['paid'=>'success','sent'=>'info','overdue'=>'danger','draft'=>'secondary','cancelled'=>'dark']; @endphp @php $invLabels = ['paid'=>'مدفوعة','sent'=>'مرسلة','overdue'=>'متأخرة','draft'=>'مسودة','cancelled'=>'ملغاة']; @endphp {{ $invLabels[$inv->status] ?? $inv->status }} | {{ $inv->issue_date }} |
| لا توجد فواتير | ||||||