← Back to reports
@can('reports.export') @endcan
Revenue
{{ number_format($totals->revenue, 2) }}
Cost (COGS)
{{ number_format($totals->cost, 2) }}
Gross Profit
{{ number_format($totals->profit, 2) }}
$totals->adjusted_profit >= 0, 'bg-red-50 dark:bg-red-500/10' => $totals->adjusted_profit < 0, ])>
$totals->adjusted_profit >= 0, 'text-red-700 dark:text-red-400' => $totals->adjusted_profit < 0])>Profit (after BA Salary)
$totals->adjusted_profit >= 0, 'text-red-700 dark:text-red-400' => $totals->adjusted_profit < 0])>{{ number_format($totals->adjusted_profit, 2) }}

Daily Breakdown

@if ($daily->isEmpty()) @else
@foreach ($daily as $row) @endforeach
Date Revenue Cost Profit Profit (after BA Salary)
{{ \Illuminate\Support\Carbon::parse($row->sale_date)->format('d M Y') }} {{ number_format($row->revenue, 2) }} {{ number_format($row->cost, 2) }} $row->profit >= 0, 'text-red-600 dark:text-red-400' => $row->profit < 0])>{{ number_format($row->profit, 2) }} $row->adjusted_profit >= 0, 'text-red-600 dark:text-red-400' => $row->adjusted_profit < 0])>{{ number_format($row->adjusted_profit, 2) }}
@endif

Product Profitability (Top 20)

@if ($byProduct->isEmpty()) @else
@foreach ($byProduct as $row) @endforeach
Product Units Sold Revenue Cost Profit
{{ $row->product_name }}
{{ $row->product_sku }}
{{ $row->units_sold }} {{ number_format($row->revenue, 2) }} {{ number_format($row->cost, 2) }} $row->profit >= 0, 'text-red-600 dark:text-red-400' => $row->profit < 0])>{{ number_format($row->profit, 2) }}
@endif