<thead class="report-header">
    <tr>
        <th class="report-header-cell" style="font-weight: normal;">
            <div class="row" id="header" style="width:100%;border: ; padding:0 0 0 0;">
            <div class="col-9 letter-head-company-details" style="line-height: 1.2;padding-bottom:5px;text-align: left;" >
                    <span class="m-0 p-0" style="font-size: 24px;"><b>{!! $company->name ?? '' !!}</b></span>
                    <table class="table table-borderless w-100 mb-0">
                        <tbody>
                            @foreach(companyLicenses($company->id) as $value)
                                <tr class="font-weight-normal">
                                    <td class="p-0" width="17%" style="text-align: left;">{!! $value->license_type_name !!}</td>
                                    <td>:</td>
                                    <td style="text-align: left;">{!! $value->license_number !!}</td>
                                </tr>
                            @endforeach
                            <tr class="font-weight-normal">
                                <td class="p-0" width="17%" style="text-align: left;">ADDRESS</td>
                                <td>:</td>
                                <td style="text-align: left;">{!! $company->getCompanyAddress->address_1 ?? '' !!}, {!! $company->getCompanyAddress->getComapnyCity->name ?? '' !!}, {!! $company->getCompanyAddress->getComapnyState->name ?? '' !!}, {!! $company->getCompanyAddress->getComapnyCountry->name ?? '' !!}, {!! $company->getCompanyAddress->pin_code ?? '' !!}</td>
                            </tr>
                            {{--<tr class="font-weight-normal">
                                <td class="p-0" style="text-align: left;" width="11%">STATE</td>
                                <td>:</td>
                                <td style="text-align: left;">{!! $company->getCompanyAddress->getComapnyState->name ?? '' !!}</td>
                            </tr>--}}
                            <tr class="font-weight-normal">
                                <td class="p-0" style="text-align: left;">PHONE</td>
                                <td>:</td>
                                <td style="text-align: left;">{!! $company->mobile_number ?? '' !!}{!! $company->phone_number ? ', '. $company->phone_number : '' !!}{!! $company->whatsapp_no ? ', WhatsApp : '. $company->whatsapp_no : '' !!}</td>
                            </tr>
                            <tr class="font-weight-normal">
                                <td class="p-0" style="text-align: left;">EMAIL</td>
                                <td>:</td>
                                <td style="text-align: left;">{!! $company->email ?? '' !!}{!! $company->website ? ', ' . $company->website : '' !!}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="col-9"></div>
                <div class="col-3 text-right letter-head-logo" style="margin-top: -85px;">
                    @if(isset($company->logo) && $company->logo != '')
                      <img class="img-thumbnail border-0" src="{!! getPermanentUrl($company->logo) !!}" alt="Upload Letter Head Logo" height="90px" width="100%">
                    @endif
                </div>
            </div>
        </th>
    </tr>
</thead>
