Product deatil Sales Report

@if($branchName)

Branch: {{ $branchName }}

@endif @foreach($rows as $i => $row) @endforeach
# Order ID Date Product Code Qty Price Amount
{{ $i + 1 }} {{ $row->order_number }} {{ \Carbon\Carbon::parse($row->order_date)->format('d-m-Y h:i A') }} {{ $row->product_name }} {{ $row->product_code }} {{ $row->quantity }} ₹ {{ number_format($row->price, 2) }} ₹ {{ number_format($row->row_total, 2) }}
Total {{ $rows->sum('quantity') }} ₹ {{ number_format($rows->sum('row_total'), 2) }}