first commit

This commit is contained in:
ExtraNetwork
2026-05-12 17:04:54 +03:00
commit e5c4b6aa13
1425 changed files with 284735 additions and 0 deletions

View File

@@ -0,0 +1,192 @@
<html>
<head>
<title>Extranetwork Fiyat Teklifi</title>
<meta charset="UTF-8">
<style>
body { font-family: 'Gilroy'; font-size: 12px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid #ddd; padding: 6px; }
.price {
text-align: center; font-weight: bold; font-size: 16px;
}
.priceBeforeDiscount {
text-align: center; font-weight: bold; text-decoration: line-through;
}
.priceWithPromotion {
text-align: center; font-weight: bold; color: #d51b2c; font-size: 16px;
}
.footer {
position: fixed;
bottom: -60px;
left: 0;
right: 0;
height: 50px;
font-size: 12px;
color: #666;
}
</style>
</head>
<body>
<div class="mainContainer">
<table>
<tr>
<td style="border: none; border-bottom: 1px solid #DDD;">
<img src="https://api.extranetwork.com/img/logo_small.png" width="200">
</td>
<td style="border: none; text-align: right; border-bottom: 1px solid #DDD;">
<h3>Extranetwork Fiyat Teklifi</h3>
</td>
</tr>
</table>
<table>
<thead>
<tr>
<th style="text-align: center;"></th>
<th style="text-align: center;">Ad Soyad</th>
<th style="text-align: center;">E-Posta</th>
<th style="text-align: center;">Telefon</th>
</tr>
</thead>
<tbody>
<tr>
<td>Teklifi Gönderen</td>
<td style="text-align: center; font-weight: bold;">{{$pageContent['accountManagerName']}}</td>
<td style="text-align: center; font-weight: normal;">{{$pageContent['accountManagerEmail']}}</td>
<td style="text-align: center; font-weight: normal;">{{$pageContent['accountManagerPhone']}}</td>
</tr>
<tr>
<td colspan="4" style="border-left: 0;"><br></td>
</tr>
<tr>
<td>Otel Adı</td>
<td style="text-align: center; font-weight: bold;" colspan="3">{{$pageContent['name']}}</td>
</tr>
<tr>
<td>Otel Yetkilisi</td>
<td style="text-align: center; font-weight: bold;">{{$pageContent['executiveName']}}</td>
<td style="text-align: center; font-weight: normal;">{{$pageContent['executiveEmail']}}</td>
<td style="text-align: center; font-weight: normal;">{{$pageContent['executivePhone']}}</td>
</tr>
</tbody>
</table>
<table>
<tr>
<td style="border: none; border-bottom: 1px solid #DDD; padding-left: 0;">
<h3>Paket Bilgisi</h3>
</td>
</tr>
</table>
<table>
<tbody>
<tr>
<td style="font-weight: bold; text-align: center;" colspan="2">{{$pageContent['packageName']}}</td>
</tr>
<tr>
<td style="font-weight: bold;">İçerik Yöneticisi</td>
<td rowspan="6" style="font-weight: bold; text-align: center;">
<span style="font-size: 20px;">{{$pageContent['pricing']['commission']}}%</span>
<br>
@if($pageContent['pricing']['minFee'] == $pageContent['pricing']['minFeeBeforeDiscount'])
{{$pageContent['pricing']['minFee']}} EUR / Oda
@else
<span style="font-size: 16px; text-decoration: line-through; color: #d51b2c;">{{$pageContent['pricing']['minFeeBeforeDiscount']}} EUR / Oda yerine</span><br>
<span style="font-size: 16px; color: #008000;">{{$pageContent['pricing']['minFee']}} EUR / Oda</span>
@endif
</td>
</tr>
<tr>
<td style="font-weight: bold;">Kanal Entegratörü</td>
</tr>
<tr>
<td style="font-weight: bold;">Rezervasyon Motoru</td>
</tr>
<!--<tr>
<td style="font-weight: bold;">Rekabet Analizi</td>
</tr>-->
<tr>
<td style="font-weight: bold;">Web Sayfası</td>
</tr>
<tr>
<td style="font-weight: bold;">Ödeme Altyapısı</td>
</tr>
<tr>
<td style="font-weight: bold;">Teklif Modülü</td>
</tr>
@if($pageContent['package'] == 'LRG')
<tr>
<td colspan="2">Not: Belirtilen fiyatlara metasearch reklamları dahildir.</td>
</tr>
@endif
</tbody>
</table>
<table>
<tr>
<td style="border: none; border-bottom: 1px solid #DDD; padding-left: 0;">
<h3>Paket Detayı</h3>
</td>
<td style="border: none; text-align: right; border-bottom: 1px solid #DDD;">
<h3>Oda Sayısı: {{$pageContent['numberOfRooms']}}</h3>
</td>
</tr>
</table>
@if($pageContent['promotionCode'])
<table>
<tbody>
<tr>
<td style="text-align: left; font-weight: bold; font-size: 14px;">Seçili Kampanya</td>
</tr>
<tr>
<td>
Fuar'a Özel 1. Yıl indirimi uygulanmıştır. <br>
Bu Kampanyadaki indirimli ücretler 31.12.2025 tarihine kadar alınan paketlerde geçerli olup, geçerlilik süresi 1 yıldır.
</td>
</tr>
</tbody>
</table>
@endif
<table>
<tbody>
<tr>
<td style="font-weight: bold;">Aylık Ödeme</td>
<td style="text-align: center;">{{$pageContent['pricing']['monthly']['minFee']}} EUR</td>
<td style="text-align: center;">Her ay {{$pageContent['pricing']['monthly']['minReservationTotal']}} EUR'luk rezervasyona, %{{$pageContent['pricing']['commission']}} yerine %0 Komisyon!</td>
</tr>
<tr>
<td style="font-weight: bold;">Yıllık Ödeme (%10 İndirim)</td>
<td style="text-align: center;">{{$pageContent['pricing']['annually']['minFeeDiscount']}} EUR</td>
<td style="text-align: center;">Yıl boyunca {{$pageContent['pricing']['annually']['minReservationTotal']}} EUR'luk rezervasyona, %{{$pageContent['pricing']['commission']}} yerine %0 Komisyon!</td>
</tr>
<tr>
<td colspan="3" style="font-size: 10px; color: #666;">Not: Yüzdelik oran üzerinden alınan hizmet bedeline KDV dahildir. Aylık minimum sabit tutarlar ise KDV hariçtir ve faturalandırma sırasında ayrıca KDV eklenir.</td>
</tr>
</tbody>
</table>
</div>
<div class="footer">
<div style="width: 500px; float: left; text-align: left;">{{$pageContent['accountManagerName']}} - {{$pageContent['accountManagerEmail']}}</div>
<div style="width: 300px; float: right; text-align: right;">Teklif Tarihi: {{$pageContent['offerTimeFormatted']}}</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,678 @@
<!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>

View File

@@ -0,0 +1,745 @@
<!DOCTYPE html>
<html>
<body>
<head>
<title>
{{$propertyData['name']}} - <?php
$date=date_create(key($data[0]['monthly_room_availability'][1]));
echo date_format($date,"M Y");
?>
-
<?php
$date=date_create(key($data[0]['monthly_room_availability'][6]));
echo date_format($date,"M Y");
?>
Inventory Data</title>
<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">
<link href="https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600&family=Merriweather:wght@300;400;700&display=swap" rel="stylesheet">
<style>
* {
font-family: 'Heebo', sans-serif;
}
td {
border-collapse:collapse;
border: 1px black solid;
}
.main-div {
position: relative;
display: block;
max-width: 1140px;
margin: auto;
}
.section {
position: relative;
page-break-inside: auto;
page-break-after: always;
margin: 80px auto;
}
.section:last-child {
page-break-after: auto;
}
.rate-name {
font-size: 12px;
width: 11%;
}
.price-area > span {
position: relative;
font-size: 11px;
display: inline-grid;
text-align: center;
width: 2.80%;
}
.price-area {
position: relative;
}
.availability-area > span {
position: relative;
font-size: 12px;
font-weight: bold;
display: inline-grid;
text-align: center;
width: 2.80%;
}
.currency-code {
font-size: 11px !important;
font-weight: bold;
position: absolute !important;
right: -23px !important;
top: 7px !important;
width: auto !important;
}
.date-area > span {
text-align: center;
font-weight: bold;
font-size: 16px;
display: inline-grid;
width: 2.79%;
}
.date-area {
margin-left: 11.3%;
}
h2 {
display: none;
}
.stop-sell {
color: red;
border: 1px solid red !important;
padding: 0 5px;
}
.stop-sell-availability {
color: red;
border: 1.5px solid red !important;
padding: 0 5px;
font-weight: bold;
}
footer {
font-size: 12px;
position: absolute;
bottom: -30px;
width: 100%;
}
.main-page {
padding-top: 65px;
}
.main-page div {
text-align: center;
}
.mb-0 {
font-size: 14px;
margin-top: 10px;
margin-bottom: 0;
}
.month {
font-weight: 600;
text-align: center;
text-transform: uppercase;
width: 10.8%;
border: 1px dashed;
left: 2px;
position: absolute;
}
.left-date {
margin-left: 71%
}
@media print {
@page {
size: landscape
}
.noPrint{
display:none;
}
.section {
width: 297mm;
margin: 40px 0;
}
.main-div {
margin: 0;
}
.month {
width: 120px;
}
}
button.print-button {
width: 100px;
height: 100px;
}
span.print-icon, span.print-icon::before, span.print-icon::after, button.print-button:hover .print-icon::after {
border: solid 4px #333;
}
span.print-icon::after {
border-width: 2px;
}
button.print-button {
position: fixed;
padding: 0;
border: 0;
border: none;
background: transparent;
right: 0;
}
span.print-icon, span.print-icon::before, span.print-icon::after, button.print-button:hover .print-icon::after {
box-sizing: border-box;
background-color: #fff;
}
span.print-icon {
position: relative;
display: inline-block;
padding: 0;
margin-top: 20%;
width: 60%;
height: 35%;
background: #fff;
border-radius: 20% 20% 0 0;
}
span.print-icon::before {
content: " ";
position: absolute;
bottom: 100%;
left: 12%;
right: 12%;
height: 110%;
transition: height .2s .15s;
}
span.print-icon::after {
content: " ";
position: absolute;
top: 55%;
left: 12%;
right: 12%;
height: 0%;
background: #fff;
background-repeat: no-repeat;
background-size: 70% 90%;
background-position: center;
background-image: linear-gradient(
to top,
#fff 0, #fff 14%,
#333 14%, #333 28%,
#fff 28%, #fff 42%,
#333 42%, #333 56%,
#fff 56%, #fff 70%,
#333 70%, #333 84%,
#fff 84%, #fff 100%
);
transition: height .2s, border-width 0s .2s, width 0s .2s;
}
button.print-button:hover {
cursor: pointer;
}
button.print-button:hover .print-icon::before {
height:0;
transition: height .2s;
}
button.print-button:hover .print-icon::after {
height:120%;
transition: height .2s .15s, border-width 0s .16s;
}
.room-name, .rate-name {
padding-left: 5px;
}
.availability-area {
background: #f6f6f6;
}
.print-text {
display: block;
font-size: 14px;
font-weight: 600;
margin-top: 8px;
}
</style>
</head>
<div class="main-div">
<button class="print-button noPrint" onclick="window.print();"><span class="print-icon"></span><span class="print-text">Print</span></button>
<div class="section main-page">
<div>
<img src="{{$logoBase64}}" style="max-width: 300px" />
</div>
@if(isset($propertyData['name']))
<div>
<h1> {{$propertyData['name']}} </h1>
</div>
@endif
<div>
<h3 style="font-size:24px; font-style: italic; margin-bottom: 0"> <span style="font-size: 18px">Booking Engine </span> <br /> Inventory Data</h3>
<h5 style="font-size:16px; margin-top: 10px; margin-bottom: 30px">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][1]));
echo date_format($date,"M Y");
?>
-
<?php
$date=date_create(key($data[0]['monthly_room_availability'][6]));
echo date_format($date,"M Y");
?>
</h5>
@if(isset($propertyData['property_contact']['view_full_phone']))<h6 class="mb-0">{{$propertyData['property_contact']['view_full_phone']}}</h6>@endif
@if(isset($propertyData['property_contact']['view_full_mobile']))<h6 class="mb-0">{{$propertyData['property_contact']['view_full_mobile']}}</h6>@endif
@if(isset($propertyData['property_contact']['address']))<h6 class="mb-0">{{$propertyData['property_contact']['address']}}</h6>@endif
</div>
</div>
{{--first date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][1]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][1] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][1] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][1] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][1]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
{{--second date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][2]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][2] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][2] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][2] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][2]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
{{--thirth date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][3]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][3] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][3] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][3] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][3]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
{{--fourth date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][4]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][4] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][4] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][4] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][4]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
{{--fifth date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][5]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][5] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][5] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][5] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][5]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
{{--sixth date--}}
<div class="section">
<div>
<span class="month">
<?php
$date=date_create(key($data[0]['monthly_room_availability'][6]));
echo date_format($date,"M");
?>
</span>
<div class="date-area">
@foreach ($data[0]['monthly_room_availability'][6] as $key => $price)
<span>
<?php
$date=date_create($key);
echo date_format($date,"d");
?>
</span>
@endforeach
</div>
</div>
@foreach($data as $room)
<table style="word-wrap: break-word; width: 100%;">
<tr>
<td class="room-name" style="font-weight: bold; font-size: 12px">@if(isset($room['name'])) {{$room['name']}} @endif</td>
<td class="availability-area">
@foreach($room['monthly_room_availability'][6] as $key => $availability)
<span>
@if($availability['stop_sell'] == 1)
<span class="stop-sell-availability">X</span>
@elseif($availability['value'] !== null)
{{$availability['value']}}
@else
-
@endif
</span>
@endforeach
</td>
</tr>
@foreach($room['property_room_rate_mapping'] as $rate )
@foreach($rate['prices'] as $prices)
<tr>
<td class="rate-name">{{$rate['name']}}</td>
<td class="price-area">
@foreach ($prices['monthly_price'][6] as $price)
<span>
@if($price['stop_sell'] == 1)
<span class="stop-sell">X</span>
@elseif($price['value'] !== null)
{{$price['value']}}
@else
-
@endif
</span>
@endforeach
<span class="currency-code">{{$rate['currency_code']}}</span>
</td>
</tr>
@endforeach
@endforeach
</table>
@endforeach
<footer>
<span>
Inventory Date: <?php
$date=date_create(key($data[0]['monthly_room_availability'][6]));
echo date_format($date,"M-Y");
?>
</span>
<span class="left-date">
Create Date:
{{ date('d-m-Y H:i:s') }}
</span>
</footer>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<html>
<head>
<title>Property</title>
<meta charset="UTF-8">
@if(empty($userDetail))
<style>
body { font-family: 'Calibri'; font-size: 12px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 12px; }
th, td { border: 1px solid #ddd; padding: 8px; }
.mainContainer {width: 800px; margin: 0 auto;}
</style>
@else
<style>
body { font-family: 'Gilroy'; font-size: 12px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid #ddd; padding: 8px; }
</style>
@endif
</head>
<body>
<div class="mainContainer">
<table>
<tr>
<td style="border: none; border-bottom: 1px solid #DDD;"><h3>Property Comparison</h3></td>
<td style="border: none; text-align: right; border-bottom: 1px solid #DDD;">
@if(!empty($userDetail))
<strong>{{$userDetail['nameSurname']}}</strong> <br>
@endif
{{ \Carbon\Carbon::parse(reset($propertyPriceComparison)['date'])->format('d.m.Y') }}
</td>
</tr>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">Property</th>
<th style="text-align: left;">Channel</th>
<th>+1 Day</th>
<th>+15 Day</th>
<th>+45 Day</th>
<th>+90 Day</th>
</tr>
</thead>
<tbody>
<?php //$propertyPriceComparison = collect($propertyPriceComparison)->where('property_id',696)->toArray(); ?>
@foreach($propertyPriceComparison as $property)
<tr>
<td rowspan="4" style="font-weight: bold;">{{$property['property_detail']['name']}}</td>
<td><strong>Extranetwork</strong></td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['BookingEngine'][1]['bestPrice']) background-color: #149E45; color: #FFF; @endif">@if(!empty($property['dataArray']['BookingEngine'][1]['amount'])) {{$property['dataArray']['BookingEngine'][1]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['BookingEngine'][15]['bestPrice']) background-color: #149E45; color: #FFF; @endif">@if(!empty($property['dataArray']['BookingEngine'][15]['amount'])) {{$property['dataArray']['BookingEngine'][15]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['BookingEngine'][45]['bestPrice']) background-color: #149E45; color: #FFF; @endif">@if(!empty($property['dataArray']['BookingEngine'][45]['amount'])) {{$property['dataArray']['BookingEngine'][45]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['BookingEngine'][90]['bestPrice']) background-color: #149E45; color: #FFF; @endif">@if(!empty($property['dataArray']['BookingEngine'][90]['amount'])) {{$property['dataArray']['BookingEngine'][90]['amount']}} EUR @else - @endif</td>
</tr>
<tr>
<td>Agoda.com</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Agoda.com'][1]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Agoda.com'][1]['amount'])) {{$property['dataArray']['Agoda.com'][1]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Agoda.com'][15]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Agoda.com'][15]['amount'])) {{$property['dataArray']['Agoda.com'][15]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Agoda.com'][45]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Agoda.com'][45]['amount'])) {{$property['dataArray']['Agoda.com'][45]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Agoda.com'][90]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Agoda.com'][90]['amount'])) {{$property['dataArray']['Agoda.com'][90]['amount']}} EUR @else - @endif</td>
</tr>
<tr>
<td>etstur.com</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['etstur.com'][1]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['etstur.com'][1]['amount'])) {{$property['dataArray']['etstur.com'][1]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['etstur.com'][15]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['etstur.com'][15]['amount'])) {{$property['dataArray']['etstur.com'][15]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['etstur.com'][45]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['etstur.com'][45]['amount'])) {{$property['dataArray']['etstur.com'][45]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['etstur.com'][90]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['etstur.com'][90]['amount'])) {{$property['dataArray']['etstur.com'][90]['amount']}} EUR @else - @endif</td>
</tr>
<tr>
<td>Booking.com</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Booking.com'][1]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Booking.com'][1]['amount'])) {{$property['dataArray']['Booking.com'][1]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Booking.com'][15]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Booking.com'][15]['amount'])) {{$property['dataArray']['Booking.com'][15]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Booking.com'][45]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Booking.com'][45]['amount'])) {{$property['dataArray']['Booking.com'][45]['amount']}} EUR @else - @endif</td>
<td style="text-align: center; font-weight: bold; @if($property['dataArray']['Booking.com'][90]['bestPrice']) background-color: #CC0918; color: #FFF; @endif">@if(!empty($property['dataArray']['Booking.com'][90]['amount'])) {{$property['dataArray']['Booking.com'][90]['amount']}} EUR @else - @endif</td>
</tr>
<tr><td colspan="6" style="height: 3px; border-right: none; border-left: none; border-bottom: none;"></td></tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff