Sales Report

Generated at: {{ $generatedAt }}
Filter: Source {{ $filters['order_source'] ?: 'All' }}, Type {{ ucfirst($filters['sale_type']) }}, Quick {{ ucfirst($filters['quick_filter']) }}
Orders
{{ $overview['total_orders'] }}
Items
{{ $overview['total_items'] }}
Gross Sales
{{ $currencySymbol }}{{ number_format($overview['gross_sales'], 2) }}
Total Cost
{{ $currencySymbol }}{{ number_format($overview['total_cost'], 2) }}
Net Profit
{{ $currencySymbol }}{{ number_format($overview['net_profit'], 2) }}
@forelse ($rows as $row) @empty @endforelse
Date Invoice Source Type Customer Product Qty Cost Sell Profit/Loss
{{ $row['ordered_at'] }} {{ $row['invoice_no'] }} {{ $row['order_source'] }} {{ ucfirst($row['sale_type']) }} {{ $row['customer_name'] }}
{{ $row['customer_phone'] }}
{{ $row['product_name'] }}
SKU: {{ $row['sku'] }}
{{ number_format($row['quantity'], 2) }} {{ $row['unit'] }} {{ $currencySymbol }}{{ number_format($row['cost_amount'], 2) }} {{ $currencySymbol }}{{ number_format($row['sell_amount'], 2) }} {{ $row['profit_amount'] >= 0 ? '+' : '-' }} {{ $currencySymbol }}{{ number_format(abs($row['profit_amount']), 2) }}
No sales data found.