@if (count($data) > 0) @foreach ($data as $index => $customer) @endforeach
# الاسم الهاتف الفواتير
{{ $index + 1 }} {{ $customer->name }} {{ $customer->phone }}
@foreach($customer->invoices as $invoice) @endforeach
{{ $invoice->invoice_number }} {{ $invoice->created_at->format('Y-m-d') }}
{{ $data->links() }}
@else
لا توجد بيانات
لا توجد عملاء متاحين
@endif