@props([ 'title' => 'Document', 'documentNumber' => null, 'date' => null, ]) @php $company = \App\Models\SystemSetting::getAllCompanySettings(); $companyName = $company['name'] ?? config('company.name', 'Company Name'); $companySSM = $company['registration_number'] ?? ''; $companyAddress = $company['address'] ?? ''; $companyCity = $company['city'] ?? ''; $companyState = $company['state'] ?? ''; $companyPostcode = $company['postcode'] ?? ''; $companyLogo = $company['logo'] ?? null; $fullAddress = collect([$companyAddress, $companyPostcode, $companyCity, $companyState]) ->filter() ->implode(', '); @endphp
({{ $companySSM }})
@endif @if($fullAddress){{ $fullAddress }}
@endif