diff --git a/admin/themes/default/sass/controllers/_products.sass b/admin/themes/default/sass/controllers/_products.sass index b7302f7d1..ee8e97e75 100644 --- a/admin/themes/default/sass/controllers/_products.sass +++ b/admin/themes/default/sass/controllers/_products.sass @@ -1,2 +1,117 @@ #leave_bprice margin-left: 0px + +#deactiveDatesModal + .fc-popover-body .fc-daygrid-event-harness + .fc-event-end, .fc-event-start + margin-left: unset + margin-right: unset + .fc-popover.fc-more-popover + max-width: 450px + .fc-daygrid-event + box-shadow: 0px 1px 2px 0px rgba(171, 171, 171, 0.3) + border-radius: 4px + .fc-daygrid-day-bg + min-height: 40px + .fc-h-event.fc-event + border-color: #FFFFFF + background: #FFFFFF + .fc-h-event .fc-event-main + color: #333333 + .fc-h-event.fc-event.calendar_hover_highlight + border-color: #CAE4FF + background: #CAE4FF + .fc-event-title-container + cursor: pointer + padding: 4px + .highlight-event-day + background: #F5F5F5 + .fc-event-title + text-overflow: ellipsis + white-space: nowrap + max-width: 65% + overflow: hidden + padding-left: 10px + .event_title_container, .fc-popover-body .fc-event-title + border-left: 2px solid red + #disable_dates_form + .date_from_container, .date_to_container + .ui-datepicker + position: absolute + top: 62px + left: 5px + position: relative + textarea + border-radius: 4px + .form-group + .control-label + margin-bottom: 5px + .btn + border-radius: 5px + .modal-title + .add_disable_dates, .close + margin-right: 10px + .remove_disable_dates + margin-right: 20px + .close + line-height: 2 + .disable_dates_title + .disable_dates_room_num + color: grey + display: inline-block + font-weight: 600 + line-height: 2 + .delete_disable_dates + margin-left: 10px + .delete_disable_dates:hover , .edit_disable_dates:hover + cursor: pointer + .tooltip_info_block + .tooltip_title + margin: 10px 5px + font-weight: 600 + min-width: 340px + .tooltip_container + .tooltip_title + .close + opacity: 0.6 + padding-bottom: 5px + font-weight: 600 + .tooltip_label + font-weight: 400 + color: #888888 + margin-bottom: 5px + .tooltip_event_title + border: 1px solid #D9D9D9 + border-radius: 6px + padding: 5px 10px + .tooltip_content + .tooltip_reason + word-wrap: break-word + max-height: 200px + overflow: auto + .tooltip_reason_container, .id_event + margin-top: 10px + &> div + display: inline-block + .row + margin-left: 0 + margin-right: 0 + ul.disable_dates_actions + .btn + text-align: left + display: block + border: none + padding-left: 0 + margin-bottom: 0 + list-style-type: none + font-size: 14px + z-index: 99999 + position: absolute + min-width: 450px + max-width: 450px + background: #fff + box-shadow: 0 8px 25px -2px rgba(0,0,0,0.20) + padding: 15px + border-radius: 6px + .tooltip_action_block + min-width: unset \ No newline at end of file diff --git a/admin/themes/default/sass/partials/_content.sass b/admin/themes/default/sass/partials/_content.sass index 02f828538..54165bdf3 100644 --- a/admin/themes/default/sass/partials/_content.sass +++ b/admin/themes/default/sass/partials/_content.sass @@ -137,6 +137,23 @@ body padding-right: 8px .form-group margin-bottom: 8px + #page-loader + position: fixed + display: none + inset: 0 + z-index: 10000 + background-color: rgba(0, 0, 0, 0.5) + span + position: absolute + inset: 0 + display: flex + justify-content: center + align-items: center + i + color: #fff + font-size: 50px + + //data-focus .data-focus diff --git a/admin/themes/default/sass/partials/_rtl.sass b/admin/themes/default/sass/partials/_rtl.sass index 7fd16f206..c2e7a24bb 100644 --- a/admin/themes/default/sass/partials/_rtl.sass +++ b/admin/themes/default/sass/partials/_rtl.sass @@ -124,3 +124,25 @@ html ul#ellipsis_submenu left: 0 right: unset + +#deactiveDatesModal + .tooltip_container + .disable_dates_actions + .btn + text-align: right !important + padding-inline-start: unset + .fc-event-title + border-left: unset !important + border-right: 2px solid red !important + padding-right: 10px !important + padding-left: unset !important + .delete_disable_dates + margin-left: unset !important + margin-right: 10px + .remove_disable_dates + margin-right: 10px !important + margin-left: 20px + .alert.alert-danger + text-align: right !important + .error_message_label + float: right !important diff --git a/admin/themes/default/template/controllers/orders/_product_line.tpl b/admin/themes/default/template/controllers/orders/_product_line.tpl index 453398fd0..c697a8b6f 100644 --- a/admin/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin/themes/default/template/controllers/orders/_product_line.tpl @@ -124,7 +124,7 @@
- {l s='Maximum allowed quantity: %s' sprintf=$service['max_quantity']} -
+ {if $service['max_quantity']} ++ {l s='Maximum allowed quantity: %s' sprintf=$service['max_quantity']} +
+ {/if}| {l s='Order ID'} | -{l s='Date From'} | -{l s='Date To'} | -
|---|---|---|
| - #{$booked_row->id_order|intval} - | -{dateFormat date=$booked_row->date_from} | -{dateFormat date=$booked_row->date_to} | -
+{l s='Please note that the date chosen for field \'Date To\' is not considered as a blocking date.'}
-| - {l s='Date From'} - | -- {l s='Date To'} - | -- {l s='Reason'} - | -- |
|---|
{$room_v['name']|escape:'htmlall':'UTF-8'}
- {if !isset($restricted_country_mode) && !$PS_CATALOG_MODE && !$order_date_restrict} -$warning_num} style="display:none"{/if}> - {l s='Hurry!'} {$room_v['room_left']|escape:'htmlall':'UTF-8'} {l s='rooms left'} -
- {/if} + {if $room_v['data']['available']|count} +
- {foreach from=$room_v['feature'] key=feat_k item=feat_v}
-
- {/foreach}
-
{$room_v['max_guests']|escape:'htmlall':'UTF-8'} {l s='Max guests:'} {$room_v['max_adults']|escape:'htmlall':'UTF-8'} {l s='Adults'}, {$room_v['max_children']|escape:'htmlall':'UTF-8'} {if $room_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}
-- {if $room_v['feature_price_diff'] >= 0} - - {displayPrice price = $room_v['price_without_reduction_with_auto_add']|round:2|floatVal} - - {/if} - {if $room_v['feature_price_diff']} - - {displayPrice price = $room_v['feature_price']|round:2|floatVal} - - {/if} - /{l s='Per Night'} -
- {/if} -{$room_v['name']|escape:'htmlall':'UTF-8'}
+ {if !isset($restricted_country_mode) && !$PS_CATALOG_MODE && !$order_date_restrict} +$warning_num} style="display:none"{/if}> + {l s='Hurry!'} {$room_v['room_left']|escape:'htmlall':'UTF-8'} {l s='rooms left'} +
+ {/if}
+ {foreach from=$room_v['feature'] key=feat_k item=feat_v}
+
+ {/foreach}
+
{$room_v['max_guests']|escape:'htmlall':'UTF-8'} {l s='Max guests:'} {$room_v['max_adults']|escape:'htmlall':'UTF-8'} {l s='Adults'}, {$room_v['max_children']|escape:'htmlall':'UTF-8'} {if $room_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}
++ {if $room_v['feature_price_diff'] >= 0} + + {displayPrice price = $room_v['price_without_reduction']|round:2|floatVal} + + {/if} + {if $room_v['feature_price_diff']} + + {displayPrice price = $room_v['feature_price']|round:2|floatVal} + + {/if} + /{l s='Per Night'} +
+ {/if} +- {l s='Total rooms cost'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} - {displayPrice price=$total_rooms} -
- {/if} - {if (isset($total_extra_demands) && $total_extra_demands) || (isset($total_additional_services) && $total_additional_services)} -- {l s='Total extra services'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} - {displayPrice price=($total_extra_demands + $total_additional_services)} -
- {/if} *} {* {if $total_service_products}{l s='Total service products cost'}{if $display_tax_label}{l s=' (tax excl.)'}{/if} @@ -249,6 +237,33 @@ {displayPrice price=$total_rooms_cost}
+ {if $convenience_fee_wt} ++ + {l s='Convenience Fees'} + {if $display_tax_label} + {if $use_taxes && $priceDisplay == 0} + {l s='(tax incl)'} + {else} + {l s='(tax excl)'} + {/if} + {/if} + + + {if $use_taxes && $priceDisplay == 0} + {displayPrice price=$convenience_fee_wt} + {else} + {displayPrice price=$convenience_fee} + {/if} + +
+ {/if} + {if $show_taxes} ++ {l s='Total tax'} + {displayPrice price=($total_tax)} +
+ {/if}{if $display_tax_label} @@ -270,112 +285,30 @@ {displayPrice price=$total_discounts_negative}
- {* {if $priceDisplay != 0} *} -- - {l s='Total'} - {if $display_tax_label} - {if $use_taxes && $priceDisplay == 0} - {l s='(tax incl)'} - {else} - {l s='(tax excl)'} - {/if} - {/if} - - - {if $use_taxes && $priceDisplay == 0} - {displayPrice price=$total_price - $convenience_fee_wt} - {else} - {displayPrice price=$total_price_without_tax - $convenience_fee} - {/if} - -
- {* {/if} *} - {* {if $total_rooms_wt != 0} -- {l s='Tax on rooms'} - {displayPrice price=($total_rooms_wt - $total_rooms)} -
- {/if} *} - {if $convenience_fee_wt} -- {l s='Convenience Fees'} - - {if $use_taxes && $priceDisplay == 0} - {displayPrice price=$convenience_fee_wt} - {else} - {displayPrice price=$convenience_fee} - {/if} - -
- {/if} - {hook h="displayCartTotalPriceLabel" type='before_tax'} - -- {l s='Total tax'} - {displayPrice price=($total_tax)} -
- {* {if $use_taxes && $show_taxes && ($total_extra_demands_wt + $total_additional_services_wt)!= 0 } -- {l s='Tax on services'} - {displayPrice price=(($total_extra_demands_wt - $total_extra_demands) + ($total_additional_services_wt - $total_additional_services))} -
- {/if} *} - {* {if $use_taxes && $show_taxes && $total_service_products_wt != 0 } -- {l s='Tax on service products'} - {displayPrice price=($total_service_products_wt - $total_service_products)} -
- {/if} *} - -
-
+
+ {l s='Total'}
+ {hook h="displayCartTotalPriceLabel" type='total'}
+
{if $use_taxes}
- {if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift-wrapping cost'}{/if}
+ {displayPrice price=$total_price}
{else}
- {l s='Total gift-wrapping cost'}
- {/if}
-
-
- {if $use_taxes}
- {if $priceDisplay}
- {displayPrice price=$total_wrapping_tax_exc}
- {else}
- {displayPrice price=$total_wrapping}
- {/if}
- {else}
- {displayPrice price=$total_wrapping_tax_exc}
+ {displayPrice price=$total_price_without_tax}
{/if}
- {l s='Advance Payment Amount'}
- {displayPrice price=$advPaymentAmount}
-
{l s='Due Amount'}
{displayPrice price=$dueAmount}
- {l s='Final Total'}
- {if isset($is_advance_payment) && $is_advance_payment}
+
+ {l s='Partially Payable Total'}
+ {hook h="displayCartTotalPriceLabel" type='partial'}
{displayPrice price=$advPaymentAmount}
- {else}
-
- {if $use_taxes}
- {displayPrice price=$total_price}
- {else}
- {displayPrice price=$total_price_without_tax}
- {/if}
-
-
+