{{-- Stock breakdown block — mirrors PrestaShop 3-row layout --}} {{-- Local / SA Warehouse --}}
Local: @if($row['stock_local'] > 0) {{ $row['stock_local'] }} on hand @else 0 @endif
{{-- USA / Turn14 Warehouse --}}
Turn14: @if($row['stock_usa'] > 0) {{ $row['stock_usa'] }} units @if(!empty($row['stock_usa_breakdown'])) ({{ implode(' | ', $row['stock_usa_breakdown']) }}) @endif @else 0 units @endif
{{-- Supplier / Manufacturer --}}
Supplier: @if($row['stock_mfr'] > 0) {{ $row['stock_mfr'] }} units @if($row['mfr_esd']) (ETA {{ $row['mfr_esd'] }}) @endif @elseif($row['special_order'] ?? false) Special Order @else 0 units @endif
{{-- Sync time --}} @if(isset($row['stock_synced_at'])) @if($row['stock_synced_at'])
Synced {{ $row['stock_synced_at'] }}
@else
Stock not yet synced
@endif @endif