<thead class="report-header">
    <tr>
        <th class="report-header-cell" style="font-weight: normal;">
            <div class="row mx-0" id="header">
                <div class="col-9 gx-1 letter-head-company-details">
                    <span class="m-0 p-0" style="font-size: 20px;"><b>{!! $company->name ?? '' !!}</b></span>
                    <div class="row">

                        <div class="col-md-12">
                            @foreach (companyLicenses($company->id) as $value)
                            <b>{!! $value->license_type_name !!} - {!! $value->license_number !!}</b>, &nbsp;
                            @endforeach
                        </div>
                        <div class="col-md-12">
                            @php
                            $address = generate_comma_separated_string(
                            ['address'=> $company->getCompanyAddress->address_1,
                            'city' => $company->getCompanyAddress->getComapnyCity->name,
                            'state' => $company->getCompanyAddress->getComapnyState->name,
                            'country' => $company->getCompanyAddress->getComapnyCountry->name,
                            'pincode' => $company->getCompanyAddress->pin_code]);
                            @endphp

                            {!! $address !!}
                        </div>
                        <div class="col-md-12">
                            @php $companyNumber = generate_comma_separated_string(
                            ['mobile_number' => $company->mobile_number,
                            'phone_number' => $company->phone_number,
                            'whatsapp_no' => 'Whatsapp'.': '.$company->whatsapp_no,
                            ]);
                            @endphp
                            PHONE- {!! $companyNumber !!}

                        </div>
                        <div class="col-md-12">
                            @php
                            $companyEmail = generate_comma_separated_string(
                            ['email' => $company->email,
                            'website' => $company->website,
                            ]);
                            @endphp
                            EMAIL- {!! $companyEmail !!}
                        </div>

                    </div>
                </div>
                <div class="col-3 text-right gx-1 text-end letter-head-logo h-100 my-auto">
                    @if (isset($company->logo) && $company->logo != '')
                    <img class="img-thumbnail border-0" src="{!! getPermanentUrl($company->logo) !!}" alt="Logo" style="max-height: 100%;">
                    @endif
                </div>
            </div>
        </th>
    </tr>
</thead>