@php $company = \App\Models\CompanySetting::current(); $count = $catalog->items ? $catalog->items->count() : 0; $isClearance = strtolower((string) ($catalog->permanent_key ?? '')) === 'clearance' || str_contains(strtolower((string) $catalog->title), 'clearance'); @endphp
@if($company->logo && file_exists(public_path('storage/'.$company->logo))) @endif
{{ $company->company_name ?: 'Product Catalog' }}
{{ $isClearance ? 'CLEARANCE PRICE LIST' : 'MAIN PRICE LIST' }}
{{ number_format($count) }} Products Included
{{ now()->format('F Y') }}
{{ $company->phone }}   |   {{ $company->whatsapp }}