| Channel | Cost (ex tax) | Markup | Fee | Price ex Tax | Tax Rate | Price inc Tax | Margin markup ÷ sell price |
|---|---|---|---|---|---|---|---|
|
@php
$platformSlug = $row['channel_platform'] ?? '';
$iconPath = public_path("vendor/channels/platforms/small/{$platformSlug}.svg");
$hasIcon = $platformSlug && file_exists($iconPath);
$initial = mb_strtoupper(mb_substr($row['channel_name'], 0, 1));
@endphp
@if ($hasIcon)
{{-- Locked + Pricer: !unlocked && !isFixed --}}
{{-- Locked + Fixed: !unlocked && isFixed --}}
Fixed
{{-- Unlocked / Editing --}}
Editing
{{-- Rule + last calculated --}}
{{-- Recalculate always on its own line --}}
⚠ Tax rate changed — save, then recalculate
|
{{-- Cost (ex tax) --}}
£{{ number_format($row['cost_price'], 2) }} @if ($row['using_average_cost']) AVG @endif | {{-- Markup --}}— | {{-- Fee --}}@if ($row['fee'] !== '') £{{ $row['fee'] }} @if (($row['fee_summary'] ?? '') !== '') ({{ $row['fee_summary'] }}) @endif @else — @endif | {{-- Price ex Tax --}}
£
|
{{-- Tax Rate --}}
%
|
{{-- Price inc Tax --}}
£
|
{{-- Margin --}}
|
|
{{-- Cost (always first) --}}
{{ $row['using_average_cost'] ? 'Cost (avg)' : 'Cost' }}
£{{ number_format($row['cost_price'], 2) }}
{{-- Option B layout: Cost → Postage → Landed cost subtotal → Markup → Platform fees --}}
{{-- Postage lines --}}
{{-- Standard layout: Markup → all fee lines (postage + platform) --}}
+
{{-- Landed cost subtotal --}}
Landed cost
=
{{-- Markup on landed cost --}}
+
{{-- Platform fee lines (FVF, fixed, regulatory, etc.) --}}
+
+
+
+
ex VAT
=
{{-- VAT --}}
+
{{-- = inc VAT --}}
inc VAT
=
|
|||||||