{{ $sale->notes }}
| Product | Quantity | Unit Price | Unit Cost | Line Total | Profit |
|---|---|---|---|---|---|
| {{ $item->product?->name ?? "Deleted product (#{$item->product_id})" }} @if ($item->is_free) FREE · scheme @endif @if ($item->is_sample) SAMPLE · not charged @endif | {{ $item->quantity }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->unit_cost, 2) }} | {{ number_format($item->line_total, 2) }} | $item->profit() >= 0, 'text-red-600 dark:text-red-400' => $item->profit() < 0])>{{ number_format($item->profit(), 2) }} |