@php $companyId = $companyId ?? Session::get('run_company'); $letterhead = \App\Helpers\CommonHelper::get_company_letterhead_detail($companyId); $current_date = date('Y-m-d'); $nameOfDay = date('l', strtotime($current_date)); @endphp

{{ \App\Helpers\CommonHelper::formatLetterheadCompanyName($letterhead->name ?? '') }}

@if(!empty($letterhead->address))
{{ $letterhead->address }}
@endif @if(!empty($letterhead->contact_no) || !empty($letterhead->fax) || !empty($letterhead->email))
@if(!empty($letterhead->contact_no)) Phone: {{ $letterhead->contact_no }} @endif @if(!empty($letterhead->fax))  |  Fax: {{ $letterhead->fax }} @endif @if(!empty($letterhead->email))  |  {{ $letterhead->email }} @endif
@endif