{{ $settings['company_name'] ?? 'Flagship' }}

Item Wise Sales Report

From: {{ \Carbon\Carbon::parse($from_date)->format('d-M-Y') }}
To: {{ \Carbon\Carbon::parse($to_date)->format('d-M-Y') }}
@if($product_name)
Product: {{ $product_name }}
@endif
Generated: {{ now()->format('d-M-Y H:i') }}

Total Amount

{{ number_format($totalAmount, 2) }}

Total Quantity

{{ number_format($totalQty, 2) }}

Avg Rate

{{ number_format($avgRate, 2) }}

@php $sl = 1; @endphp @foreach($reportData as $row) @endforeach
Sl Shipment No Invoice No Customer Branch Code Product Name Qty Rate Amount
{{ $sl++ }} {{ $row['shipment_number'] }} {{ $row['invoice_no'] }} {{ $row['customer_name'] }} {{ $row['branch_name'] }} {{ $row['product_code'] }} {{ $row['product_name'] }} {{ number_format($row['quantity'], 2) }} {{ number_format($row['rate'], 2) }} {{ number_format($row['amount'], 2) }}
Total: {{ number_format($totalQty, 2) }} {{ number_format($totalAmount, 2) }}