<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="preconnect" href="https://fonts.gstatic.com">
        <title>{{$pdfData['name']}}</title>


        <style>
            * {
                font-family: DejaVu Sans;
            }
            body{
                text-align:center;
                color:#777;
            }

            body h1{
                font-weight: lighter;
                color: #000;
                font-size: 26px;
                margin: 0;
                align-self: center;
                text-align: center;
                letter-spacing: 0.01em;
            }

            body h3{
                font-weight:300;
                margin-top:10px;
                margin-bottom:20px;
                font-style:italic;
                color:#555;
            }

            body a{
                color:#06F;
            }

            .invoice-box{
                max-width:800px;
                margin:auto;
                box-shadow:0 0 10px rgba(0, 0, 0, .15);
                font-size:16px;
                line-height:24px;
                color:#555;
            }

            .invoice-box table{
                padding:5px;
                width:100%;
                line-height:inherit;
                text-align:left;
            }

            .invoice-box table td{
                vertical-align:top;
            }
            .invoice-box .executive td, .invoice-box .rooms td{
                border-bottom: 1px solid #eaeaea;
            }
            .facts td{
                border-bottom: none !important;
            }
            .facts h5, .description h5{
                border-bottom: 1px solid #eaeaea;
            }
            .top > td {
                border-bottom: none !important;
            }
            .invoice-box table tr.top table td{
                padding:10px;
            }
            .invoice-box table tr.top table td.title{
                font-size: 30px;
                line-height: 22px;
                color: #333;
            }
            .invoice-box table tr.information table td{
                padding-bottom:40px;
            }
            table {
                border-collapse: unset;
            }
            .invoice-box table tr.heading td{
                font-weight:bold;
                border: none;
                padding-left: 2px;
                color: #ffffff;
                background: @foreach(json_decode($pdfData['property_brand']['color_codes'], true) as $value)
                @if($loop->first)
                {{ $value['color_code'] }}
                @endif
                @endforeach
            }
            .invoice-box table tr.item td{
                border-bottom:1px solid #eee;
            }
            .invoice-box table tr.item.last td{
                border-bottom:none;
            }
            .invoice-box table tr.total td:nth-child(2){
                border-top:2px solid #eee;
                font-weight:bold;
            }
            @media only screen and (max-width: 600px) {
                .invoice-box table tr.top table td{
                    width:100%;
                    display:block;
                    text-align:center;
                }

                .invoice-box table tr.information table td{
                    width:100%;
                    display:block;
                    text-align:center;
                }
            }
            td {
                font-size: 8px;
            }
            .heading td {
                font-size: 10px;
                line-height: 1;
                vertical-align: middle !important;
                height: 30px;
                text-transform: capitalize;
            }
            h5 {
                margin: 0;
                font-size: 10px;
            }

            .hotel-info span {
                font-size: 9px;
            }
            .title span{
                font-size: 10px;
                font-style: italic;
            }
            .description p{
                margin: 0;
            }
            .title span:nth-child(2) {
                font-size: 16px;
            }

            .newRoomView {
                border-bottom: 1px solid #eaeaea;
                margin-bottom: 25px;
            }
            .newRoomView td{
                border-bottom: none !important;
                border: 0px solid red;
            }
            .newRoomView h5{
                font-size: 10px;
            }
            .newRoomView .title{
                font-size: 9px;
                /*font-weight: bold;*/
            }
            .newRoomView .value{
                font-size: 9px;
                text-align: right;
                padding-right: 20px;
            }
        </style>
    </head>
    <body>
        <div class="invoice-box">
            <table>
                <tr>
                    <td>
                        @if(isset($pdfData['name']))
                        <h1>{{$pdfData['name']}}</h1>
                        @endif
                    </td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0">
                <tr class="top">
                    <td colspan="2">
                        <table>
                            <tr>
                                <td class="title">
                                    @if($logoBase64!= null)
                                        <img src="{{$logoBase64}}" style="max-width: 160px;height: auto; max-height: 120px" />
                                    @endif

                                </td>
                                <td class="hotel-info">
                                    @if(isset($pdfData['country']))
                                    <span>{{ __('enw-input-country') }}: {{$pdfData['country']}}</span><br>
                                    @endif
                                    @if(isset($pdfData['property_chain']))
                                        <span>{{ __('enw-input-chain_and_group') }}: {{__($pdfData['property_chain'])}}</span><br>
                                    @endif
                                    @if(isset($pdfData['property_type_language_key']))
                                        <span>{{ __('enw-input-property_type') }}: {{__($pdfData['property_type_language_key'])}}</span><br>
                                    @endif
                                </td>
                                <td class="hotel-info">
                                    @if(isset($pdfData['official_name']))
                                        <span>{{ __('enw-input-official_name') }}: {{$pdfData['official_name']}}</span><br>
                                    @endif
                                    @if(isset($pdfData['tax_office']))
                                        <span>{{ __('enw-input-registered_tax_office') }}: {{__($pdfData['tax_office'])}}</span><br>
                                    @endif
                                    @if(isset($pdfData['tax_number']))
                                        <span>{{ __('enw-input-license_number') }}: {{__($pdfData['tax_number'])}}</span>
                                    @endif
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>

            {{--Contact Information--}}
            <table cellpadding="0" cellspacing="0">
                <tr class="heading">
                    @if(isset($pdfData['property_contact']['phone']) && $pdfData['property_contact']['phone'] !== "")
                        <td>{{ __('enw-input-main_phone') }}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['mobile']) && $pdfData['property_contact']['mobile'] !== "")
                        <td>{{ __('enw-input-phone') }}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['mobile2']) && $pdfData['property_contact']['mobile2'] !== "")
                        <td>{{ __('enw-input-secondary_phone') }}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['email']) && $pdfData['property_contact']['email'] !== "")
                        <td>{{ __('enw-input-email') }}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['fax']) && $pdfData['property_contact']['fax'] !== "")
                        <td>{{ __('enw-input-fax') }}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['web']) && $pdfData['property_contact']['web'] !== "")
                        <td>{{ __('enw-input-web_site') }}</td>
                    @endif
                </tr>
                <tr class="details">
                    @if(isset($pdfData['property_contact']['phone']) && $pdfData['property_contact']['phone'] !== "")
                        <td>{{$pdfData['property_contact']['phone']}}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['mobile']) && $pdfData['property_contact']['mobile'] !== "")
                        <td>{{$pdfData['property_contact']['mobile']}}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['mobile2']) && $pdfData['property_contact']['mobile2'] !== "")
                        <td>{{$pdfData['property_contact']['mobile2']}}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['email']) && $pdfData['property_contact']['email'] !== "")
                        <td>{{$pdfData['property_contact']['email']}}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['fax']) && $pdfData['property_contact']['fax'] !== "")
                        <td>{{$pdfData['property_contact']['fax']}}</td>
                    @endif
                    @if(isset($pdfData['property_contact']['web']) && $pdfData['property_contact']['web'] !== "")
                        <td>{{$pdfData['property_contact']['web']}}</td>
                    @endif
                </tr>
            </table>

            {{--Address--}}
            @if(isset($pdfData['property_contact']['address']) && $pdfData['property_contact']['address'] !== "")
                <table cellpadding="0" cellspacing="0">
                    <tr class="heading">
                        <td>{{ __('enw-input-address') }}</td>
                    </tr>
                    <tr class="details">
                        <td>{{$pdfData['property_contact']['address']}}</td>
                    </tr>
                </table>
            @endif

            {{--Socail Media--}}
            @if(isset($pdfData['property_contact']['social_media_addresses']) && $pdfData['property_contact']['social_media_addresses'] !== "")
                <table cellpadding="0" cellspacing="0">
                    <tr class="heading">
                        @foreach(json_decode($pdfData['property_contact']['social_media_addresses']) as $socialMediaKey => $socialMedia)
                            <td>@if(isset($socialMedia)) {{$socialMediaKey}} @endif</td>
                        @endforeach
                    </tr>
                    <tr class="details">
                        @foreach(json_decode($pdfData['property_contact']['social_media_addresses']) as $socialMedia)
                            <td>@if(isset($socialMedia)) {{$socialMedia}} @endif</td>
                        @endforeach
                    </tr>
                </table>
            @endif

            {{--Additional Info--}}
            <table cellpadding="0" cellspacing="0">
                <tr class="heading">
                    @if(isset($pdfData['additional_info']['year_construction']) && $pdfData['additional_info']['year_construction'] !== "")
                        <td>{{ __('enw-input-construction_year') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['year_renovation']) && $pdfData['additional_info']['year_renovation'] !== "")
                        <td>{{ __('enw-input-last_renovation_year') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['number_of_rooms']) && $pdfData['additional_info']['number_of_rooms'] !== "")
                        <td>{{ __('enw-input-number_of_rooms') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['checkin_time']) && $pdfData['additional_info']['checkin_time'] !== "")
                        <td>{{ __('enw-input-check_in_time') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['checkout_time']) && $pdfData['additional_info']['checkout_time'] !== "")
                        <td>{{ __('enw-input-check_out_time') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['locale_name_language']) && $pdfData['additional_info']['locale_name_language'] !== "")
                        <td>{{ __('enw-input-local_language') }}</td>
                    @endif
                </tr>
                <tr class="details">
                    @if(isset($pdfData['additional_info']['year_construction']) && $pdfData['additional_info']['year_construction'] !== "")
                        <td>{{$pdfData['additional_info']['year_construction']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['year_renovation']) && $pdfData['additional_info']['year_renovation'] !== "")
                        <td>{{$pdfData['additional_info']['year_renovation']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['number_of_rooms']) && $pdfData['additional_info']['number_of_rooms'] !== "")
                        <td>{{$pdfData['additional_info']['number_of_rooms']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['checkin_time']) && $pdfData['additional_info']['checkin_time'] !== "")
                        <td>{{$pdfData['additional_info']['checkin_time']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['checkout_time']) && $pdfData['additional_info']['checkout_time'] !== "")
                        <td>{{$pdfData['additional_info']['checkout_time']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['locale_name_language']) && $pdfData['additional_info']['locale_name_language'] !== "")
                        <td>{{$pdfData['additional_info']['locale_name_language']}}</td>
                    @endif
                </tr>
                <tr class="heading">
                    @if(isset($pdfData['additional_info']['locale_name']) && $pdfData['additional_info']['locale_name'] !== "")
                        <td>{{ __('enw-input-property_name_local_language') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['pet_allowed']) && $pdfData['additional_info']['pet_allowed'] !== "")
                        <td>{{ __('enw-input-pet_allowed') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['disability_friendly']) && $pdfData['additional_info']['disability_friendly'] !== "")
                        <td>{{ __('enw-input-disabled_friendly') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['min_self_check_in_age']) && $pdfData['additional_info']['min_self_check_in_age'] !== "")
                        <td>{{ __('enw-input-min_self_check_in_age') }}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['minimum_age_policy']) && $pdfData['additional_info']['minimum_age_policy'] !== "")
                        <td>{{ __('enw-input-minimum_child_age') }}</td>
                    @endif
                </tr>
                <tr class="details">
                    @if(isset($pdfData['additional_info']['locale_name']) && $pdfData['additional_info']['locale_name'] !== "")
                        <td>{{$pdfData['additional_info']['locale_name']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['pet_allowed']) && $pdfData['additional_info']['pet_allowed'] !== "")
                        <td>@if($pdfData['additional_info']['pet_allowed']) {{__('enw-input-checkbox-yes')}} @else {{__('enw-input-checkbox-no')}} @endif</td>
                    @endif
                    @if(isset($pdfData['additional_info']['disability_friendly']) && $pdfData['additional_info']['disability_friendly'] !== "")
                        <td>@if($pdfData['additional_info']['disability_friendly']) {{__('enw-input-checkbox-yes')}} @else {{__('enw-input-checkbox-no')}} @endif</td>
                    @endif
                    @if(isset($pdfData['additional_info']['min_self_check_in_age']) && $pdfData['additional_info']['min_self_check_in_age'] !== "")
                        <td>{{$pdfData['additional_info']['min_self_check_in_age']}}</td>
                    @endif
                    @if(isset($pdfData['additional_info']['minimum_age_policy']) && $pdfData['additional_info']['minimum_age_policy'] !== "")
                        <td>{{$pdfData['additional_info']['minimum_age_policy']}}</td>
                    @endif
                </tr>
            </table>

            {{--Spoken Language--}}
            @if(isset($pdfData['property_language_spoken']) && $pdfData['property_language_spoken'] !== "")
                <table cellpadding="0" cellspacing="0">
                    <tr class="heading">
                        <td>{{ __('enw-input-language_spoken') }}</td>
                    </tr>
                    <tr class="details">
                        <td>{{$pdfData['property_language_spoken']}}</td>
                    </tr>
                </table>
            @endif

            {{--Awards and Certificates--}}
            @if(isset($pdfData['property_awards_certificates']) && $pdfData['property_awards_certificates'] !== "")
                <table cellpadding="0" cellspacing="0">
                    <tr class="heading">
                        <td>{{ __('enw-input-award_and_certificate') }}</td>
                    </tr>
                    <tr class="details">
                        <td>{{$pdfData['property_awards_certificates']}}</td>
                    </tr>
                </table>
            @endif

            {{--Executive Contact--}}
            <table cellpadding="0" cellspacing="0" class="executive">
                @if(isset($pdfData['property_executive']))
                    <tr class="heading">
                        <td>{{ __('enw-input-contact_type') }}</td>
                        <td>{{ __('enw-input-name_surname') }}</td>
                        <td>{{ __('enw-input-email') }}</td>
                        <td>{{ __('enw-input-phone') }}</td>
                        <td>{{ __('enw-input-mobile_phone') }}</td>
                        <td width="80">{{ __('enw-input-fax') }}</td>
                    </tr>
                @foreach($pdfData['property_executive'] as $propertyExecutive)
                    <tr class="details">
                        <td>
                            @if(isset($propertyExecutive['executive_type_name']) && $propertyExecutive['executive_type_name'] !== "")
                                {{__($propertyExecutive['executive_type_locale_key'])}}
                            @endif
                        </td>
                        <td>
                            @if(isset($propertyExecutive['name_surname']) && $propertyExecutive['name_surname'] !== "")
                                {{$propertyExecutive['name_surname']}}
                            @endif
                        </td>
                        <td>
                            @if(isset($propertyExecutive['email']) && $propertyExecutive['email'] !== "")
                                {{$propertyExecutive['email']}}
                            @endif
                        </td>
                        <td>
                            @if(isset($propertyExecutive['phone']) && $propertyExecutive['phone'] !== "")
                                {{$propertyExecutive['phone']}}
                            @endif
                        </td>
                        <td>
                            @if(isset($propertyExecutive['mobile']) && $propertyExecutive['mobile'] !== "")
                                {{$propertyExecutive['mobile']}}
                            @endif
                        </td>
                        <td>
                            @if(isset($propertyExecutive['fax']) && $propertyExecutive['fax'] !== "")
                                {{$propertyExecutive['fax']}}
                            @endif
                        </td>
                    </tr>
                @endforeach
                @endif
            </table>

            {{--Rooms--}}
            @if(isset($pdfData['rooms']))
            <table cellpadding="0" cellspacing="0">
                <tr class="heading">
                    <td>{{ __('myweb-rooms-title') }}</td>
                </tr>
            </table>
                @foreach($pdfData['rooms'] as $propertyRoom)
                    <table cellpadding="0" cellspacing="0" class="newRoomView">
                        <tr>
                            <td colspan="4">
                                <h5>
                                @if(isset($propertyRoom['property_room_type']) && !empty($propertyRoom['property_room_type']))
                                    {{__($propertyRoom['property_room_type']['language_key'])}}
                                @endif
                                @if(isset($propertyRoom['name']) && $propertyRoom['name'] !== "")
                                     ({{$propertyRoom['name']}})
                                @endif
                                </h5>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">{{ __('enw-input-max_adults') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['max_adult']) && $propertyRoom['max_adult'] !== "")
                                    {{$propertyRoom['max_adult']}}
                                @endif
                            </td>
                            <td class="title">{{ __('enw-input-room_type_count') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['room_type_count']) && $propertyRoom['room_type_count'] !== "")
                                    {{$propertyRoom['room_type_count']}}
                                @endif
                            </td>
                        </tr>
                        <tr>
                            <td class="title">{{ __('enw-input-max_children') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['max_child']) && $propertyRoom['max_child'] !== "")
                                    {{$propertyRoom['max_child']}}
                                @endif
                            </td>
                            <td class="title">{{ __('enw-input-number_of_rooms') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['room_count']) && $propertyRoom['room_count'] !== "")
                                    {{$propertyRoom['room_count']}}
                                @endif
                            </td>
                        </tr>
                        <tr>
                            <td class="title">{{ __('enw-input-max_room_occupancy') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['max_occupancy']) && $propertyRoom['max_occupancy'] !== "")
                                    {{$propertyRoom['max_occupancy']}}
                                @endif
                            </td>
                            <td class="title">{{ __('enw-input-number_of_lounge') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['lounge_count']) && $propertyRoom['lounge_count'] !== "")
                                    {{$propertyRoom['lounge_count']}}
                                @endif
                            </td>
                        </tr>
                        <tr>
                            <td class="title">{{ __('enw-input-room_size') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['room_size']) && $propertyRoom['room_size'] !== "")
                                    {{$propertyRoom['room_size']}}
                                @endif
                                @if(isset($propertyRoom['room_size']) && $propertyRoom['room_size_type'] !== "")
                                    {{$propertyRoom['room_size_type']}}
                                @endif
                            </td>
                            <td class="title">{{ __('enw-input-number_of_bathrooms') }}:</td>
                            <td class="value">
                                @if(isset($propertyRoom['bathroom_count']) && $propertyRoom['bathroom_count'] !== "")
                                    {{$propertyRoom['bathroom_count']}}
                                @endif
                            </td>
                        </tr>
                    </table>
                @endforeach
            @endif

            {{--Places--}}
            @if(isset($pdfData['propertyPlaces']) && !empty($pdfData['propertyPlaces']))
                <table cellpadding="0" cellspacing="0">
                    <tr class="heading">
                        <td>{{ __('myweb-places-title') }}</td>
                    </tr>
                </table>
                @foreach($pdfData['propertyPlaces'] as $propertyPlace)
                    <table cellpadding="0" cellspacing="0" class="newRoomView">
                        <tr>
                            <td colspan="4">
                                <h5>
                                    @if(isset($propertyPlace['name']) && $propertyPlace['name'] !== "")
                                        {{$propertyPlace['name']}}
                                    @endif
                                    @if(isset($propertyPlace['property_place_category']['language_key']) && $propertyPlace['property_place_category']['language_key'] !== "")
                                        ({{__($propertyPlace['property_place_category']['language_key'])}})
                                    @endif
                                </h5>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">{{ __('enw-input-working_hour') }}:</td>
                            <td class="value" style="font-weight: bold;">
                                @if(isset($propertyPlace['property_place_working_hour']['language_key']) && $propertyPlace['property_place_working_hour']['language_key'] !== "")
                                    {{__($propertyPlace['property_place_working_hour']['language_key'])}}
                                @endif
                            </td>
                            <td class="title">{{ __('enw-content-add_place-is_reservation_required') }}</td>
                            <td class="value" style="font-weight: bold;">
                                @if(isset($propertyPlace['reservation_requirement']) && $propertyPlace['reservation_requirement'] !== "")
                                    @if($propertyPlace['reservation_requirement']) {{__('enw-input-checkbox-yes')}} @else {{__('enw-input-checkbox-no')}} @endif
                                @endif
                            </td>
                        </tr>
                        @if(isset($propertyPlace['property_place_category_field_value']) && !empty($propertyPlace['property_place_category_field_value']))

                            <?php $propertyPlaceCategoryFieldKeyCounter = 0; ?>
                            @foreach($propertyPlace['property_place_category_field_value'] as $propertyPlaceCategoryField)

                                @if(!empty($propertyPlaceCategoryField['input_value']) || !empty($propertyPlaceCategoryField['option_value']))

                                    @if($propertyPlaceCategoryFieldKeyCounter % 2 == 0)
                                        <tr class="details">
                                    @endif

                                            <td class="title">{{__($propertyPlaceCategoryField['place_category_field']['language_key'])}}</td>
                                            <td class="value" style="font-weight: bold;">
                                                @if(!empty($propertyPlaceCategoryField['input_value'])) {{$propertyPlaceCategoryField['input_value']}} @endif
                                                @if(!empty($propertyPlaceCategoryField['option_value']))

                                                        {{__($propertyPlaceCategoryField['option_value']['language_key'])}}

                                                    @endif
                                                 {{$propertyPlaceCategoryField['unit_value']['short_name']}}
                                            </td>

                                    @if($propertyPlaceCategoryFieldKeyCounter % 2 != 0)
                                        </tr>
                                     @endif

                                     <?php $propertyPlaceCategoryFieldKeyCounter++; ?>
                                @endif
                            @endforeach
                        @endif
                        @if(isset($propertyPlace['property_place_fact_mapping']) && !empty($propertyPlace['property_place_fact_mapping']))
                        @foreach($propertyPlace['property_place_fact_mapping'] as $propertyPlaceFacts)
                            <tr class="details">
                                <td colspan="4">
                                    <h5 style="font-size: 9px;">{{__($propertyPlaceFacts['title'])}}</h5>
                                    <div style="line-height: 12px;">
                                    @if(isset($propertyPlaceFacts['fact']) && !empty($propertyPlaceFacts['fact']))
                                    @foreach($propertyPlaceFacts['fact'] as $propertyPlaceFact)
                                        {{__($propertyPlaceFact)}}@if(!$loop->last),@endif
                                    @endforeach
                                    @endif
                                    </div>
                                </td>
                            </tr>
                        @endforeach
                        @endif
                    </table>
                @endforeach
            @endif

            {{--Amenities--}}
            @if(isset($pdfData['property_facts'][1]['fact_subcategory']) && $pdfData['property_facts'][1]['fact_subcategory'] !== "")
                <table cellpadding="0" cellspacing="0" class="facts">
                    <tr class="heading">
                        <td>{{__($pdfData['property_facts'][1]['language_key'])}}</td>
                    </tr>
                    @foreach($pdfData['property_facts'][1]['fact_subcategory'] as $amenityFacts)
                        <tr class="details">
                            <td>
                                <h5>{{__($amenityFacts['language_key'])}}</h5>
                                <div style="line-height: 12px;">
                                @foreach($amenityFacts['fact'] as $amenityFact)
                                    {{__($amenityFact['language_key'])}}@if(!$loop->last),@endif
                                @endforeach
                                </div>
                            </td>
                        </tr>
                    @endforeach
                </table>
            @endif

            {{--Facilities--}}
            @if(isset($pdfData['property_facts'][44]['fact_subcategory']) && $pdfData['property_facts'][44]['fact_subcategory'] !== "")
                <table cellpadding="0" cellspacing="0" class="facts">
                    <tr class="heading">
                        <td>{{__($pdfData['property_facts'][44]['language_key'])}}</td>
                    </tr>
                    @foreach($pdfData['property_facts'][44]['fact_subcategory'] as $facilityFacts)
                        <tr class="details">
                            <td>
                                <h5>{{ __($facilityFacts['language_key']) }}</h5>
                                <div style="line-height: 12px;">
                                @foreach($facilityFacts['fact'] as $facilityFact)
                                    {{__($facilityFact['language_key'])}}@if(!$loop->last),@endif
                                @endforeach
                                </div>
                            </td>
                        </tr>
                    @endforeach
                </table>
            @endif

            {{--Description--}}
            @if(isset($pdfData['property_brand']['title']) && $pdfData['property_brand']['title'] !== "")
                <table cellpadding="0" cellspacing="0" class="description">
                    <tr class="heading">
                        <td>{{ __('enw-input-description') }}</td>
                    </tr>
                    @foreach(json_decode($pdfData['property_brand']['title']) as $languageKey => $languageValue)
                        @if(isset($languageValue) && $languageValue !== "")
                            <tr class="details">
                                <td>
                                    <h5>{{$languageKey}}</h5>
                                    <p>{{$languageValue}}</p>
                                </td>
                            </tr>
                        @endif
                    @endforeach
                </table>
            @endif
        </div>
    </body>

{{--
{{dd($pdfData)}}
--}}
</html>
