@extends('layouts.app') @section('title', 'فاتورة') @section('page_title', 'الفاتورة ' . $invoice->code) @section('breadcrumb')
| # | البيان | الكمية | السعر | الخصم | الضريبة | الإجمالي |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} |
{{ $item->description }}
@if ($item->product) {{ $item->product->code }} @endif
|
{{ (float) $item->quantity }} | {{ currency($item->price) }} | {{ currency($item->discount) }} | {{ (float) $item->tax_rate }}% ({{ currency($item->tax_amount) }}) | {{ currency($item->total) }} |
| السند | التاريخ | المبلغ | الطريقة | المرجع | المستخدم |
|---|---|---|---|---|---|
| {{ $payment->code }} | {{ arabicDate($payment->date) }} | {{ currency($payment->amount) }} | {!! badge($payment->method_label, 'info') !!} | {{ $payment->reference ?: '—' }} | {{ $payment->creator?->name ?? '—' }} |
| لم تُسجَّل أي دفعات بعد | |||||
| الرقم | المركبة | الموعد | الحالة |
|---|---|---|---|
| {{ $inst->code }} | {{ $inst->vehicle?->plate_number ?? '—' }} | {{ arabicDate($inst->scheduled_at, true) }} | {!! badge($inst->status_label, $inst->status_color) !!} |