{{ $brand }} — {{ $model['key'] }}

Model year {{ $model['year'] }} · Type {{ $bodyType }} @if($status === 'Current') · Published @else · {{ ucfirst($status ?? 'Draft') }} (draft — not for distribution) @endif
Author: {{ $author }}
@if($status !== 'Current')

Draft price list — for internal review only, not for distribution.

@endif

Prices

@foreach($trims[0]['engines'] ?? [] as $engine) @endforeach @foreach($trims as $trim) @foreach($trim['engines'] as $engine) @php $variant = collect($trim['variants'])->first(fn ($v) => $v['engine_id'] === $engine['engine_id']); @endphp @endforeach @endforeach
Trim{{ $engine['name'] }}
{{ $trim['name'] }} @if($variant !== null && $variant['price'] !== null) {{ \App\Services\Catalog\PricelistService::formatPrice($variant['price']) }} @else — @endif

Equipment

● Standard · ○ Optional · – Not available
@foreach($trims as $trim) @endforeach @foreach($categories as $category) @foreach($category['items'] as $item) @foreach($trims as $trim) @php $feature = collect($trim['features'])->firstWhere('code', $item['code']); @endphp @endforeach @endforeach @endforeach
Category{{ $trim['name'] }}
@if($loop->parent->first) {{ $category['name'] }} @endif {{ $item['name'] }} {{ $feature['symbol'] ?? '?' }}