{{-- ① Date Range (Growth+ only) ──────────────────────────────────────── --}} @if($reportTier >= 2)

From

To

Apply
@foreach([ 'this_month' => 'This Month', 'last_month' => 'Last Month', 'q1' => 'Q1', 'q2' => 'Q2', 'q3' => 'Q3', 'q4' => 'Q4', 'this_year' => 'This Year', 'last_year' => 'Last Year', ] as $preset => $label) {{ $label }} @endforeach

{{ $dateFrom }} — {{ $dateTo }}  ·  Includes paid orders (processing, shipped, refunded). Cancelled and pending orders are excluded.

@else {{-- Starter: show current month label only --}}

Showing results for {{ now()->format('F Y') }}. Upgrade to the Growth plan for date range filtering and more detailed reports.

@endif {{-- ② KPI Cards ──────────────────────────────────────────────────────── --}} @php $sym = $settings->currency_symbol ?? '$'; $allCards = [ ['label' => 'Total Orders', 'value' => number_format($stats['order_count']), 'sub' => 'paid orders'], ['label' => 'Gross Revenue', 'value' => $sym . number_format($stats['gross_revenue'], 2), 'sub' => 'before refunds'], ['label' => 'Tax Collected', 'value' => $sym . number_format($stats['tax_collected'], 2), 'sub' => 'HST / GST'], ['label' => 'Shipping Collected', 'value' => $sym . number_format($stats['shipping_collected'],2), 'sub' => 'freight charged'], ['label' => 'Refunds Issued', 'value' => $sym . number_format($stats['total_refunded'], 2), 'sub' => 'returned to customers'], ['label' => 'Net Revenue', 'value' => $sym . number_format($stats['net_revenue'], 2), 'sub' => 'after refunds'], ]; $cards = $reportTier === 1 ? [$allCards[0], $allCards[1], $allCards[5]] : $allCards; @endphp
@foreach($cards as $card)

{{ $card['label'] }}

{{ $card['value'] }}

{{ $card['sub'] }}

@endforeach
{{-- ③ Top Products (Growth+ only) ───────────────────────────────────── --}} @if($reportTier >= 2) Top Products By revenue for the selected period — top 10. @forelse($topProducts as $row) @empty @endforelse
Product Units Sold Revenue
{{ $row->product_name }} @if($row->product_sku) · {{ $row->product_sku }} @endif {{ number_format($row->qty_sold) }} {{ $sym . number_format($row->total_revenue, 2) }}
No sales in this period.
@endif {{-- ④ CSV Exports (Growth+ only) ────────────────────────────────────── --}} @if($reportTier >= 2) Export Reports Download CSV files for the selected date range. Open in Excel, Google Sheets, or any accounting software.
{{-- Sales by Product — Growth+ --}}

Sales by Product

Units sold and total revenue per product — sorted by revenue.

Download CSV
{{-- All Orders — Pro only --}} @if($reportTier >= 3)

All Orders

Every paid order: date, customer, subtotal, shipping, tax, total, refunds, Stripe payment ID.

Download CSV
{{-- Tax / HST Report — Pro only --}}

Tax / HST Report

Monthly summary: orders, tax collected, refunds, net revenue. Includes tax registration number.

Download CSV
@endif
@if($settings->tax_number)

Tax Registration: {{ $settings->tax_number }}  ·  Included automatically in the Tax / HST Report export.

@endif
@endif