{{-- TOP HEADER --}}
{{ $company->company_code }}

{{ $company->company_name }}

{{ $company->is_active ? 'Active' : 'Inactive' }}

{{-- ATTRIBUTES WITH ICONS --}} @if(!empty($company->attributes) && is_array($company->attributes) && count($company->attributes) > 0)
Attributes & Specifications
@foreach($company->attributes as $attr)
@if(!empty($attr['icon']) && file_exists(public_path('storage/' . $attr['icon']))) {{ $attr['key'] ?? 'Icon' }} @else @endif
{{ $attr['key'] ?? 'N/A' }}

{{ $attr['value'] ?? '' }}

@endforeach
@endif {{-- DESCRIPTIONS TABS (TECHNICAL SPECIFICATION & PACKAGING DETAILS) --}}
{!! $company->technical_specification ?? 'No technical specification provided.' !!}
{!! $company->packaging_detail ?? 'No packaging details provided.' !!}