@extends('layouts.app') @section('title', 'لوحة التحكم') @section('page_title', 'مرحباً، ' . auth()->user()->name) @section('page_actions') {{ arabicDate(today()) }} @endsection @section('content') {{-- ===== مؤشرات سريعة ===== --}}
| العميل | عدد الفواتير | إجمالي المبيعات |
|---|---|---|
|
@if ($row->customer)
{{ $row->customer->display_name }}
{{ $row->customer->phone }}
@else — @endif
|
{{ $row->invoices }} | {{ currency($row->total) }} |
| لا توجد بيانات | ||
لا توجد متابعات مجدولة
@endforelseلا توجد اشتراكات قريبة الانتهاء
@endforelseلا توجد تركيبات مجدولة اليوم
@endforelse| رقم الفاتورة | العميل | التاريخ | الإجمالي | المتبقي | الحالة |
|---|---|---|---|---|---|
| {{ $invoice->code }} | {{ $invoice->customer?->display_name ?? '—' }} | {{ arabicDate($invoice->date) }} | {{ currency($invoice->total) }} | {{ currency($invoice->remaining) }} | {!! badge($invoice->status_label, $invoice->status_color) !!} |
| لا توجد فواتير | |||||