@php $totalOrders = $rows->sum('total_orders'); $totalAmount = $rows->sum('total_amount'); @endphp
Total Orders : {{ $totalOrders }} Total Amount: {{ number_format((float) $totalAmount, 2) }} PKR