← Back to reports
@can('reports.export') @endcan
Sales
{{ $totals->count }}
Net Sales (with GST)
{{ number_format($totals->total, 2) }}
@if ($totals->returns > 0)
after {{ number_format($totals->returns, 2) }} returned
@endif
$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])>Total Profit
$totals->adjusted_profit >= 0, 'text-red-700 dark:text-red-400' => $totals->adjusted_profit < 0])>{{ number_format($totals->adjusted_profit, 2) }}
@if ($totals->profit != $totals->adjusted_profit)
Gross {{ number_format($totals->profit, 2) }}, after BA salary
@endif
@if ($sales->isEmpty()) @else
@foreach ($sales as $sale) @endforeach
Invoice Date Customer Warehouse Total Profit
{{ $sale->invoice_number }} {{ $sale->sale_date->format('d M Y') }} {{ $sale->customer->name }} {{ $sale->warehouse->name }} {{ number_format($sale->total, 2) }} @php $baSalaryShare = $sale->baSalaryShare(); @endphp
$sale->baSalaryAdjustedProfit() >= 0, 'text-red-600 dark:text-red-400' => $sale->baSalaryAdjustedProfit() < 0])>{{ number_format($sale->baSalaryAdjustedProfit(), 2) }}
@if ($baSalaryShare > 0)
−{{ number_format($baSalaryShare, 2) }} BA salary
@endif
{{ $sales->links() }}
@endif