@extends('layouts.app') @section('title', 'تقرير أفضل العملاء') @section('content')
تحديد أكبر العملاء وأكثرهم نشاطاً
| الترتيب | اسم العميل | عدد الفواتير | إجمالي المبيعات | المدفوع | المعلق | النسبة |
|---|---|---|---|---|---|---|
|
@if($loop->iteration == 1)
🥇
@elseif($loop->iteration == 2)
🥈
@elseif($loop->iteration == 3)
🥉
@else
{{ $loop->iteration }}
@endif
|
{{ $customer['customer_name'] }} | {{ $customer['invoice_count'] }} | {{ number_format($customer['total_amount'], 0) }} ريال | {{ number_format($customer['paid_amount'], 0) }} ريال | {{ number_format($customer['remaining_amount'], 0) }} ريال |
{{ $customer['percentage'] }}% |
|
لا توجد بيانات |
||||||