Design changes
This commit is contained in:
@@ -151,7 +151,7 @@ class GuestTrackingControllerCore extends FrontController
|
||||
'additionalServices' => $additionalServices,
|
||||
));
|
||||
}
|
||||
$response['extra_demands'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order_booking_demands.tpl');
|
||||
$response['extra_demands'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order-extra-services.tpl');
|
||||
}
|
||||
|
||||
$this->ajaxDie(json_encode($response));
|
||||
|
||||
@@ -525,7 +525,7 @@ class OrderDetailControllerCore extends FrontController
|
||||
'objOrder' => new Order($idOrder)
|
||||
)
|
||||
);
|
||||
$response['extra_demands'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order_booking_demands.tpl');
|
||||
$response['extra_demands'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order-extra-services.tpl');
|
||||
}
|
||||
|
||||
$this->ajaxDie(json_encode($response));
|
||||
@@ -747,7 +747,7 @@ class OrderDetailControllerCore extends FrontController
|
||||
|
||||
$message = CustomerMessage::getMessagesByOrderId($order->id, false)[0];
|
||||
$this->context->smarty->assign(array('message' => $message));
|
||||
$response['message_html'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/booking-message.tpl');
|
||||
$response['message_html'] = $this->context->smarty->fetch(_PS_THEME_DIR_.'_partials/order-message.tpl');
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Order not found');
|
||||
}
|
||||
|
||||
@@ -490,8 +490,28 @@ class HotelReservationSystem extends Module
|
||||
}
|
||||
}
|
||||
|
||||
// public function hookDisplayOrderDetailTopLeft($params) { return 'hookDisplayOrderDetailTopLeft'; }
|
||||
// public function hookDisplayOrderDetailHotelDetailsAfter($params) { return 'hookDisplayOrderDetailHotelDetailsAfter'; }
|
||||
// public function hookDisplayOrderDetailRoomDetailsBefore($params) { return 'hookDisplayOrderDetailRoomDetailsBefore'; }
|
||||
// public function hookDisplayOrderDetailPoliciesTab($params) { return 'hookDisplayOrderDetailPoliciesTab'; }
|
||||
// public function hookDisplayOrderDetailPoliciesTabContent($params) { return 'hookDisplayOrderDetailPoliciesTabContent'; }
|
||||
// public function hookDisplayOrderDetailBottomLeft($params) { return 'hookDisplayOrderDetailBottomLeft'; }
|
||||
// public function hookDisplayOrderDetailTopRight($params) { return 'hookDisplayOrderDetailTopRight'; }
|
||||
// public function hookDisplayOrderDetailBottomRight($params) { return 'hookDisplayOrderDetailBottomRight'; }
|
||||
|
||||
public function hookDisplayBackOfficeHeader()
|
||||
{
|
||||
// $this->registerHook(array(
|
||||
// 'displayOrderDetailTopLeft',
|
||||
// 'displayOrderDetailHotelDetailsAfter',
|
||||
// 'displayOrderDetailRoomDetailsBefore',
|
||||
// 'displayOrderDetailPoliciesTab',
|
||||
// 'displayOrderDetailPoliciesTabContent',
|
||||
// 'displayOrderDetailBottomLeft',
|
||||
// 'displayOrderDetailTopRight',
|
||||
// 'displayOrderDetailBottomRight',
|
||||
// ));
|
||||
// ddd(1);
|
||||
$this->context->controller->addCSS($this->_path.'views/css/admin/css/hotel_admin_tab_logo.css');
|
||||
}
|
||||
|
||||
|
||||
@@ -36,28 +36,17 @@
|
||||
}
|
||||
|
||||
#add-review-popup .card-body {
|
||||
padding: 15px;
|
||||
padding: 18px 15px;
|
||||
}
|
||||
|
||||
#add-review-popup .form-group {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#add-review-popup label {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
#add-review-popup .form-control {
|
||||
padding: 18px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#add-review-popup .form-control.description {
|
||||
padding: 10px 10px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
#add-review-popup .review-error {
|
||||
|
||||
@@ -70,9 +70,9 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{l s='Sumup your review' mod='qlohotelreview'}
|
||||
{l s='Sum up your review' mod='qlohotelreview'}
|
||||
</label>
|
||||
<input class="form-control" type="text" name="subject" />
|
||||
<input class="form-control" type="text" name="subject" placeholder="{l s='Type here...' mod='qlohotelreview'}"/>
|
||||
<p class="review-error subject"></p>
|
||||
</div>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<label>
|
||||
{l s='Write in detail' mod='qlohotelreview'}
|
||||
</label>
|
||||
<textarea class="form-control description" type="text" rows="5" name="description"></textarea>
|
||||
<textarea class="form-control description" type="text" rows="5" name="description" placeholder="{l s='Type here...' mod='qlohotelreview'}"></textarea>
|
||||
<p class="review-error description"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
{*
|
||||
* 2010-2024 Webkul.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* All right is reserved,
|
||||
* Please go through LICENSE.txt file inside our module
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this module to newer
|
||||
* versions in the future. If you wish to customize this module for your
|
||||
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
|
||||
*
|
||||
* @author Webkul IN
|
||||
* @copyright 2010-2024 Webkul IN
|
||||
* @license LICENSE.txt
|
||||
*}
|
||||
|
||||
<div class="booking-room-detail" data-id-product="{$data_v.id_product}" data-date-diff="{$rm_k}">
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-sm-2">
|
||||
<a href="{$link->getProductLink($data_v.id_product)|escape:'html':'UTF-8'}" title="{$data_v.name|escape:'html':'UTF-8'}" target="_blank">
|
||||
<img class="img img-responsive img-room-type" src="{$data_v.cover_img|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-9 col-sm-10 col-md-12 col-lg-10 info-wrap">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<a href="{$link->getProductLink($data_v.id_product)|escape:'html':'UTF-8'}" title="{$data_v.name|escape:'html':'UTF-8'}" target="_blank" class="room-type-name">
|
||||
<h3>{$data_v.name|escape:'html':'UTF-8'}</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<div class="description-list">
|
||||
<dl class="">
|
||||
<div class="row">
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Check-in'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">{$rm_v.data_form|date_format:'D'}, {dateFormat date=$rm_v.data_form}</dd>
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Check-out'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">{$rm_v.data_to|date_format:'D'}, {dateFormat date=$rm_v.data_to}</dd>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Guests'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
{$rm_v.adults|string_format:'%02d'} {if $rm_v.adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v.children}, {$rm_v.children|string_format:'%02d'} {if $rm_v.children > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}
|
||||
</dd>
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Rooms'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">{$rm_v.num_rm|string_format:'%02d'}</dd>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Extra Services'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
<a data-date_from="{$rm_v.data_form}" data-date_to="{$rm_v.data_to}" data-id_product="{$data_v.id_product}" data-id_order="{$order->id}" data-action="{$link->getPageLink({$page_name})}" class="btn-view-extra-services" href="#rooms_type_extra_services_form">
|
||||
{/if}
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_te + $rm_v.additional_services_price_te) currency=$currency}
|
||||
{/if}
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
</a>
|
||||
{/if}
|
||||
</dd>
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Total'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_incl + $rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti + $rm_v.additional_services_price_auto_add_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.extra_demands_price_te + $rm_v.additional_services_price_te + $rm_v.additional_services_price_auto_add_te) currency=$currency}
|
||||
{/if}
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
<span class="order-price-info">
|
||||
<img src="{$img_dir}icon/icon-info.svg" />
|
||||
</span>
|
||||
<div class="price-info-container" style="display: none;">
|
||||
<div class="price-info-tooltip-cont">
|
||||
<div class="list-row">
|
||||
<div>
|
||||
<p>{l s='Room(s) cost:'}</p>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<p>
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_incl + $rm_v.additional_services_price_auto_add_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.additional_services_price_auto_add_te) currency=$currency}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-row">
|
||||
<div>
|
||||
<p>{l s='Service(s) cost:'}</p>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<p>
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_te + $rm_v.additional_services_price_te) currency=$currency}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $rm_v['count_refunded'] > 0}
|
||||
<div class="num-refunded-rooms">
|
||||
<span class="badge badge-danger">
|
||||
{if $rm_v['count_refunded'] > 1}
|
||||
{$rm_v['count_refunded']} {l s='Rooms Refunded'}
|
||||
{else}
|
||||
{$rm_v['count_refunded']} {l s='Room Refunded'}
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
156
themes/hotel-reservation-theme/_partials/order-room-detail.tpl
Normal file
156
themes/hotel-reservation-theme/_partials/order-room-detail.tpl
Normal file
@@ -0,0 +1,156 @@
|
||||
{*
|
||||
* 2010-2024 Webkul.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* All right is reserved,
|
||||
* Please go through LICENSE.txt file inside our module
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade this module to newer
|
||||
* versions in the future. If you wish to customize this module for your
|
||||
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
|
||||
*
|
||||
* @author Webkul IN
|
||||
* @copyright 2010-2024 Webkul IN
|
||||
* @license LICENSE.txt
|
||||
*}
|
||||
|
||||
<div class="booking-room-detail" data-id-product="{$data_v.id_product}" data-date-diff="{$rm_k}">
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-sm-2">
|
||||
<a href="{$link->getProductLink($data_v.id_product)|escape:'html':'UTF-8'}" title="{$data_v.name|escape:'html':'UTF-8'}" target="_blank">
|
||||
<img class="img img-responsive img-room-type" src="{$data_v.cover_img|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-9 col-sm-10 info-wrap">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<a href="{$link->getProductLink($data_v.id_product)|escape:'html':'UTF-8'}" title="{$data_v.name|escape:'html':'UTF-8'}" target="_blank" class="room-type-name">
|
||||
<h3>{$data_v.name|escape:'html':'UTF-8'}</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<div class="description-list">
|
||||
<dl class="">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Check-in'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.data_form|date_format:'D'}, {dateFormat date=$rm_v.data_form}</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Check-out'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.data_to|date_format:'D'}, {dateFormat date=$rm_v.data_to}</dd>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Rooms'}</dt>
|
||||
<dd class="col-xs-7">{$rm_v.num_rm|string_format:'%02d'}</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Guests'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
{$rm_v.adults|string_format:'%02d'} {if $rm_v.adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if $rm_v.children}, {$rm_v.children|string_format:'%02d'} {if $rm_v.children > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if}
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Extra Services'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
<a data-date_from="{$rm_v.data_form}" data-date_to="{$rm_v.data_to}" data-id_product="{$data_v.id_product}" data-id_order="{$order->id}" data-action="{$link->getPageLink({$page_name})}" class="btn-view-extra-services" href="#rooms_type_extra_services_form">
|
||||
{/if}
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_te + $rm_v.additional_services_price_te) currency=$currency}
|
||||
{/if}
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
</a>
|
||||
{/if}
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<dt class="col-xs-5">{l s='Total Price'}</dt>
|
||||
<dd class="col-xs-7">
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_incl + $rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti + $rm_v.additional_services_price_auto_add_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.extra_demands_price_te + $rm_v.additional_services_price_te + $rm_v.additional_services_price_auto_add_te) currency=$currency}
|
||||
{/if}
|
||||
{if (isset($rm_v.extra_demands) && $rm_v.extra_demands) || isset($rm_v.additional_services) && $rm_v.additional_services}
|
||||
<span class="order-price-info">
|
||||
<img src="{$img_dir}icon/icon-info.svg" />
|
||||
</span>
|
||||
<div class="price-info-container" style="display: none;">
|
||||
<div class="price-info-tooltip-cont">
|
||||
<div class="list-row">
|
||||
<div>
|
||||
<p>{l s='Room(s) cost:'}</p>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<p>
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_incl + $rm_v.additional_services_price_auto_add_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.amount_tax_excl + $rm_v.additional_services_price_auto_add_te) currency=$currency}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-row">
|
||||
<div>
|
||||
<p>{l s='Service(s) cost:'}</p>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<p>
|
||||
{if $group_use_tax}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_ti + $rm_v.additional_services_price_ti) currency=$currency}
|
||||
{else}
|
||||
{displayWtPriceWithCurrency price=($rm_v.extra_demands_price_te + $rm_v.additional_services_price_te) currency=$currency}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $rm_v['count_refunded'] > 0}
|
||||
<div class="num-refunded-rooms">
|
||||
<span class="badge badge-danger">
|
||||
{if $rm_v['count_refunded'] > 1}
|
||||
{$rm_v['count_refunded']} {l s='Rooms Refunded'}
|
||||
{else}
|
||||
{$rm_v['count_refunded']} {l s='Room Refunded'}
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -123,7 +123,7 @@
|
||||
}
|
||||
|
||||
.card.card-tabs .nav-tabs li > a {
|
||||
padding: 0 20px;
|
||||
padding: 0 18px;
|
||||
border: none;
|
||||
color: #333;
|
||||
}
|
||||
@@ -156,6 +156,10 @@
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
.description-list dd a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.description-list dd .hotel-email {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
@@ -168,6 +172,35 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.payment-details .table-summary td:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method .icon-pdf {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-image: url('../img/icon/pdf.png');
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method a {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
top: -6px;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .payment-method span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .status {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.payment-details .table-summary .status span {
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.hotel-location p.hotel-address {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
@@ -208,6 +241,11 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.room-details .card-header .booking-actions-wrap .col-xs-12 {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.room-details .card-body {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -221,6 +259,24 @@
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.room-details .card-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.room-details .card-header .booking-actions-wrap {
|
||||
margin-top: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) and (max-width: 1200px) {
|
||||
.room-details .card-header .booking-actions-wrap .col-xs-12 {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.booking-room-detail .description-list dt {
|
||||
font-weight: 400;
|
||||
}
|
||||
@@ -264,14 +320,8 @@
|
||||
color: #167BFF;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) and (max-width: 1199px) {
|
||||
.booking-room-detail .info-wrap {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.booking-room-detail .info-wrap .description-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.hotel-policies .card-header {
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.hotel-policies .refund-policies-list .refund-policy:not(:last-of-type) {
|
||||
@@ -297,7 +347,7 @@
|
||||
}
|
||||
|
||||
.order-messages .message.management {
|
||||
padding: 20px 0 20px 20px;
|
||||
padding: 20px;
|
||||
border-left: 1px solid #333;
|
||||
background-color: rgba(229, 229, 229, 0.30);
|
||||
}
|
||||
@@ -317,55 +367,6 @@
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.add-order-message .dropdown {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.add-order-message .dropdown button {
|
||||
min-width: 350px;
|
||||
padding: 12px 15px;
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
color: #000a;
|
||||
border: 1px solid #E5E5E5;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.add-order-message .dropdown button::after {
|
||||
content: '\2304';
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: 10px;
|
||||
font-size: 28px;
|
||||
font-weight: 100;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.add-order-message .dropdown .dropdown-menu {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
right: unset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.add-order-message .dropdown .dropdown-menu > li > a {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.add-order-message form .form-group.textarea {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.add-order-message form textarea {
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #E5E5E5;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
.add-order-message form #submitMessage {
|
||||
padding: 6px 20px;
|
||||
}
|
||||
@@ -774,6 +775,10 @@
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.guest-details .table-summary.table-sm td:nth-child(2) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .card.cancel-booking .card-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -787,6 +792,7 @@
|
||||
|
||||
#create-new-refund-popup .tab-content {
|
||||
margin-top: 0;
|
||||
border-left: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
/* nav-tabs resets - start */
|
||||
@@ -798,16 +804,15 @@
|
||||
|
||||
#create-new-refund-popup .nav-tabs > li {
|
||||
margin: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
/* nav-tabs resets - end */
|
||||
|
||||
/* nav-tabs custom - start */
|
||||
#create-new-refund-popup .nav-tabs > li > a {
|
||||
border-right: 1px solid #E5E5E5;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .nav-tabs > li:not(:last-of-type) > a {
|
||||
padding: 10px 18px;
|
||||
margin-right: -1px;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
|
||||
@@ -893,6 +898,7 @@
|
||||
#create-new-refund-popup .room-details .extra-services-wrap {
|
||||
margin-top: 4px;
|
||||
padding-left: 23px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .room-details .extra-services-wrap > div:not(:first-of-type) {
|
||||
@@ -932,16 +938,6 @@
|
||||
color: #FF4B4B;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .card.cancel-booking-preview .form-group textarea {
|
||||
border: 1px solid #E5E5E5;
|
||||
border-radius: 4px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .card.cancel-booking-preview .form-group textarea:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#create-new-refund-popup .card.cancel-booking-preview .errors .alert-danger {
|
||||
padding: 8px 15px;
|
||||
background-color: #FF4B4B1A;
|
||||
@@ -981,7 +977,7 @@
|
||||
|
||||
.fancybox-order-detail.feedback h4 {
|
||||
margin-top: 16px;
|
||||
font-size: 16px;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
@@ -1017,17 +1013,22 @@
|
||||
|
||||
#popup-view-extra-services .tab-content {
|
||||
margin-top: 0;
|
||||
padding: 0 15px 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
#popup-view-extra-services .tab-content .rooms_extra_demands_head {
|
||||
padding: 10px 18px;
|
||||
border-bottom: 1px solid #F0F0F0;
|
||||
}
|
||||
|
||||
#popup-view-extra-services .tab-content .rooms_extra_demands_text {
|
||||
padding: 10px 0px;
|
||||
border-bottom: 1px solid #F0F0F0;
|
||||
font-size: 12px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#popup-view-extra-services .tab-content .room_demands:not(:last-of-type) {
|
||||
margin-bottom: 20px;
|
||||
#popup-view-extra-services .tab-content .room_demands {
|
||||
padding: 0 18px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#popup-view-extra-services .tab-content .demand_header {
|
||||
@@ -1048,7 +1049,7 @@
|
||||
}
|
||||
|
||||
#popup-view-extra-services .tab-content .room_demand_block:not(:last-of-type) {
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
/* Guest Tracking page styles - start */
|
||||
|
||||
BIN
themes/hotel-reservation-theme/img/icon/pdf.png
Normal file
BIN
themes/hotel-reservation-theme/img/icon/pdf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 342 B |
@@ -61,6 +61,8 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{hook h='displayOrderDetailTopLeft' id_order=$order->id}
|
||||
|
||||
<div class="card hotel-details">
|
||||
<div class="card-header">
|
||||
{l s='Hotel Details'}
|
||||
@@ -77,41 +79,56 @@
|
||||
{if $hotel_address_info.phone_mobile}{$hotel_address_info.phone_mobile}{else}{$hotel_address_info.phone}{/if}
|
||||
</a>
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Email'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
<a href="mailto:{$obj_hotel_branch_information->email}" class="hotel-email">{$obj_hotel_branch_information->email}</a>
|
||||
</dd>
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Payment Method'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<i class="icon-file-text"></i> {l s='Invoice'}
|
||||
</a>
|
||||
{/if}
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<dt class="col-xs-6 col-sm-3">{l s='Booking Status'}</dt>
|
||||
<dd class="col-xs-6 col-sm-3">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{if $order_history[0].id_order_state|in_array:$overbooking_order_states}
|
||||
{l s='Order Not Confirmed'}
|
||||
{else}
|
||||
{$order_history[0].ostate_name|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</span>
|
||||
</dd>
|
||||
{hook h='displayOrderDetailHotelDetailsAfter' id_order=$order->id}
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card payment-details visible-xs visible-sm hidden-md hidden-lg">
|
||||
<div class="card-header">
|
||||
{l s='Payment'}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="payment-details-table">
|
||||
<table class="table table-sm table-responsive table-summary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{l s='Payment Method'}</td>
|
||||
<td class="text-right payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Status'}</td>
|
||||
<td class="text-right status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{if $order_history[0].id_order_state|in_array:$overbooking_order_states}
|
||||
{l s='Order Not Confirmed'}
|
||||
{else}
|
||||
{$order_history[0].ostate_name|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card hotel-location visible-xs visible-sm hidden-md hidden-lg">
|
||||
<div class="card-header">
|
||||
{l s='Hotel Location'}
|
||||
@@ -148,6 +165,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailRoomDetailsBefore' id_order=$order->id}
|
||||
<div class="card room-details card-toolbar">
|
||||
<div class="card-header">
|
||||
{l s='Room Details'}
|
||||
@@ -172,7 +190,7 @@
|
||||
{if isset($cart_htl_data) && $cart_htl_data}
|
||||
{foreach from=$cart_htl_data key=data_k item=data_v}
|
||||
{foreach from=$data_v['date_diff'] key=rm_k item=rm_v}
|
||||
{include file='./_partials/booking-room-detail.tpl'}
|
||||
{include file='./_partials/order-room-detail.tpl'}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{else}
|
||||
@@ -345,6 +363,7 @@
|
||||
<a href="#tab-hotel-policies-refund" data-toggle="tab">{l s='Refund Policies'}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{hook h='displayOrderDetailPoliciesTab' id_order=$order->id}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -366,6 +385,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{hook h='displayOrderDetailPoliciesTabContent' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -380,7 +400,7 @@
|
||||
<div class="card-body">
|
||||
<div class="messages-list card-text">
|
||||
{foreach from=$messages item=message}
|
||||
{include file='./_partials/booking-message.tpl'}
|
||||
{include file='./_partials/order-message.tpl'}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
@@ -404,20 +424,14 @@
|
||||
<div class="form-group select-room-type">
|
||||
<label for="id_product">{l s='Room Type'}</label>
|
||||
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
<span>{l s='-- Choose --'}</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
{foreach from=$products item=product}
|
||||
{if $product.is_booking_product}
|
||||
<li><a href="" value="{$product.product_id}">{$product.product_name|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<input type="hidden" class="id_product" name="id_product" value="0">
|
||||
<select name="id_product" class="form-control">
|
||||
<option value="0">{l s='-- Choose --'}</option>
|
||||
{foreach from=$products item=product}
|
||||
{if $product.is_booking_product}
|
||||
<option value="{$product.product_id}">{$product.product_name|escape:'html':'UTF-8'}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<p class="form-group textarea">
|
||||
@@ -433,8 +447,51 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayOrderDetailBottomLeft' id_order=$order->id}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{hook h='displayOrderDetailTopRight' id_order=$order->id}
|
||||
|
||||
<div class="card payment-details hidden-xs hidden-sm visible-md">
|
||||
<div class="card-header">
|
||||
{l s='Payment'}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="payment-details-table">
|
||||
<table class="table table-sm table-responsive table-summary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{l s='Payment Method'}</td>
|
||||
<td class="text-right payment-method">
|
||||
{if $invoice && $invoiceAllowed}
|
||||
<span class="icon-pdf"></span>
|
||||
<a target="_blank" href="{$link->getPageLink('pdf-invoice', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key|escape:'html':'UTF-8'}{/if}" title="{l s='Click here to download invoice.'}">
|
||||
<span>{$order->payment|escape:'html':'UTF-8'}</span>
|
||||
</a>
|
||||
{else}
|
||||
{$order->payment|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Status'}</td>
|
||||
<td class="text-right status">
|
||||
<span{if isset($order_history[0].color) && $order_history[0].color} style="background-color:{$order_history[0].color|escape:'html':'UTF-8'}30; border: 1px solid {$order_history[0].color|escape:'html':'UTF-8'};" {/if} class="label">
|
||||
{if $order_history[0].id_order_state|in_array:$overbooking_order_states}
|
||||
{l s='Order Not Confirmed'}
|
||||
{else}
|
||||
{$order_history[0].ostate_name|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card hotel-location hidden-xs hidden-sm visible-md">
|
||||
<div class="card-header">
|
||||
{l s='Hotel Location'}
|
||||
@@ -606,6 +663,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook h='displayOrderDetailBottomRight' id_order=$order->id}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -657,11 +716,11 @@
|
||||
<p class="room-type-name">{$data_v.name}</p>
|
||||
<div class="col-xs-3">
|
||||
<p>{l s='Total Rooms'}</p>
|
||||
{$rm_v.num_rm|string_format:'%02d'}
|
||||
<strong>{$rm_v.num_rm|string_format:'%02d'}</strong>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<p>{l s='Cancelled Rooms'}</p>
|
||||
{($rm_v.count_cancelled + $rm_v.count_refunded)|string_format:'%02d'}
|
||||
<strong>{($rm_v.count_cancelled + $rm_v.count_refunded)|string_format:'%02d'}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rooms-summary">
|
||||
@@ -709,7 +768,7 @@
|
||||
</div>
|
||||
{else}
|
||||
<div class="extra-services-wrap clearfix">
|
||||
<p class="">{l s='No extra services added for this room.'}</p>
|
||||
<p class="text-muted">{l s='No extra services added for this room.'}</p>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user