| التاريخ | عدد الفواتير | إجمالي المبيعات | إجمالي الخصم | الصافي |
|---|---|---|---|---|
| {{ $row['date'] }} | {{ $row['count'] }} | {{ number_format($row['subtotal'], 2) }} ج.م | {{ number_format($row['discount'], 2) }} ج.م | {{ number_format($row['total'], 2) }} ج.م |
| لا توجد بيانات | ||||
| الإجمالي | {{ collect($rows)->sum('count') }} | {{ number_format(collect($rows)->sum('subtotal'), 2) }} ج.م | {{ number_format(collect($rows)->sum('discount'), 2) }} ج.م | {{ number_format(collect($rows)->sum('total'), 2) }} ج.م |