diff --git a/admin-dev/themes/default/js/admin-theme.js b/admin-dev/themes/default/js/admin-theme.js index e8c42601d..5d49e1189 100644 --- a/admin-dev/themes/default/js/admin-theme.js +++ b/admin-dev/themes/default/js/admin-theme.js @@ -478,11 +478,13 @@ $(document).ready(function() { $('.no-htl-access-option').on('click', function() { $(this).prop('selected', false); }); - initTooltip(); + + initUITooltip(); + }); //end dom ready -function initTooltip($target, contentFn, items) { - var $elements = $target || $('.tooltip-trigger'); +function initUITooltip($target, contentFn, items) { + var $elements = $target || $('.ui-tooltip-trigger'); if (!$elements.length) { return; } @@ -491,11 +493,11 @@ function initTooltip($target, contentFn, items) { if (!contentFn && $this.data('ui-tooltip')) { return; } - $this.tooltip({ + $this.uiTooltip({ content: contentFn || $this.next('.tooltip-content').html(), items: items || 'span', trigger: 'hover', - tooltipClass: 'tooltip-popup', + tooltipClass: 'ui-tooltip-popup', open: function (event, ui) { if (event.buttons == 1 || event.buttons == 3) { ui.tooltip.remove(); diff --git a/admin-dev/themes/default/sass/partials/_tooltip.sass b/admin-dev/themes/default/sass/partials/_tooltip.sass index d1f445386..f3ef5f4b2 100644 --- a/admin-dev/themes/default/sass/partials/_tooltip.sass +++ b/admin-dev/themes/default/sass/partials/_tooltip.sass @@ -1,57 +1,44 @@ -.tooltip_cont - width: 100% - font-size: 14px - font-weight: 600 - .tip_header - margin-bottom: 10px - .tip-body > div - margin-bottom: 6px - margin-right: 10px - -.tip_element_head - font-size: 12px - -.tip_element_value - font-size: 14px - font-weight: 400 - opacity: 0.8 - -.tip-body - display: grid - grid-template-columns: auto auto - &.tip-body-grid - grid-template-columns: 1fr 1fr - gap: 8px 16px - -.ui-tooltip, -.ui-tooltip.ui-widget-content +.ui-tooltip.ui-tooltip-popup border: none padding: 10px box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15) width: auto -.tooltip-trigger +.ui-tooltip-trigger cursor: pointer display: inline-block vertical-align: middle +.ui-tooltip-content + width: 100% +.ui-tooltip-wrapper + width: 100% + font-size: 14px + font-weight: 600 -.ui-tooltip.tooltip-popup - ul - margin: 0 - padding: 0 0 0 16px - list-style: disc - li - padding: 2px 0 +.ui-tooltip-header + margin-bottom: 5px -.tooltip-popup-row - display: flex - justify-content: space-between - align-items: center - gap: 12px - margin: 3px 0 - white-space: nowrap - label - font-weight: 600 - margin: 0 +.ui-tooltip-body + + > div + margin-bottom: 6px + margin-right: 10px + &.ui-tooltip-body-grid + display: grid + grid-template-columns: auto auto + grid-template-columns: 1fr 1fr + gap: 8px 2px + +.ui-tooltip-elem-head + font-size: 12px + +.ui-tooltip-elem-txt + font-size: 13px + font-weight: 400 + opacity: 0.8 + +.ui-tooltip-label + font-weight: 600 + margin: 0 diff --git a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl index 8a41e9221..940a17f8e 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl @@ -220,39 +220,37 @@ {/if} - {if $hotels.unselected|@count + $hotels.selected|@count > 1} -
- -
-|
- {l s='Unselected hotels'} - - {l s='Add'} - |
-
- {l s='Selected hotels'} - - {l s='Remove'} - |
-
+ +
+|
+ {l s='Unselected Properties'} + + {l s='Add'} + |
+
+ {l s='Selected Properties'} + + {l s='Remove'} + |
+
diff --git a/admin-dev/themes/default/template/controllers/cart_rules/helpers/list/_hotel_names_tooltip.tpl b/admin-dev/themes/default/template/controllers/cart_rules/helpers/list/_hotel_names_tooltip.tpl index 469679641..eca4b71f3 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/helpers/list/_hotel_names_tooltip.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/helpers/list/_hotel_names_tooltip.tpl @@ -24,17 +24,17 @@ {$hotel_names_first|escape:'html':'UTF-8'} {if $hotel_names_remaining} {capture name='hotel_names_tooltip'} -
{convertPriceWithCurrency price=$data['paid_unit_price_tax_excl'] currency=$currency->id}/{l s='day'}
| {l s='Duration'} | -{l s='Rooms'} | +{l s='Duration'} | +{l s='Rooms'} |
|---|---|---|---|
| {$stay_period.from} – {$stay_period.to} | -{$stay_period.count} | +{$stay_period.from} – {$stay_period.to} | +{$stay_period.count} |
0 0 * * * curl {$cron_url|escape:'html':'UTF-8'}
+
+ + {l s='Hotels listed here are enabled for Google Hotel. To add or remove a hotel, go to' mod='qlogooglehotelconnector'} + + {l s='Hotels' mod='qlogooglehotelconnector'} + {l s='→ Edit Hotel → Google Hotel tab' mod='qlogooglehotelconnector'} + . +
+| {l s='Hotel' mod='qlogooglehotelconnector'} | +{l s='Google Status' mod='qlogooglehotelconnector'} | +{l s='Last Updated' mod='qlogooglehotelconnector'} | +
|---|---|---|
| + + {$cfg.hotel_name|escape:'html':'UTF-8'} + + | ++ + + {$cfg.status_label|escape:'html':'UTF-8'} + + | ++ {$cfg.date_add|escape:'html':'UTF-8'} + | +
{$ghc_log.date_add|escape:'html':'UTF-8'}
+{$ghc_log.hotel_label|escape:'html':'UTF-8'}
+{$ghc_log.type_label|escape:'html':'UTF-8'}
++ {if $ghc_log.status} + {l s='Success' mod='qlogooglehotelconnector'} + {else} + {l s='Error' mod='qlogooglehotelconnector'} + {/if} +
+{$ghc_log.message|escape:'html':'UTF-8'}
+{$ghc_log.request|escape:'html':'UTF-8'}
+ {l s='(empty)' mod='qlogooglehotelconnector'}
+ {/if} +{$ghc_log.response|escape:'html':'UTF-8'}
+ {l s='(empty)' mod='qlogooglehotelconnector'}
+ {/if} +| + + | ++ {l s='Room Type' mod='qlogooglehotelconnector'} + | +
|---|---|
| + + | ++ + | +
+ {l s='No room types found for this hotel.' mod='qlogooglehotelconnector'} +
+ {/if} +{l s='Please set up the following sitemap URL in your Google Search Console account:' mod='qlositemap'}
{$qsm_index_url|escape:'html':'UTF-8'}
{l s='A separate sitemap file is generated for each active language.' mod='qlositemap'}
+{l s='The above URL is the master sitemap file. It refers to the following sub-sitemap files:' mod='qlositemap'}
+{l s='Your last update was made on this date:' mod='qlositemap'} {$qsm_last_export|escape:'html':'UTF-8'}
+ {else} +{l s='No sitemap has been generated yet.' mod='qlositemap'}
+ {/if} +{l s='Automatic sitemap generation' mod='qlositemap'}
+{l s='Manual sitemap generation' mod='qlositemap'}
+{l s='Submit the main sitemap URL in your search engine webmaster account (for example Google Search Console).' mod='qlositemap'}
+{l s='The main sitemap lists one sitemap file for each active language.' mod='qlositemap'}
+{l s='You can customize the sitemap configuration from here.' mod='qlositemap'} {l s='Configuration' mod='qlositemap'}
+{$qsm_index_url|escape:'html':'UTF-8'}
+{l s='Your last update was made on this date:' mod='qlositemap'} {$qsm_last_export|escape:'html':'UTF-8'}
+ {else} +{l s='No sitemap has been generated yet.' mod='qlositemap'}
+ {/if} + +| {l s='PRODUCTS DETAILS' pdf='true'} | +||||
|---|---|---|---|---|
| {l s='Product Name' pdf='true'} | +{l s='Tax' pdf='true'} | +{l s='Unit Price (tax excl.)' pdf='true'} | +{l s='Qty' pdf='true'} | +{l s='Total (tax excl.)' pdf='true'} | +
| {$product.name|escape:'html':'UTF-8'}{if $product.hotel_name} {$product.hotel_name|escape:'html':'UTF-8'}{/if} |
+ {$product.tax_label nofilter} | +{displayPrice currency=$order->id_currency price=$product.unit_price_tax_excl} | +{$product.quantity|intval} | +{displayPrice currency=$order->id_currency price=$product.total_price_tax_excl} | +
+
{l s='Applied on:'}
+{l s='Applied on:'}
+{l s='%s cost:' sprintf=$data_v.selling_object_plural_name|escape:'html':'UTF-8'}
-- {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} -
-{l s='Service(s) cost:'}
- {if $group_use_tax} - {displayWtPriceWithCurrency price=$rm_v.additional_services_price_ti currency=$currency} - {else} - {displayWtPriceWithCurrency price=$rm_v.additional_services_price_te currency=$currency} - {/if} -
-
- {foreach from=$room_v['feature'] key=feat_k item=feat_v}
+ {foreach from=$room_v['featured_amenities'] key=feat_k item=feat_v}
{if $feat_v.logo_type == 'icon' && $feat_v.logo}
{elseif $feat_v.logo_type == 'image' && $feat_v.logo}
{/if}
{/foreach}
diff --git a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
index d5c27511e..f82b7c8b4 100644
--- a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
+++ b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl
@@ -40,8 +40,10 @@
{$service_product['name']}
{assign var='priceCalcMethod' value=$service_product.price_calculation_method|default:0}
{capture name='htl_pcm_tooltip'}
-
{l s='Applied on:'}
+
{l s='Total rooms cost'}
- {if $display_tax_label}
- {if $use_taxes && $priceDisplay == 0}
- {l s='(tax incl)'}
- {else}
- {l s='(tax excl)'}
- {/if}
+ {if $display_tax_label && $use_taxes}
+ {if $priceDisplay == 0}
+ {l s='(tax incl)'}
+ {else}
+ {l s='(tax excl)'}
+ {/if}
{/if}
@@ -48,8 +48,8 @@
{l s='Total products'}
- {if $display_tax_label}
- {if $use_taxes && $priceDisplay == 0}
+ {if $display_tax_label && $use_taxes}
+ {if $priceDisplay == 0}
{l s='(tax incl)'}
{else}
{l s='(tax excl)'}
@@ -69,8 +69,8 @@
{l s='Convenience Fees'}
- {if $display_tax_label}
- {if $use_taxes && $priceDisplay == 0}
+ {if $display_tax_label && $use_taxes}
+ {if $priceDisplay == 0}
{l s='(tax incl)'}
{else}
{l s='(tax excl)'}
@@ -108,8 +108,8 @@
{/if}
- {if $display_tax_label}
- {if $use_taxes && $priceDisplay == 0}
+ {if $display_tax_label && $use_taxes}
+ {if $priceDisplay == 0}
{l s='Total Discount (tax incl)'}
{else}
{l s='Total Discount (tax excl)'}
diff --git a/themes/hotel-reservation-theme/category-tree-branch.tpl b/themes/hotel-reservation-theme/category-tree-branch.tpl
index fbc7bae8e..7015cd300 100644
--- a/themes/hotel-reservation-theme/category-tree-branch.tpl
+++ b/themes/hotel-reservation-theme/category-tree-branch.tpl
@@ -25,15 +25,22 @@
{foreach from=$node.children item=child name=categoryTreeBranch}
- {if $smarty.foreach.categoryTreeBranch.last}
+ {if $smarty.foreach.categoryTreeBranch.last && !(isset($node.room_types) && $node.room_types|@count > 0)}
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'}
{else}
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'}
{/if}
{/foreach}
+ {if isset($node.room_types)}
+ {foreach from=$node.room_types item=roomType name=roomTypeBranch}
+
{/if}