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

0
resources/views/.gitkeep Normal file
View File

View File

@@ -0,0 +1,112 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://api.extranetwork.com/img/logo_small.png" height="50" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Sn, {{$mailParams['executive_name']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<strong>{{$mailParams['property_name']}}</strong> için vermiş olduğumuz teklifimizin detaylarına aşağıdaki Teklifi Görüntüle seçeniği üzerinden görebilirsiniz.
</p>
</td>
</tr>
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 10px;" valign="top">
<a href="{{ $mailParams['btnUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">
Teklifi Görüntüle
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; margin: 0; padding: 20px 0px;" valign="top">
<p>
Fiyat teklifimiz, <strong>{{$mailParams['offer_expire_date']}}</strong> tarihine kadar geçerlidir.
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,119 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Affiliate Request</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<strong>Kişisel & Temel Bilgiler</strong>
</p>
<p>
<span>
<b>Ad Soyad: </b> {{$mailParams['name_surname']}}<br />
<b>E-Posta: </b> {{$mailParams['email']}}<br />
<b>Telefon: </b> {{$mailParams['phone']}}<br />
<b>Şehir: </b> {{$mailParams['city_country']}}<br /><br />
<b>Sosyal Medya Kanalları: </b> {{$mailParams['working_platforms']}}<br />
<b>Kullanıcı Adı ve Linkler: </b> {{$mailParams['username_and_links']}}<br />
<b>Toplam Takipçi Sayısı: </b> {{$mailParams['total_followers']}}<br />
<b>Ortalama Etkileşim Oranı: </b> {{$mailParams['interaction_rate']}}<br />
<b>Hedef Kitle ve Yaş Grubu: </b> {{$mailParams['target_audience_info']}}<br />
<b>Önceki İş Birlikleri: </b> {{$mailParams['previous_collaborations']}}<br />
<b>İçerik Türü: </b> {{$mailParams['plan_to_produce_new_content']}}<br />
<b>Aylık Tahmini Paylaşım: </b> {{$mailParams['estimated_montly_content_sharing']}}<br />
</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;" align="center">{{ __('general-hi',[],$mailParams['locale']) }}, {{$mailParams['toNameSurname']}} </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>
{!! __('api-mailing-cancellation_confirm_code-description',['bookingCode' => $mailParams['bookingCode']],$mailParams['locale']) !!}
</span>
</p>
<p style="text-align: center; margin: 0; padding: 15px;">
<span class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 28px; color: #7d7b7b; font-weight: bold; text-align: center; letter-spacing: 5px;" align="center">{{$mailParams['confirmCode']}}</span>
</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; text-align: center;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{config('app.client_server')}}/app/network/reservation/{{$mailParams['bookingId']}}?propertyid={{$mailParams['propertyId']}}" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;" target="_blank">{{__('enw-reservation_detail-title',[],$mailParams['locale'])}}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,103 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;" align="center">{{ __('general-hi',[],$mailParams['locale']) }}, {{$mailParams['toNameSurname']}} </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>
{!! __('api-mailing-cancellation_request-description',['bookingCode' => $mailParams['bookingCode'],'bookingContactNameSurname' => $mailParams['bookingContactNameSurname']],$mailParams['locale']) !!}
</span>
</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; text-align: center;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['detailUrl']}}" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;" target="_blank">{{__('enw-reservation_detail-title',[],$mailParams['locale'])}}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,285 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="800" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 800px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 800px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="{{config('app.client_server')}}/assets/img/logo/logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%">
<tr>
<td style="font-weight: bold; padding-top: 5px;">
<h2 style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$params['propertyName']}}</h2>
<h3 style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 18px; color: #7d7b7b; line-height: 1.2em; font-weight: 550; text-align: left; margin: 2px 0 0; letter-spacing: -1px;">{{$params['date']}}</h3>
</td>
<td style="font-weight: bold;padding-top: 5px; text-align: right;">
<img src="{{$params['logo']}}" height="60" />
</td>
</tr>
</table>
</td>
</tr>
@if(isset($params['transaction']) && !empty($params['transaction']))
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 10px 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">İşlem Raporu</td>
</tr>
<tr>
<td style="font-weight: bold;padding-top: 10px;">İşlem</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Adet</td>
</tr>
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
<!-- <tr style="background-color: #efefef;"> -->
<tr>
<td>Oda Bulundu</td>
<td style="text-align: right;">{{$params['transaction']['roomFound']}}</td>
</tr>
<tr>
<td>Oda Bulunamadı</td>
<td style="text-align: right;">{{$params['transaction']['roomNotFound']}}</td>
</tr>
<tr>
<td>Ön Rezervasyon</td>
<td style="text-align: right;">{{$params['transaction']['preBooking']}}</td>
</tr>
<tr>
<td>Rezervasyon</td>
<td style="text-align: right;">{{$params['transaction']['booking']}}</td>
</tr>
<tr>
<td style="font-weight: bold;">Toplam Arama Sayısı</td>
<td style="font-weight: bold;text-align: right;">{{$params['transaction']['search']}}</td>
</tr>
</table>
</td>
</tr>
@endif
@if(isset($params['occupancy']) && !empty($params['occupancy']))
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 10px 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">Misafir Sorgu Raporu</td>
</tr>
<tr>
<td style="font-weight: bold;padding-top: 10px;">Sorgu Tipi</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Adet</td>
</tr>
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@foreach($params['occupancy'] as $occupancyCode => $occupancy)
<tr>
<td>{{$occupancy['text']}}</td>
<td style="text-align: right;">{{$occupancy['count']}}</td>
</tr>
@endforeach
</table>
</td>
</tr>
@endif
@if(isset($params['dailyIntensity']) && !empty($params['dailyIntensity']))
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 10px 0 20px;" valign="top">
<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td colspan="5" style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">Tarih Arama Raporu</td>
</tr>
<tr>
<td style="font-weight: bold;padding-top: 10px;">Tarih</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Sorgu Sayısı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulundu</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulunamadı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Rezervasyon</td>
</tr>
<tr>
<td colspan="5"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@foreach($params['dailyIntensity'] as $date => $dateData)
<!-- @if($dateData['roomFound'] > 0) style="background-color: #e9e9e9;" @endif -->
<tr>
<td style="min-width: 150px;border-bottom: 1px solid #CCC !important;">{{$dateData['text']}}</td>
<td style="text-align: right;border-bottom: 1px solid #CCC !important;">{{$dateData['search']}}</td>
<td style="text-align: right;border-bottom: 1px solid #CCC !important;">{{$dateData['roomFound']}}</td>
<td style="text-align: right;border-bottom: 1px solid #CCC !important;">{{$dateData['roomNotFound']}}</td>
<td style="text-align: right;border-bottom: 1px solid #CCC !important;">{{$dateData['booking']}}</td>
</tr>
@endforeach
</table>
</td>
</tr>
@endif
@if(isset($params['country']) && !empty($params['country']))
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 10px 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="5" style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">Kullanıcı Ülke Raporu</td>
</tr>
<tr>
<td style="font-weight: bold;padding-top: 10px;">Ülke</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Sorgu Sayısı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulundu</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulunamadı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Rezervasyon</td>
</tr>
<tr>
<td colspan="5"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@foreach($params['country'] as $countryCode => $country)
<tr>
<td style="min-width: 150px;">{{$country['text']}}</td>
<td style="text-align: right;">{{$country['search']}}</td>
<td style="text-align: right;">{{$country['roomFound']}}</td>
<td style="text-align: right;">{{$country['roomNotFound']}}</td>
<td style="text-align: right;">{{$country['booking']}}</td>
</tr>
@endforeach
</table>
</td>
</tr>
@endif
@if(isset($params['language']) && !empty($params['language']))
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 10px 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="5" style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">Kullanıcı Dil Raporu</td>
</tr>
<tr>
<td style="font-weight: bold;padding-top: 10px;">Dil</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Sorgu Sayısı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulundu</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Oda Bulunamadı</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">Rezervasyon</td>
</tr>
<tr>
<td colspan="5"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@foreach($params['language'] as $languageCode => $language)
<tr>
<td style="min-width: 150px;">{{$language['text']}}</td>
<td style="text-align: right;">{{$language['search']}}</td>
<td style="text-align: right;">{{$language['roomFound']}}</td>
<td style="text-align: right;">{{$language['roomNotFound']}}</td>
<td style="text-align: right;">{{$language['booking']}}</td>
</tr>
@endforeach
</table>
</td>
</tr>
@endif
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<hr style="border: 1px solid #f1efef;margin-top: 50px;">
<table width="100%">
<tr>
<td style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">
<img src="{{config('app.client_server')}}/assets/img/logo/mini-logo.png" height="40" />
</td>
<td style="padding-top: 10px; text-align: right;color: #CCC;">
{{$params['propertyName']}}<br>
{{date('Y-m-d H:i:s')}}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$mailParams['propertyName']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! __('api-mailing-booking-invoice_update-info', ['bookingCode' => $mailParams['bookingCode']]) !!}
</p>
</td>
</tr>
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{ $mailParams['btnUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('api-mailling-booking_info-link') }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;" align="center">{{ __('general-hi',[],$mailParams['locale']) }}, {{$mailParams['toNameSurname']}} </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>
{!! __('api-mailing-payment_data_code-description',['bookingCode' => $mailParams['bookingCode']],$mailParams['locale']) !!}
</span>
</p>
<p style="text-align: center; margin: 0; padding: 15px;">
<span class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 28px; color: #7d7b7b; font-weight: bold; text-align: center; letter-spacing: 5px;" align="center">{{$mailParams['unlockCode']}}</span>
</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0; text-align: center;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{config('app.client_server')}}/app/network/reservation/{{$mailParams['bookingId']}}?propertyid={{$mailParams['propertyId']}}" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;" target="_blank">{{__('enw-reservation_detail-title',[],$mailParams['locale'])}}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$mailParams['propertyName']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! __('api-mailing-booking-addon_update-info', ['bookingCode' => $mailParams['bookingCode'], 'addonLanguageKey' => __($mailParams['addonLanguageKey'])]) !!}
</p>
</td>
</tr>
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{ $mailParams['btnUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('api-mailling-booking_info-link') }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ $mailParams['title'] }}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
{!! $mailParams['message'] !!}
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{ $mailParams['btnUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ $mailParams['btnTitle'] }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,386 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="700" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 700px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 700px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
@if(isset($mailParams['web']) && !empty($mailParams['web']))
<a href="{{$mailParams['web']}}" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
@else
<img src="{{$mailParams['logo']}}" height="50" />
@endif
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$mailParams['property_name']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! __('api-malling-booking-cancel_booking-info', ['code' => $mailParams['bookingChannelCode'], 'channel' => $mailParams['bookingChannelName'], 'nameSurname' => $mailParams['name_surname']]) !!}
</p>
@if($mailParams['bookingChannelId'] != 1 || true)
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-channel')}}:</b> {{$mailParams['bookingChannelName']}}
</td>
</tr>
@if(!empty($mailParams['bookingChannelCode']))
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-confirmation-code')}}:</b> {{$mailParams['bookingChannelCode']}}
</td>
</tr>
@endif
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>Extranetwork Code:</b> {{$mailParams['bookingCode']}}
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-name-surname')}}:</b> {{$mailParams['bookingChannelContactNameSurname']}} @if(!empty($mailParams['countryCode'])) ({{$mailParams['countryCode']}}) @endif
</td>
</tr>
@if(!empty($mailParams['bookingChannelContactEmail']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-email')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactEmail', '-')}}
</td>
</tr>
@endif
@if(!empty($mailParams['bookingChannelContactPhone']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-phone')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactPhone', '-')}}
</td>
</tr>
@endif
@if(isset($mailParams['isBookingGenius']) && $mailParams['isBookingGenius'])
<tr>
<td style="padding-top: 0px;">
<span style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #4299f9; margin: 0; border-color: #4299f9; border-style: solid; border-width: 5px 10px;">Booking.com Genius</span>
</td>
</tr>
@endif
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkin')}}:</b> {{$mailParams['checkin_date']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkout')}}:</b> {{$mailParams['checkout_date']}}
</td>
</tr>
</table>
@foreach($mailParams['bookingChannelRoom'] as $perRoom)
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-room_order', ['order' => $perRoom['roomOrder']])}}:</b> {{$perRoom['roomName']}}
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$perRoom['roomRateName']}}</b>
</td>
</tr>
<tr>
<td style="padding-top: 5px;" colspan="2">
<b>{{__('mail-booking-occupany')}}:</b> {{$perRoom['occupancyText']}}
</td>
</tr>
@if(isset($perRoom['dailyAmount']))
@foreach($perRoom['dailyAmount'] as $dailyAmount)
<tr>
<td style="padding-top: 0px;">
<b>{{\Carbon\Carbon::parse($dailyAmount['date'])->format('d.m.Y')}}</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{floatval($dailyAmount['amount'])}} {{$dailyAmount['currency_code']}}
</td>
</tr>
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px dashed #f1efef;"></td>
</tr>
@if(isset($perRoom['additionalFee']) && !empty($perRoom['additionalFee']))
<tr>
<td colspan="2">
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['additionalFee'] as $additionalFeeKey => $additionalFee)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Fee Type:</b></td>
<td style="text-align: right">{{$additionalFee['name']}}</td>
</tr>
@if($additionalFee['is_inclusive'])
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Included:</b></td>
<td style="text-align: right">@if($additionalFee['is_inclusive']) Yes @else No @endif</td>
</tr>
@else
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Total:</b></td>
<td style="text-align: right">{{$additionalFee['total_price']}} {{$mailParams['currency_code']}}</td>
</tr>
@endif
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
</table>
</td>
</tr>
@endif
@if(!empty($perRoom['discount_amount']) || $perRoom['discount_amount'] > 0)
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-discount')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right; font-weight: bold;">
- {{$perRoom['discount_amount']}} {{$perRoom['currencyCode']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@else
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@endif
@endif
</table>
@if(isset($perRoom['extraParam']) && !empty($perRoom['extraParam']))
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['extraParam'] as $extraParamKey => $extraParam)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;">
<b>{{$extraParam['title']}}</b>
</td>
<td style="padding-top: 5px;">
@if($extraParamKey == 'cancel_penalties')
<table width="100%">
@foreach($extraParam['value'] as $policyKey => $policyValue)
<tr>
<td>From {{\Carbon\Carbon::parse($policyValue['from'])->format('M, d Y - H:i:s')}}</td>
<td style="text-align: right;">{{$policyValue['amount']}} {{strtoupper($policyValue['currency'])}}</td>
</tr>
@endforeach
</table>
@else
{!! $extraParam['value'] !!}
@endif
</td>
</tr>
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
</table>
@endif
@endforeach
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-grand_total')}}:</b>
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$mailParams['total']}} {{$mailParams['currency_code']}}</b>
</td>
</tr>
</table>
@if($mailParams['payment_type_code'] != 'CHN')
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-payment')}}:</b> {!! $mailParams['bookingChannelPaymentType'] !!}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
@if(!empty($mailParams['bookingChannelPaymentSource']))
<b>{{__('mail-booking-payment_source')}}:</b> {!! $mailParams['bookingChannelPaymentSource'] !!} <br />
@endif
</td>
</tr>
</table>
@endif
@if(isset($mailParams['creditCardInformation']) && !empty($mailParams['creditCardInformation']))
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-cardholder_name')}}:</b> {{$mailParams['creditCardInformation']['cardHolderName']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-card_number')}}:</b> {{$mailParams['creditCardInformation']['cardNumber']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-expiration_date')}}:</b> {{$mailParams['creditCardInformation']['expirationDate']}}
</td>
</tr>
@if(!empty($mailParams['showCreditCardUrl']))
<tr>
<td style="padding-top: 5px;">
<a href="{{$mailParams['showCreditCardUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">{{__('mail-booking-show_credit_card_info')}}</a>
</td>
</tr>
@endif
</table>
@endif
@if(!empty($mailParams['bookingChannelNote']))
<table width="100%" style="margin-bottom: 0px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-note')}}:</b>
<hr style="border: 1px solid #f1efef;">
<p>
{!! $mailParams['bookingChannelNote'] !!}
</p>
</td>
</tr>
</table>
@endif
</td>
</tr>
</table>
@endif
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('api-mailling-booking_info-link') }}</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<hr style="border: 1px solid #f1efef;margin-top: 20px;">
<table width="100%">
<tr>
<td style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">
<img src="{{config('app.client_server')}}/assets/img/logo/mini-logo.png" height="40" />
</td>
<td style="padding-top: 10px; text-align: right;color: #CCC;">
{{$mailParams['property_name']}}<br>
{{date('Y-m-d H:i:s')}}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="800" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="{{config('app.client_server')}}/assets/img/logo/logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%">
<tr>
<td style="font-weight: bold; padding-top: 5px;">
<h2 style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$params['channelName']}} Channel Update Error</h2>
</td>
</tr>
<tr>
<td style="padding-top: 10px;">
<b>{{$params['propertyName']}}</b> has received an error regarding the update made on the <b>{{$params['channelName']}}</b> channel, check your latest updates.
<br /><br />Please contact with your account manager.
</td>
</tr>
</table>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<hr style="border: 1px solid #f1efef;margin-top: 50px;">
<table width="100%">
<tr>
<td style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">
<img src="{{config('app.client_server')}}/assets/img/logo/mini-logo.png" height="40" />
</td>
<td style="padding-top: 10px; text-align: right;color: #CCC;">
{{$params['propertyName']}}<br>
{{date('Y-m-d H:i:s')}}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{__('Contact Form')}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p><span>
<b>Name Surname : </b> {{$mailParams['name']}} {{$mailParams['surname']}}<br />
<b>Phone : </b> {{$mailParams['phone']}}<br />
<b>Email : </b> {{$mailParams['email']}}<br />
<b>Message : </b> {!! nl2br($mailParams['message']) !!}<br />
<br/><br/>
</span></p>
<p>
<b> Please don't reply to this email. You should forward this email to sender's email address ({{$mailParams['email']}}) if you want to contact with the sender.</b>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,95 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;" align="center"> {{ __('general-hi') }}, {{$params['name_surname']}} </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h3> {{ __('api-mailing-your_password') }} <span style="color: #d72226"> {{$params['password']}}</span></h3>
<p> {{ __('api-mailing-new_user_desc') }} </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,368 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="800" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 800px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 800px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://app.extranetwork.com/assets/img/logo/mini-logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Summary Report</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;">{{$params['daily']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['daily']['period']}}</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['daily']['data']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
@foreach($params['daily']['data'] as $currencyCode => $data)
<tr>
<td>{{$data['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['total'])}} {{$currencyCode}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['commission'])}} {{$currencyCode}}</td>
</tr>
@endforeach
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">{{$params['daily']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['daily']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['daily']['summary']['commission'])}} EUR</td>
</tr>
@endif
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;">{{$params['monthly']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['monthly']['period']}}</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['monthly']['data']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
@foreach($params['monthly']['data'] as $currencyCode => $data)
<tr>
<td>{{$data['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['total'])}} {{$currencyCode}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['commission'])}} {{$currencyCode}}</td>
</tr>
@endforeach
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">{{$params['monthly']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['monthly']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['monthly']['summary']['commission'])}} EUR</td>
</tr>
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold; color: #41ad0a;">{{$params['monthly']['summaryCheckout']['count']}}</td>
<td style="text-align: right; font-weight: bold; color: #41ad0a;">{{moneyDoubleFormatDecimal($params['monthly']['summaryCheckout']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold; color: #41ad0a;">{{moneyDoubleFormatDecimal($params['monthly']['summaryCheckout']['commission'])}} EUR</td>
</tr>
@endif
<tr><td colspan="3">&nbsp;</td></tr>
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">Monthly Summary Report</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['monthlySummary']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
<tr>
<td style="font-weight: bold;">Period</td>
<td style="font-weight: bold;text-align: right;">Transaction</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">Checkout</td>
</tr>
@foreach($params['monthlySummary']['month'] as $month)
<tr>
<td style="font-weight: bold;">{{$month}}</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal($params['monthlySummary']['transaction'][$month]['commission'])}} EUR</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">{{moneyDoubleFormatDecimal($params['monthlySummary']['checkout'][$month]['commission'])}} EUR</td>
</tr>
@endforeach
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal(collect($params['monthlySummary']['transaction'])->sum('commission'))}} EUR</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">{{moneyDoubleFormatDecimal(collect($params['monthlySummary']['checkout'])->sum('commission'))}} EUR</td>
</tr>
@endif
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;">{{$params['annually']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['annually']['period']}}</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['annually']['data']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
@foreach($params['annually']['data'] as $currencyCode => $data)
<tr>
<td>{{$data['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['total'])}} {{$currencyCode}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($data['commission'])}} {{$currencyCode}}</td>
</tr>
@endforeach
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">{{$params['annually']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['annually']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['annually']['summary']['commission'])}} EUR</td>
</tr>
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold; color: #41ad0a;">{{$params['annually']['summaryCheckout']['count']}}</td>
<td style="text-align: right; font-weight: bold; color: #41ad0a;">{{moneyDoubleFormatDecimal($params['annually']['summaryCheckout']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold; color: #41ad0a;">{{moneyDoubleFormatDecimal($params['annually']['summaryCheckout']['commission'])}} EUR</td>
</tr>
@endif
<tr>
<td colspan="3">&nbsp;</td>
</tr>
</table>
<hr style="border: 1px solid #f1efef;">
<table width="100%">
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="4" style="font-weight: bold;padding-top: 10px;">Monthly Invoice Comparative Report</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['comparative']))
<tr>
<td colspan="4">No Record!</td>
</tr>
@else
<tr>
<td style="font-weight: bold;">Month</td>
<td style="font-weight: bold;text-align: right;">{{$params['comparative']['yearList'][0]}}</td>
<td style="font-weight: bold;text-align: right;">{{$params['comparative']['yearList'][1]}}</td>
<td style="font-weight: bold;text-align: right;">Status</td>
</tr>
@foreach($params['comparative']['monthList'] as $monthKey => $month)
<tr>
<td style="font-weight: bold;">{{$month}}</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal($params['comparative']['data'][$params['comparative']['yearList'][0]][$monthKey])}} EUR</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal($params['comparative']['data'][$params['comparative']['yearList'][1]][$monthKey])}} EUR</td>
@if($params['comparative']['diff'][$monthKey]['amount'] > 0)
<td style="font-weight: bold;text-align: right; color: #41ad0a;">+{{moneyDoubleFormatDecimal($params['comparative']['diff'][$monthKey]['amount'])}} EUR</td>
@else($params['comparative']['diff'][$monthKey]['amount'] > 0)
<td style="font-weight: bold;text-align: right; color: #d71f26;">{{moneyDoubleFormatDecimal($params['comparative']['diff'][$monthKey]['amount'])}} EUR</td>
@endif
</tr>
@endforeach
<td colspan="4"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal(array_sum($params['comparative']['data'][$params['comparative']['yearList'][0]]))}} EUR</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal(array_sum($params['comparative']['data'][$params['comparative']['yearList'][1]]))}} EUR</td>
@if(collect($params['comparative']['diff'])->sum('amount') > 0)
<td style="font-weight: bold;text-align: right; color: #41ad0a;">+{{moneyDoubleFormatDecimal(collect($params['comparative']['diff'])->sum('amount'))}} EUR</td>
@else($params['comparative']['diff'][$monthKey]['amount'] > 0)
<td style="font-weight: bold;text-align: right; color: #d71f26;">{{moneyDoubleFormatDecimal(collect($params['comparative']['diff'])->sum('amount'))}} EUR</td>
@endif
</tr>
@endif
<tr>
<td colspan="4">&nbsp;</td>
</tr>
</table>
<hr style="border: 1px solid #f1efef;">
<table width="100%">
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;"><h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Active Hotel List</h2></td>
</tr>
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;">Number of Active Hotels</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['activeProperty']['count']}}</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
</tr>
@if(empty($params['activeProperty']['lastMonth']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
@foreach($params['activeProperty']['lastMonth'] as $period => $lastMonthGroup)
<tr>
<td colspan="2" style="font-weight: bold;padding-top: 10px;">{{$period}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{count($lastMonthGroup)}}</td>
</tr>
@foreach($lastMonthGroup as $property)
<tr>
<td>{{$property['name']}}</td>
<td style="text-align: right; font-weight: bold;">%{{$property['commission']}}</td>
<td style="text-align: right; font-weight: bold;">@if($property['fee']) {{$property['fee']}} EUR @else - @endif</td>
</tr>
@endforeach
@endforeach
@endif
<tr>
<td colspan="3"><hr style="border: 1px dashed #f1efef;"></td>
</tr>
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">Number of Periodic Active Hotels</td>
</tr>
@if(empty($params['activeProperty']['groupByMonth']))
<tr>
<td colspan="3">No Record!</td>
</tr>
@else
@foreach($params['activeProperty']['groupByMonth'] as $period => $periodMonthly)
<tr>
<td colspan="2">{{$period}}</td>
<td style="text-align: right; font-weight: bold;">{{count($periodMonthly)}}</td>
</tr>
@endforeach
@endif
<tr>
<td colspan="3">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>{{date('Y-m-d H:i:s')}}</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,271 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://app.extranetwork.com/assets/img/logo/mini-logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Summary Report - {{$params['name']}}</h2>
</td>
</tr>
@if($params['priceComparisonLink'])
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$params['priceComparisonLink']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> Property Price Comparison</a>
</td>
</tr>
@endif
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%">
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">{{$params['daily']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['daily']['period']}}</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['daily']['data']))
<tr>
<td colspan="4">😔 No Reservation!</td>
</tr>
@else
@foreach($params['daily']['data'] as $propertyId => $property)
<tr>
<td>{{$property['name']}}</td>
<td>{{$property['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['total'])}} EUR</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['commission'])}} EUR</td>
</tr>
@endforeach
<td colspan="4"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;">{{$params['daily']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['daily']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['daily']['summary']['commission'])}} EUR</td>
</tr>
@endif
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">{{$params['monthly']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['monthly']['period']}}</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['monthly']['data']))
<tr>
<td colspan="4">😔 No Reservation!</td>
</tr>
@else
@foreach($params['monthly']['data'] as $propertyId => $property)
<tr>
<td>{{$property['name']}}</td>
<td>{{$property['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['total'])}} EUR</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['commission'])}} EUR</td>
</tr>
@endforeach
<td colspan="4"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;">{{$params['monthly']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['monthly']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['monthly']['summary']['commission'])}} EUR</td>
</tr>
@endif
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="4" style="font-weight: bold;padding-top: 10px;">Monthly Summary Report</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['monthlySummary']))
<tr>
<td colspan="4">😔 No Reservation!</td>
</tr>
@else
<tr>
<td style="font-weight: bold;" colspan="2">Period</td>
<td style="font-weight: bold;text-align: right;">Transaction</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">Checkout</td>
</tr>
@foreach($params['monthlySummary']['month'] as $month)
<tr>
<td style="font-weight: bold;" colspan="2">{{$month}}</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal($params['monthlySummary']['transaction'][$month]['commission'])}} EUR</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">{{moneyDoubleFormatDecimal($params['monthlySummary']['checkout'][$month]['commission'])}} EUR</td>
</tr>
@endforeach
<td colspan="4"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td colspan="2" style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;text-align: right;">{{moneyDoubleFormatDecimal(collect($params['monthlySummary']['transaction'])->sum('commission'))}} EUR</td>
<td style="font-weight: bold;text-align: right;color: #41ad0a;">{{moneyDoubleFormatDecimal(collect($params['monthlySummary']['checkout'])->sum('commission'))}} EUR</td>
</tr>
@endif
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">{{$params['annually']['title']}}</td>
<td style="font-weight: bold;padding-top: 10px; text-align: right;">{{$params['annually']['period']}}</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['annually']['data']))
<tr>
<td colspan="4">😔 No Reservation!</td>
</tr>
@else
@foreach($params['annually']['data'] as $propertyId => $property)
<tr>
<td>{{$property['name']}}</td>
<td>{{$property['count']}}</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['total'])}} EUR</td>
<td style="text-align: right;">{{moneyDoubleFormatDecimal($property['commission'])}} EUR</td>
</tr>
@endforeach
<td colspan="4"><hr style="border: 1px dashed #f1efef;"></td>
<tr>
<td style="font-weight: bold;">&nbsp;</td>
<td style="font-weight: bold;">{{$params['annually']['summary']['count']}}</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['annually']['summary']['total'])}} EUR</td>
<td style="text-align: right; font-weight: bold;">{{moneyDoubleFormatDecimal($params['annually']['summary']['commission'])}} EUR</td>
</tr>
@endif
<tr><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="3" style="font-weight: bold;padding-top: 10px;">Active Hotels</td>
<td style="font-weight: bold; padding-top: 10px; text-align: right;">{{count($params['activeProperty'])}}</td>
</tr>
<tr>
<td colspan="4"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@if(empty($params['activeProperty']))
<tr>
<td colspan="4">😔 No Reservation!</td>
</tr>
@else
@foreach($params['activeProperty'] as $property)
<tr>
<td colspan="2">{{$property['name']}}</td>
<td style="text-align: right; font-weight: bold;">%{{$property['commission']}}</td>
<td style="text-align: right; font-weight: bold;">{{$property['month']}}</td>
</tr>
@endforeach
@endif
</table>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>{{date('Y-m-d H:i:s')}}</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,117 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{__('myweb-contact-contact_form-title')}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p><span>
<b> {{ __('enw-input-name_surname') }} : </b> {{$mailParams['name']}} {{$mailParams['surname']}}<br />
<b>{{ __('enw-input-email') }} : </b> {{$mailParams['email']}}<br />
<b>{{ __('enw-input-subject') }} : </b> {!! nl2br($mailParams['subject']) !!}<br />
<br/><br/>
</span></p>
<p>
<b> Please don't reply to this email. You should forward this email to sender's email address ({{$mailParams['email']}}) if you want to contact with the sender.</b>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,160 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{{$params['locale']}}" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://app.extranetwork.com/assets/img/logo/mini-logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{__('enw-action-mail-title')}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>{{__('enw-action-mail-description', ['property-name' => $params['propertyName']])}}</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%">
@foreach($params['roomRateNotificationData'] as $typeKey => $roomValues)
<tr>
<td style="font-weight: bold; text-transform: uppercase; padding-top: 10px;">{{__($roomValues['title'],[],$params['locale'])}}</td>
</tr>
<tr>
<td colspan="3"><hr style="border: 1px solid #f1efef;"></td>
</tr>
@foreach($roomValues['data'] as $roomKey => $roomRateValues)
<tr>
<td colspan="3" style="font-weight: bold;">{{__($roomRateValues['titleRoomType'])}} ({{$roomRateValues['title']}})</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
@foreach($roomRateValues['data'] as $roomRateKey => $roomRateValue)
@if(!is_null($roomRateValue['title']))
<tr>
<td colspan="3" style="font-weight: bold; padding-left: 10px;">{{__($roomRateValue['titleAccommodation'])}} ({{$roomRateValue['title']}})</td>
</tr>
@endif
@foreach($roomRateValue['actionByDate'] as $actionByDateKey => $actionByDate)
<tr>
<td colspan="2" style="text-align: left; padding-left: 10px;">
@if($actionByDate['startDate'] == $actionByDate['endDate'])
{{\Carbon\Carbon::parse($actionByDate['startDate'])->format('d.m.Y')}}
@else
{{\Carbon\Carbon::parse($actionByDate['startDate'])->format('d.m.Y')}} - {{\Carbon\Carbon::parse($actionByDate['endDate'])->format('d.m.Y')}}
@endif
</td>
@if($typeKey == 'STS')
<td style="text-align: right; text-transform: uppercase;">@if($actionByDate['value'] == 1) <span style="color: #d71f26; font-weight: bold;">{{__('enw-action-mail-sts-stop')}}</span> @else {{__('enw-action-mail-sts-open')}} @endif</td>
@else
<td style="text-align: right;">{{$actionByDate['value']}} {{fillOnUndefined($actionByDate,'currency')}}</td>
@endif
</tr>
@endforeach
<tr>
<td colspan="3">&nbsp;</td>
</tr>
@endforeach
@endforeach
@endforeach
</table>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>{{date('Y-m-d H:i:s')}}</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,108 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{{$params['locale']}}" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://app.extranetwork.com/assets/img/logo/mini-logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{__('enw-inventory-mail-pdf-link')}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>{{__('enw-inventory-mail-pdf-link-description', ['property-name' => $params['propertyName']])}}</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$params['link']}}" class="btn-primary" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">{{__('enw-inventory-mail-pdf-link')}}</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>{{date('Y-m-d H:i:s')}}</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,116 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://app.extranetwork.com/assets/img/logo/mini-logo.png" height="30" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">LOG</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>
<b>{{$params['title']}}</b>
<br/>
<br/>
</span>
</p>
<p>
{!! $params['logMessage'] !!}
</p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<span>
<b>Time : </b> {{date('Y-m-d H:i:s')}}
</span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,110 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, {{$mailParams['name_surname']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p><span>
{{ __('general-dear') }} {{$mailParams['name_surname']}} ; <br/>
{{ $description }}
</span></p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('btn-receipt_of_payment') }} </a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,383 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="700" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 700px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 700px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{$mailParams['property_name']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! __('api-mailing-booking-modified_booking-info', ['code' => $mailParams['bookingChannelCode'], 'channel' => $mailParams['bookingChannelName'], 'nameSurname' => $mailParams['name_surname']]) !!}
</p>
@if($mailParams['bookingChannelId'] != 1 || true)
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-channel')}}:</b> {{$mailParams['bookingChannelName']}}
</td>
</tr>
@if(!empty($mailParams['bookingChannelCode']))
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-confirmation-code')}}:</b> {{$mailParams['bookingChannelCode']}}
</td>
</tr>
@endif
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>Extranetwork Code:</b> {{$mailParams['bookingCode']}}
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-name-surname')}}:</b> {{$mailParams['bookingChannelContactNameSurname']}} @if(!empty($mailParams['countryCode'])) ({{$mailParams['countryCode']}}) @endif
</td>
</tr>
@if(!empty($mailParams['bookingChannelContactEmail']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-email')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactEmail', '-')}}
</td>
</tr>
@endif
@if(!empty($mailParams['bookingChannelContactPhone']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-phone')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactPhone', '-')}}
</td>
</tr>
@endif
@if(isset($mailParams['isBookingGenius']) && $mailParams['isBookingGenius'])
<tr>
<td style="padding-top: 0px;">
<span style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #4299f9; margin: 0; border-color: #4299f9; border-style: solid; border-width: 5px 10px;">Booking.com Genius</span>
</td>
</tr>
@endif
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkin')}}:</b> {{$mailParams['checkin_date']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkout')}}:</b> {{$mailParams['checkout_date']}}
</td>
</tr>
</table>
@foreach($mailParams['bookingChannelRoom'] as $perRoom)
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-room_order', ['order' => $perRoom['roomOrder']])}}:</b> {{$perRoom['roomName']}}
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$perRoom['roomRateName']}}</b>
</td>
</tr>
<tr>
<td style="padding-top: 5px;" colspan="2">
<b>{{__('mail-booking-occupany')}}:</b> {{$perRoom['occupancyText']}}
</td>
</tr>
@if(isset($perRoom['dailyAmount']))
@foreach($perRoom['dailyAmount'] as $dailyAmount)
<tr>
<td style="padding-top: 0px;">
<b>{{\Carbon\Carbon::parse($dailyAmount['date'])->format('d.m.Y')}}</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{floatval($dailyAmount['amount'])}} {{$dailyAmount['currency_code']}}
</td>
</tr>
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px dashed #f1efef;"></td>
</tr>
@if(isset($perRoom['additionalFee']) && !empty($perRoom['additionalFee']))
<tr>
<td colspan="2">
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['additionalFee'] as $additionalFeeKey => $additionalFee)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Fee Type:</b></td>
<td style="text-align: right">{{$additionalFee['name']}}</td>
</tr>
@if($additionalFee['is_inclusive'])
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Included:</b></td>
<td style="text-align: right">@if($additionalFee['is_inclusive']) Yes @else No @endif</td>
</tr>
@else
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Total:</b></td>
<td style="text-align: right">{{$additionalFee['total_price']}} {{$mailParams['currency_code']}}</td>
</tr>
@endif
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
</table>
</td>
</tr>
@endif
@if(!empty($perRoom['discount_amount']) || $perRoom['discount_amount'] > 0)
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-discount')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right; font-weight: bold;">
- {{$perRoom['discount_amount']}} {{$perRoom['currencyCode']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@else
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@endif
@endif
</table>
@if(isset($perRoom['extraParam']) && !empty($perRoom['extraParam']))
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['extraParam'] as $extraParamKey => $extraParam)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;">
<b>{{$extraParam['title']}}</b>
</td>
<td style="padding-top: 5px;">
@if($extraParamKey == 'cancel_penalties')
<table width="100%">
@foreach($extraParam['value'] as $policyKey => $policyValue)
<tr>
<td>From {{\Carbon\Carbon::parse($policyValue['from'])->format('M, d Y - H:i:s')}}</td>
<td style="text-align: right;">{{$policyValue['amount']}} {{strtoupper($policyValue['currency'])}}</td>
</tr>
@endforeach
</table>
@else
{!! $extraParam['value'] !!}
@endif
</td>
</tr>
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
</table>
@endif
@endforeach
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-grand_total')}}:</b>
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$mailParams['total']}} {{$mailParams['currency_code']}}</b>
</td>
</tr>
</table>
@if($mailParams['payment_type_code'] != 'CHN')
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-payment')}}:</b> {!! $mailParams['bookingChannelPaymentType'] !!}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
@if(!empty($mailParams['bookingChannelPaymentSource']))
<b>{{__('mail-booking-payment_source')}}:</b> {!! $mailParams['bookingChannelPaymentSource'] !!} <br />
@endif
</td>
</tr>
</table>
@endif
@if(isset($mailParams['creditCardInformation']) && !empty($mailParams['creditCardInformation']))
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-cardholder_name')}}:</b> {{$mailParams['creditCardInformation']['cardHolderName']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-card_number')}}:</b> {{$mailParams['creditCardInformation']['cardNumber']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-expiration_date')}}:</b> {{$mailParams['creditCardInformation']['expirationDate']}}
</td>
</tr>
@if(!empty($mailParams['showCreditCardUrl']))
<tr>
<td style="padding-top: 5px;">
<a href="{{$mailParams['showCreditCardUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">{{__('mail-booking-show_credit_card_info')}}</a>
</td>
</tr>
@endif
</table>
@endif
@if(!empty($mailParams['bookingChannelNote']))
<table width="100%" style="margin-bottom: 0px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-note')}}:</b>
<hr style="border: 1px solid #f1efef;">
<p>
{!! $mailParams['bookingChannelNote'] !!}
</p>
</td>
</tr>
</table>
@endif
</td>
</tr>
</table>
@endif
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('api-mailling-booking_info-link') }}</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<hr style="border: 1px solid #f1efef;margin-top: 20px;">
<table width="100%">
<tr>
<td style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">
<img src="{{config('app.client_server')}}/assets/img/logo/mini-logo.png" height="40" />
</td>
<td style="padding-top: 10px; text-align: right;color: #CCC;">
{{$mailParams['property_name']}}<br>
{{date('Y-m-d H:i:s')}}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,443 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="700" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 700px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 700px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
@if(!empty($mailParams['web']))
<a href="{{$mailParams['web']}}" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
@else
<img src="{{$mailParams['logo']}}" height="50" />
@endif
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, {{$mailParams['name_surname']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
{!! $bookingData !!}
<br/><br/>
@if($mailParams['bookingChannelId'] != 1 || true)
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-channel')}}:</b> {{$mailParams['bookingChannelName']}}
</td>
</tr>
@if(!empty($mailParams['bookingChannelCode']))
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-confirmation-code')}}:</b> {{$mailParams['bookingChannelCode']}}
</td>
</tr>
@endif
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;" colspan="2">
<b>{{__('mail-booking-name-surname')}}:</b> {{$mailParams['bookingChannelContactNameSurname']}} @if(!empty($mailParams['countryCode'])) ({{$mailParams['countryCode']}}) @endif
</td>
</tr>
@if(!empty($mailParams['bookingChannelContactEmail']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-email')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactEmail', '-')}}
</td>
</tr>
@endif
@if(!empty($mailParams['bookingChannelContactPhone']))
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-phone')}}:</b> {{fillOnUndefined($mailParams,'bookingChannelContactPhone', '-')}}
</td>
</tr>
@endif
@if(isset($mailParams['isBookingGenius']) && $mailParams['isBookingGenius'])
<tr>
<td style="padding-top: 0px;">
<span style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #4299f9; margin: 0; border-color: #4299f9; border-style: solid; border-width: 5px 10px;">Booking.com Genius</span>
</td>
</tr>
@endif
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkin')}}:</b> {{$mailParams['checkin_date']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-checkout')}}:</b> {{$mailParams['checkout_date']}}
</td>
</tr>
</table>
@foreach($mailParams['bookingChannelRoom'] as $perRoom)
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-room_order', ['order' => $perRoom['roomOrder']])}}:</b> {{$perRoom['roomName']}}
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$perRoom['roomRateName']}}</b>
</td>
</tr>
<tr>
<td style="padding-bottom: 5px;" colspan="2">
<b>{{__('mail-booking-occupany')}}:</b> {{$perRoom['occupancyText']}}
</td>
</tr>
@if(isset($perRoom['cancellationPolicy']) && !empty($perRoom['cancellationPolicy']))
<tr>
<td style="padding-bottom: 5px;" colspan="2">
<b>{{__('enw-offer-cancellation_policy-title')}}:</b> {{$perRoom['cancellationPolicy']}}
</td>
</tr>
@endif
@foreach($perRoom['dailyAmount'] as $dailyAmount)
<tr>
<td style="padding-top: 0px;">
<b>{{\Carbon\Carbon::parse($dailyAmount['date'])->format('d.m.Y')}}</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{floatval($dailyAmount['amount'])}} {{$dailyAmount['currency_code']}}
</td>
</tr>
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px dashed #f1efef;"></td>
</tr>
@if(isset($perRoom['additionalFee']) && !empty($perRoom['additionalFee']))
<tr>
<td colspan="2">
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['additionalFee'] as $additionalFeeKey => $additionalFee)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Fee Type:</b></td>
<td style="text-align: right">{{$additionalFee['name']}}</td>
</tr>
@if($additionalFee['is_inclusive'])
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Included:</b></td>
<td style="text-align: right">@if($additionalFee['is_inclusive']) Yes @else No @endif</td>
</tr>
@else
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;"><b>Total:</b></td>
<td style="text-align: right">{{$additionalFee['total_price']}} {{$mailParams['currency_code']}}</td>
</tr>
@endif
@endforeach
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
</table>
</td>
</tr>
@endif
@if(!empty($perRoom['discount_amount']) || $perRoom['discount_amount'] > 0)
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-discount')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right; font-weight: bold;">
- {{$perRoom['discount_amount']}} {{$perRoom['currencyCode']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@else
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-total')}}:</b>
</td>
<td style="padding-top: 0px; text-align: right;">
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
</td>
</tr>
@endif
</table>
@if(isset($perRoom['extraParam']) && !empty($perRoom['extraParam']))
<table width="100%" style="margin-bottom: 20px;">
@foreach($perRoom['extraParam'] as $extraParamKey => $extraParam)
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;">
<b>{{$extraParam['title']}}</b>
</td>
<td style="padding-top: 5px;">
@if($extraParamKey == 'cancel_penalties')
<table width="100%">
@foreach($extraParam['value'] as $policyKey => $policyValue)
<tr>
<td>From {{\Carbon\Carbon::parse($policyValue['from'])->format('M, d Y - H:i:s')}}</td>
<td style="text-align: right;">{{$policyValue['amount']}} {{strtoupper($policyValue['currency'])}}</td>
</tr>
@endforeach
</table>
@else
{!! $extraParam['value'] !!}
@endif
</td>
</tr>
@endforeach
</table>
@endif
@endforeach
@if(isset($mailParams['bookingAddon']) && !empty($mailParams['bookingAddon']))
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td colspan="3" style="padding-top: 5px;padding-bottom: 5px; vertical-align: top;">
<b>{{__('be-label-additional-products')}}</b>
</td>
</tr>
@foreach($mailParams['bookingAddon'] as $bookingAddonKey => $bookingAddon)
<tr>
<td colspan="3" style="padding-top: 5px; vertical-align: top;">
<b>{{__($bookingAddon['language_key'])}}</b>
</td>
</tr>
<tr>
<td style="padding-top: 5px; width: 150px; vertical-align: top;">
@if(!empty($bookingAddon['title']))
<span>{{$bookingAddon['title']}}</span>
@else
<span>{{__($bookingAddon['language_key'])}}</span>
@endif
</td>
<td style="text-align: right;">{{$bookingAddon['count']}} x {{$bookingAddon['amount']}} {{strtoupper($bookingAddon['currency_code'])}}</td>
<td style="text-align: right;">{{$bookingAddon['total']}} {{strtoupper($bookingAddon['currency_code'])}}</td>
</tr>
@endforeach
</table>
@endif
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td colspan="2"><hr style="border: 1px solid #f1efef;"></td>
</tr>
<tr>
<td style="padding-top: 5px;">
<b>{{__('mail-booking-grand_total')}}:</b>
</td>
<td style="padding-top: 5px; text-align: right;">
<b>{{$mailParams['total']}} {{$mailParams['currency_code']}}</b>
</td>
</tr>
</table>
@if($mailParams['payment_type_code'] != 'CHN')
<table width="100%" style="margin-bottom: 20px;">
@if($mailParams['payment_type_code'] == 'HTL')
@if(isset($mailParams['payAtHotelCreditCardCheck']) && !$mailParams['payAtHotelCreditCardCheck'])
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-payment')}}:</b> {!! $mailParams['bookingChannelPaymentType'] !!}
</td>
</tr>
@endif
@else
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-payment')}}:</b> {!! $mailParams['bookingChannelPaymentType'] !!}
</td>
</tr>
@endif
<tr>
<td style="padding-top: 0px;">
@if(!empty($mailParams['bookingChannelPaymentSource']))
<b>{{__('mail-booking-payment_source')}}:</b> {!! $mailParams['bookingChannelPaymentSource'] !!} <br />
@endif
</td>
</tr>
</table>
@endif
@if(isset($mailParams['creditCardInformation']) && !empty($mailParams['creditCardInformation']))
<table width="100%" style="margin-bottom: 20px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-cardholder_name')}}:</b> {{$mailParams['creditCardInformation']['cardHolderName']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-card_number')}}:</b> {{$mailParams['creditCardInformation']['cardNumber']}}
</td>
</tr>
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-expiration_date')}}:</b> {{$mailParams['creditCardInformation']['expirationDate']}}
</td>
</tr>
@if(!empty($mailParams['showCreditCardUrl']))
<tr>
<td style="padding-top: 5px;">
<a href="{{$mailParams['showCreditCardUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; display: inline; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">{{__('mail-booking-show_credit_card_info')}}</a>
</td>
</tr>
@endif
</table>
@endif
@if(!empty($mailParams['bookingChannelNote']))
<table width="100%" style="margin-bottom: 0px;">
<tr>
<td style="padding-top: 0px;">
<b>{{__('mail-booking-note')}}:</b>
<hr style="border: 1px solid #f1efef;">
<p>
{!! $mailParams['bookingChannelNote'] !!}
</p>
</td>
</tr>
</table>
@endif
</td>
</tr>
</table>
@endif
{{ __('api-mailling-booking-access_link-desc') }}
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('api-mailling-booking_info-link') }}</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<hr style="border: 1px solid #f1efef;margin-top: 20px;">
<table width="100%">
<tr>
<td style="font-weight: bold;padding-top: 10px;color: #d71f26; font-size: 16px;">
<img src="{{config('app.client_server')}}/assets/img/logo/mini-logo.png" height="40" />
</td>
<td style="padding-top: 10px; text-align: right;color: #CCC;">
{{$mailParams['property_name']}}<br>
{{date('Y-m-d H:i:s')}}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! $description !!}
</p>
<br>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-offer_detail')}} </a>
@if(!empty($mailParams['paymentUrl']))
<a href="{{$mailParams['paymentUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #1d265d; margin: 0; border-color: #1d265d; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-payment_link')}} </a>
@endif
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,103 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! $description !!}
</p>
<br>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-offer_detail')}} </a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! $description !!}
</p>
<br>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-offer_detail')}} </a>
@if(!empty($mailParams['paymentUrl']))
<a href="{{$mailParams['paymentUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #1d265d; margin: 0; border-color: #1d265d; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-payment_link')}} </a>
@endif
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="{{$mailParams['logo']}}" height="50" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">{{ __('general-hi') }}, </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
{!! $description !!}
</p>
<br>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$mailParams['url']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-offer_detail')}} </a>
@if(!empty($mailParams['paymentUrl']))
<a href="{{$mailParams['paymentUrl']}}" target="_blank" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #1d265d; margin: 0; border-color: #1d265d; border-style: solid; border-width: 5px 10px;"> {{__('api-mailing-payment_link')}} </a>
@endif
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://api.extranetwork.com/img/logo_small.png" height="50" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<strong>{{$mailParams['propertyName']}}</strong> için <strong>{{$mailParams['languageText']}}</strong> dilinde hazırlamış olduğumuz katalog dosyasını aşağıdaki 'Katalog Görüntüle' seçeneğine tıklayarak görüntüleyebilirsiniz.
</p>
</td>
</tr>
<tr>
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 10px;" valign="top">
<a href="{{ $mailParams['catalogUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">
Katalog Görüntüle
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,114 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank">
<img src="https://api.extranetwork.com/img/logo_small.png" height="50" />
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;">Sn, {{$mailParams['executive_name']}}</h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p>
<strong>{{$mailParams['property_name']}}</strong> için hazırlamış olduğumuz teklifin detaylarını aşağıdaki 'Teklifi Görüntüle' seçeneğine tıklayarak inceleyebilirsiniz.
</p>
</td>
</tr>
<tr>
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 10px;" valign="top">
<a href="{{ $mailParams['btnUrl'] }}" class="btn-primary" itemprop="url" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;">
Teklifi Görüntüle
</a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; margin: 0; padding: 20px 0px;" valign="top">
<p>
Fiyat teklifimiz, <strong>{{$mailParams['offer_expire_date']}}</strong> tarihine kadar geçerlidir.
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,204 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #8F94A2;
}
.main {
background-image:url("{{config('app.webUrl')}}/mailing/bg_one.png");
background-repeat:no-repeat;
background-size:contain;
background-position: top 110px right 0px;
/*background-position-y: 110px;*/
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
margin: 10px auto !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
.main {
background-image: none;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<p style="padding: 0px 40px; font-size: 24px; text-align: center; color: #000; margin-bottom: 0px;">
Online rezervasyonlarını artırmak için ihtiyacın olan her şeyi düşündük.
</p>
<p style="font-size: 24px; text-align: center; color: #000; font-weight: bold; margin-top: 5px;">
Hemen keşfetmeye başla.
</p>
</td>
</tr>
<tr>
<td style="text-align: center;">
<img src="{{config('app.webUrl')}}/mailing/alldevices.png" />
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 20px; font-size: 18px; text-align: justify; color: #8F94A2;">
Deneyimli otelciler tarafından otelcilerin ihtiyaçları düşünülerek
hazırlanan Extranetwork ürünleriyle sıfırdan profesyonel bir web
sitesine sahip olabilir, hazırladığın web sitesi üzerinden
rezervasyon ve ödeme alabilirsin. Potansiyel misafirlerine özel
teklifler oluşturabilir, bütün çevrim içi ve çevrim dışı kanallarını tek
bir platformdan yönetebilirsin
</p>
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 20px;font-size: 18px; color: #8F94A2;">
İşini dijitalleştirerek online görünürlüğünü ve rezervasyonlarını
artırmaya tesis profilini oluşturarak hemen <a href="https://app.extranetwork.com/" target="_blank" style="color: #7d7b7b; text-decoration: none; "><b>başla.</b></a>
</p>
</td>
</tr>
<tr>
<td style="text-align: center;">
<img src="{{config('app.webUrl')}}/mailing/website.png" width="400" />
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 20px; font-size: 24px; font-weight: bold; text-align: center; color: #000;">
Göz alıcı web siteni dakikalar içinde hiçbir teknik bilgiye ihtiyaç duymadan hazırla.
</p>
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 20px;font-size: 18px; text-align: justify; color: #8F94A2;">
Extranetwork Web modülü ile yukarıdaki gibi profesyonel bir web
sitesini hiçbir kodlama bilgisine ihtiyaç duymadan dakikalar
içinde hazırlayabilirsin. Tesis profilinde yer alan bilgileri otomatik
olarak çeken akıllı sistem ile çok kolay! Üstelik tasarımı kendi
marka kimliğine uygun şekilde özelleştirebilirsin.
</p>
</td>
</tr>
<tr>
<td style="text-align: center;">
<p style="padding: 20px; padding-bottom: 0px; font-size: 18px;">
<a href="https://app.extranetwork.com/" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 18px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px; width: 250px;">Kullanıcı Panelini Ziyaret Et</a>
</p>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td style="background:none; border-bottom: 1px dotted #d7dfe3; height:1px; width:100%; margin:0px 0px 0px 0px;">&nbsp;</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<p style="font-size: 10px; text-align: center;color: #8F94A2;">
Bu e-posta otomatik olarak gönderilmiştir. Lütfen cevaplamayınız.
</p>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="border-spacing: 0px;">
<tr>
<td>
<p style="font-size: 14px; text-align: center; margin: 10px 0px;color: #8F94A2;">
Prinzessinnenstraße 8-14, 10969 Berlin, Almanya
</p>
<p style="font-size: 14px; text-align: center; margin: 5px 0px;color: #8F94A2;">
<a href="https://app.extranetwork.com/" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">www.extranetwork.com</a>
</p>
<p style="font-size: 14px; text-align: center; margin: 5px 0px;">
<a href="tel:+908508886428" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">0850 888 64 28</a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,191 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #edf1f8;
color: #8F94A2;
}
.main {
background-image:url("{{config('app.webUrl')}}/mailing/bg_two.png");
background-repeat:no-repeat;
background-position: right top;
/*background-position-x: 360px;
background-position-y: 0px;*/
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
margin: 10px auto !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #edf1f8; margin: 0;" bgcolor="#e5f3fd">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #e5f3fd; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#e5f3fd">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="margin-top: 40px">
<tr>
<td style="text-align: center; padding-bottom: 10px;">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr>
<td>
<p style="font-size: 24px; text-align: center; color: #000; margin-bottom: 0px;">
Merhaba {{$mailParams['nameSurname']}},
</p>
<p style="font-size: 24px; text-align: center; color: #000; font-weight: bold; margin-top: 5px;">
Deneme sürümün sona ermek üzere.
</p>
</td>
</tr>
<tr>
<td style="text-align: center; padding: 10px 0px;">
<img src="{{config('app.webUrl')}}/mailing/logotag.png" width="80" />
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 30px; font-size: 18px; text-align: justify; color: #8F94A2;">
Küçük bir hatırlatma yapmak istedik! Extranetwork deneme sürümün <b>4 gün içinde</b> sona erecek. Eğer Extranetwork modüllerini kullanmaya devam etmek istersen (ki öyle umuyoruz.😊) hesabını deneme süren sona ermeden premiuma yükseltmelisin.
</p>
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 30px; font-size: 18px; text-align: justify; color: #8F94A2;">
<b>Henüz incelemeye vaktin olmadı mı?</b>
</p>
<p style="padding: 0px 30px; font-size: 18px; text-align: justify; color: #8F94A2;">
Sorun değil. Yoğun olmanı anlıyoruz. <a href="tel:+908508886428" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">0850 888 64 28</a> numaralı telefondan bizi arayarak çözüm uzmanlarımızdan demo talep edebilirsin. Uzmanlarımız bütün modülleri ve kullanıcı arayüzlerini tanıtarak Extranetwork ile tesisini nasıl büyütebileceğini anlatır.
Hesabını premiuma yükseltmeye karar verdiysen buraya tıklayarak abonelik planlarımızı inceleyebilir ve sana en uygun olanı seçebilirsin.
</p>
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 30px; font-size: 18px; text-align: justify; color: #8F94A2;">
Hesabını premiuma yükseltmeye karar verdiysen buraya tıklayarak abonelik planlarımızı inceleyebilir ve sana en uygun olanı seçebilirsin.
</p>
</td>
</tr>
<tr>
<td style="text-align: center;">
<p style="padding: 30px; padding-bottom: 0px; font-size: 18px;">
<a href="https://app.extranetwork.com/" target="_blank" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 18px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px; width: 250px;">Planları İncele</a>
</p>
</td>
</tr>
<tr>
<td>
<p style="padding: 0px 30px; font-size: 14px; color: #8F94A2;">
Eğer sorun olursa <a href="mailto:support@extranetwork.com" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">support@extranetwork.com</a> adresine mail atabilir ya da <a href="tel:+908508886428" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">0850 888 64 28</a> numaralı telefondan bize ulaşabilirsin.
</p>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td style="background:none; border-bottom: 1px dotted #d7dfe3; height:1px; width:100%; margin:0px 0px 0px 0px;">&nbsp;</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<p style="font-size: 10px; text-align: center; color: #8F94A2;">
Bu e-posta otomatik olarak gönderilmiştir. Lütfen cevaplamayınız.
</p>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="border-spacing: 0px;">
<tr>
<td>
<p style="font-size: 14px; text-align: center; margin: 10px 0px; color: #8F94A2;">
Prinzessinnenstraße 8-14, 10969 Berlin, Almanya
</p>
<p style="font-size: 14px; text-align: center; margin: 5px 0px;">
<a href="https://app.extranetwork.com/" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">www.extranetwork.com</a>
</p>
<p style="font-size: 14px; text-align: center; margin: 5px 0px;">
<a href="tel:+908508886428" target="_blank" style="color: #7d7b7b; text-decoration: none; font-weight: bold;">0850 888 64 28</a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,103 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mail Template</title>
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
color: #7d7b7b;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
</head>
<body style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; border-bottom: 1px solid #f1efef; font-size: 14px; text-align: center; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<a href="https://www.extranetwork.com" target="_blank"><img src="https://app.extranetwork.com/assets/img/logo/logo.png" height="30" /></a>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-wrap" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<h2 class="aligncenter" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 24px; color: #d71f26; line-height: 1.2em; font-weight: 400; text-align: left; margin: 10px 0 0; letter-spacing: -1px;" align="center">{{ __('general-hi') }}, {{$params['name_surname']}} </h2>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<p><span>
{{ __('api-mailing-forgot_password_desc') }}
</span></p>
</td>
</tr>
<tr style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{{$params['activation_link']}}" class="btn-primary" itemprop="url" style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #d71f26; margin: 0; border-color: #d71f26; border-style: solid; border-width: 5px 10px;"> {{ __('btn-reset_password') }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td style="font-family: 'Calibri', Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<p>
{{$val['WellCome']}}
</p>
</body>
</html>

View File

@@ -0,0 +1 @@
<h>Selam</h>

View File

@@ -0,0 +1,439 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/assets/css/bootstrap.css">
{{-- <title>{{ __('be-search-booking_engine-title') }}</title> --}}
<title>API</title>
<style>
html,
body {
height: 100vh;
}
</style>
</head>
<body>
<header id="home" class="header-area pt-100">
{{--
@php
use Illuminate\Support\Facades\Hash;
dd(Hash::make('144652qwe'));
@endphp --}}
<div class="shape header-shape-one">
<img src="/assets/img/banner/shape/shape-1.png" alt="shape">
</div> <!-- header shape one -->
<div class="shape header-shape-tow animation-one">
<img src="/assets/img/banner/shape/shape-2.png" alt="shape">
</div> <!-- header shape tow -->
<div class="shape header-shape-three animation-one">
<img src="/assets/img/banner/shape/shape-3.png" alt="shape">
</div> <!-- header shape three -->
<div class="shape header-shape-fore">
<img src="/assets/img/banner/shape/shape-4.png" alt="shape">
</div> <!-- header shape three -->
<div class="navigation-bar">
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="https://www.extranetwork.com">
<img src="/assets/img/logo.svg" alt="Logo">
</a>
</nav> <!-- navbar -->
</div>
</div> <!-- row -->
</div> <!-- container -->
</div> <!-- navigation bar -->
<div class="header-banner d-flex align-items-center">
<div class="container">
<div class="row">
<div class="col-xl-8 col-lg-9 col-sm-10">
<div class="banner-content">
<h4 class="sub-title">{{ __('be-welcome-desc') }}.</h4>
<h1 class="banner-title mt-10"><span>Extranetwork'e </span> <br> {{ __('btn-register') }}
</h1>
<a class="banner-contact mt-25"
href="http://extranetwork.com">{{ __('be-welcome-register_for_free_now') }}</a>
</div> <!-- banner content -->
</div>
</div> <!-- row -->
</div> <!-- container -->
<div class="banner-image bg_cover" style="background-image: url(/assets/img/main-image.png)"></div>
</div> <!-- header banner -->
</header>
<style>
body {
background-color: #f4f7fc;
overflow: hidden;
overflow-y: auto;
}
@media (min-width: 1200px) {
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
max-width: 1235px;
}
}
.header-area {
position: relative;
}
.header-area .shape {
position: absolute;
}
.header-area .header-shape-one {
top: 0;
left: 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.header-area .header-shape-one {
width: 230px;
}
.basket-focus {
top: 300px !important;
}
.cart-item span {
color: #393c45;
display: block;
font-size: 12px;
}
.cart-item {
padding: 7px 0 50px 70px !important;
min-height: 120px;
}
}
@media (max-width: 767px) {
.back-to-list span,
.back-button span {
display: none;
}
.header-area .header-shape-one {
width: 180px;
}
}
.header-area .header-shape-tow {
top: 25px;
left: 31%;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.header-area .header-shape-tow {
left: 40%;
}
}
@media (max-width: 767px) {
.header-area .header-shape-tow {
left: 60%;
width: 60px;
}
}
.header-area .header-shape-three {
left: 70px;
bottom: 130px;
}
@media (max-width: 767px) {
.header-area .header-shape-three {
width: 90px;
bottom: 200px;
}
}
.header-area .header-shape-fore {
left: 48%;
bottom: -90px;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.header-area .header-shape-fore {
width: 260px;
}
}
@media (max-width: 767px) {
.header-area .header-shape-fore {
bottom: -60px;
width: 210px;
}
}
.navigation-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 99;
padding: 25px 0;
-webkit-transition: all 0.4s ease-out 0s;
-moz-transition: all 0.4s ease-out 0s;
-ms-transition: all 0.4s ease-out 0s;
-o-transition: all 0.4s ease-out 0s;
transition: all 0.4s ease-out 0s;
}
.navigation-bar.sticky {
position: fixed;
background-color: #fff;
-webkit-box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.2);
-moz-box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.2);
box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.2);
z-index: 99;
padding: 15px 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.navigation-bar.sticky .navbar-btn {
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
}
@media (max-width: 767px) {
.navigation-bar.sticky .navbar-btn {
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
}
.navbar .navbar-brand img {
max-width: 190px;
}
.navbar .navbar-toggler .toggler-icon {
width: 30px;
height: 2px;
display: block;
background-color: #646464;
margin: 5px 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.navbar .navbar-collapse {
position: absolute;
top: 128%;
width: 100%;
left: 0;
background-color: #fff;
padding: 5px 15px;
z-index: 9;
-webkit-box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
-moz-box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
}
}
@media (max-width: 767px) {
.navbar .navbar-collapse {
position: absolute;
top: 128%;
width: 100%;
left: 0;
background-color: #fff;
padding: 5px 15px;
z-index: 9;
-webkit-box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
-moz-box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
box-shadow: 0px 5px 25px 0px rgba(244, 128, 74, 0.3);
}
}
.navbar .navbar-nav .nav-item {
margin-right: 30px;
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
.navbar .navbar-nav .nav-item {
margin-right: 25px;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.navbar .navbar-nav .nav-item {
margin: 5px 0;
}
}
@media (max-width: 767px) {
.navbar .navbar-nav .nav-item {
margin: 5px 0;
}
}
.navbar .navbar-nav .nav-item a {
color: #646464;
font-family: 'Hind', sans-serif;
font-size: 15px;
text-transform: uppercase;
font-weight: 700;
-webkit-transition: all 0.4s ease-out 0s;
-moz-transition: all 0.4s ease-out 0s;
-ms-transition: all 0.4s ease-out 0s;
-o-transition: all 0.4s ease-out 0s;
transition: all 0.4s ease-out 0s;
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
.navbar .navbar-nav .nav-item a {
font-size: 13px;
}
}
.navbar .navbar-nav .nav-item.active a,
.navbar .navbar-nav .nav-item:hover a {
color: #d71f26;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.navbar .navbar-btn {
position: absolute;
right: 70px;
top: 0;
}
}
@media (max-width: 767px) {
.navbar .navbar-btn {
position: absolute;
right: 70px;
top: 0;
}
}
.header-banner {
height: 700px;
position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.header-banner {
height: 500px;
}
}
@media (max-width: 767px) {
.header-banner {
height: 500px;
}
}
.header-banner .banner-image {
position: absolute;
top: 15%;
right: 0;
width: 55%;
height: 100%;
}
.header-banner .banner-content {
position: relative;
z-index: 9;
}
.header-banner .banner-content .sub-title {
font-size: 16px;
color: #d71f26;
text-transform: none;
}
@media (max-width: 767px) {
.header-banner .banner-image {
position: absolute;
top: 81%;
right: -22px;
width: 100% !important;
height: 54% !important;
}
.header-banner .banner-content .sub-title {
font-size: 18px;
}
}
.header-banner .banner-content .banner-title {
font-size: 60px;
}
.header-banner .banner-content .banner-title span {
color: #d71f26;
}
@media (max-width: 767px) {
.header-banner .banner-content .banner-title {
font-size: 38px;
}
}
.header-banner .banner-content .banner-contact {
position: relative;
font-size: 15px;
font-weight: 600;
color: #d71f26;
text-transform: uppercase;
margin-left: 70px;
}
.header-banner .banner-content .banner-contact::before {
position: absolute;
content: '';
width: 60px;
height: 2px;
background-color: #d71f26;
left: -70px;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
.bg_cover {
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 100%;
}
</style>
</body>
</html>

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

View File

@@ -0,0 +1,10 @@
<form method="post" action="{{$formData['gateway']}}" class="redirect-form" name="redirectForm" role="form">
@foreach ($formData['inputs'] as $key => $value)
<input type="hidden" name="{{$key}}" value="{{$value}}">
@endforeach
<div style="text-align: center;position: relative;">
<img style="position: absolute; top: 65%" src="/img/redirecting.gif" />
<img src="/img/redirect-bank.png" />
</div>
</form>
<script type="text/JavaScript">document.forms["redirectForm"].submit();</script>