{* * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $opc} {assign var="back_order_page" value="order-opc.php"} {else} {assign var="back_order_page" value="order.php"} {/if}
{if $PS_CATALOG_MODE} {capture name=path}{l s='Your booking cart'}{/capture}

{l s='Your booking cart'}

{l s='The hotel is currently not accepting any bookings.'}

{else} {if $productNumber}
{include file="$tpl_dir./errors.tpl"} {* Accordian for all blocks *}
{if isset($checkout_process_steps) && $checkout_process_steps} {foreach $checkout_process_steps as $step} {if $step->step_key == 'checkout_rooms_summary'}
{l s='Rooms & Price Summary'}
{if $step->step_is_reachable}
{* This tpl includes room type lists in the orders *} {include file="$tpl_dir./shopping-cart.tpl"}
{/if}
{* End Shopping Cart *} {elseif $step->step_key == 'checkout_customer'}
{l s='Guest Information'}
{if $step->step_is_reachable}
{if $is_logged || $isGuest} {if $is_logged}

{/if}
{l s='Name'}
{if $isGuest} {$guestInformations['customer_firstname']} {$guestInformations['customer_lastname']} {else} {$guestInformations['firstname']} {$guestInformations['lastname']} {/if}
{l s='Email'}
{$guestInformations['email']}
{if (isset($delivery->phone_mobile) && $delivery->phone_mobile) || (isset($delivery->phone) && $delivery->phone)}
{if isset($delivery->phone_mobile) && $delivery->phone_mobile} {l s='Mobile Number'} {else} {l s='Phone Number'} {/if}
{if isset($delivery->phone_mobile) && $delivery->phone_mobile} {$delivery->phone_mobile|escape:'html':'UTF-8'} {else} {$delivery->phone|escape:'html':'UTF-8'} {/if}
{/if}
{* proceed only if no order restrict errors are there *} {if !$orderRestrictErr}
{/if} {else} {include file="$tpl_dir./order-opc-new-account.tpl"} {/if}
{/if}
{elseif $step->step_key == 'checkout_payment'} {*
{include file="$tpl_dir./order-carrier.tpl"}
*}
{l s='Payment Information'}
{if $step->step_is_reachable}
{include file="$tpl_dir./order-payment.tpl"}
{/if}
{/if} {/foreach} {/if}
{* Total cart details, tax details, advance payment details and voucher details *}
{* {if $total_rooms}

{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} {displayPrice price=$total_service_products}

{/if} *}

{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} {if $use_taxes && $priceDisplay == 0} {assign var='total_rooms_cost' value=($total_rooms_wt + $total_extra_demands_wt + $total_additional_services_wt + $total_additional_services_auto_add_wt)} {else} {assign var='total_rooms_cost' value=($total_rooms + $total_extra_demands + $total_additional_services + $total_additional_services_auto_add)} {/if} {displayPrice price=$total_rooms_cost}

{if $display_tax_label} {if $use_taxes && $priceDisplay == 0} {l s='Total Discount (tax incl)'} {else} {l s='Total Discount (tax excl)'} {/if} {else} {l s='Total Discount'} {/if} {if $use_taxes && $priceDisplay == 0} {assign var='total_discounts_negative' value=$total_discounts * -1} {else} {assign var='total_discounts_negative' value=$total_discounts_tax_exc * -1} {/if} {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}

{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} *}

{if $use_taxes} {if $display_tax_label}{l s='Total gift wrapping (tax incl.)'}{else}{l s='Total gift-wrapping cost'}{/if} {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} {/if}

{if isset($is_advance_payment) && $is_advance_payment}

{l s='Advance Payment Amount'} {displayPrice price=$advPaymentAmount}

{l s='Due Amount'} {displayPrice price=$dueAmount}

{/if}

{l s='Final Total'} {if isset($is_advance_payment) && $is_advance_payment} {displayPrice price=$advPaymentAmount} {else} {if $use_taxes} {displayPrice price=$total_price} {else} {displayPrice price=$total_price_without_tax} {/if}

{hook h="displayCartTotalPriceLabel"}
{/if}

{* Check if voucher feature is enabled currently *} {if $voucherAllowed} {* Cart vouchers block *}

{l s='Apply Coupon'}

{l s='Have promocode ?'}

{* Applied vouchers to the cart *} {if sizeof($discounts)}
{foreach $discounts as $discount} {if ((float)$discount.value_real == 0 && $discount.free_shipping != 1) || ((float)$discount.value_real == 0 && $discount.code == '')} {continue} {/if}
{$discount.name|escape:'html':'UTF-8'} {if strlen($discount.code)} {/if} {l s='Applied'}
{/foreach}

{/if}
{* Form to apply voucher to the cart *}
{* The available highlighted vouchers for the customer*} {if $displayVouchers}

{l s='Available Coupons'}

{foreach from=$displayVouchers key=key item=voucher name=availVoucher}

{$voucher.code|escape:'html':'UTF-8'} - {$voucher.name}

{$voucher['description']}

{if not $smarty.foreach.availVoucher.last}
{/if}
{/foreach}
{/if}
{/if} {* End Voucher Block *}
{else} {capture name=path}{l s='Your booking cart'}{/capture}

{l s='Your booking cart'}

{include file="$tpl_dir./errors.tpl"}

{l s='You have not added any room to your cart yet.'}

{/if} {strip} {addJsDef imgDir=$img_dir} {addJsDef authenticationUrl=$link->getPageLink("authentication", true)|escape:'quotes':'UTF-8'} {addJsDef orderOpcUrl=$link->getPageLink("order-opc", true)|escape:'quotes':'UTF-8'} {addJsDef historyUrl=$link->getPageLink("history", true)|escape:'quotes':'UTF-8'} {addJsDef guestTrackingUrl=$link->getPageLink("guest-tracking", true)|escape:'quotes':'UTF-8'} {addJsDef addressUrl=$link->getPageLink("address", true, NULL, "back={$back_order_page}")|escape:'quotes':'UTF-8'} {addJsDef orderProcess='order-opc'} {addJsDef guestCheckoutEnabled=$PS_GUEST_CHECKOUT_ENABLED|intval} {addJsDef displayPrice=$priceDisplay} {addJsDef taxEnabled=$use_taxes} {addJsDef conditionEnabled=$conditions|intval} {addJsDef errorCarrier=$errorCarrier|@addcslashes:'\''} {addJsDef errorTOS=$errorTOS|@addcslashes:'\''} {addJsDef checkedCarrier=$checked|intval} {addJsDef addresses=array()} {addJsDef isVirtualCart=$isVirtualCart|intval} {addJsDef isPaymentStep=$isPaymentStep|intval} {addJsDefL name=txtWithTax}{l s='(tax incl.)' js=1}{/addJsDefL} {addJsDefL name=txtWithoutTax}{l s='(tax excl.)' js=1}{/addJsDefL} {addJsDefL name=txtHasBeenSelected}{l s='has been selected' js=1}{/addJsDefL} {addJsDefL name=txtNoCarrierIsSelected}{l s='No carrier has been selected' js=1}{/addJsDefL} {addJsDefL name=txtNoCarrierIsNeeded}{l s='No carrier is needed for this order' js=1}{/addJsDefL} {addJsDefL name=txtConditionsIsNotNeeded}{l s='You do not need to accept the Terms of Service for this order.' js=1}{/addJsDefL} {addJsDefL name=txtTOSIsAccepted}{l s='The service terms have been accepted' js=1}{/addJsDefL} {addJsDefL name=txtTOSIsNotAccepted}{l s='The service terms have not been accepted' js=1}{/addJsDefL} {addJsDefL name=txtThereis}{l s='There is' js=1}{/addJsDefL} {addJsDefL name=txtErrors}{l s='Error(s)' js=1}{/addJsDefL} {addJsDefL name=txtDeliveryAddress}{l s='Delivery address' js=1}{/addJsDefL} {addJsDefL name=txtInvoiceAddress}{l s='Invoice address' js=1}{/addJsDefL} {addJsDefL name=txtModifyMyAddress}{l s='Modify my address' js=1}{/addJsDefL} {addJsDefL name=txtInstantCheckout}{l s='Instant checkout' js=1}{/addJsDefL} {addJsDefL name=txtSelectAnAddressFirst}{l s='Please start by selecting an address.' js=1}{/addJsDefL} {addJsDefL name=txtFree}{l s='Free' js=1}{/addJsDefL} {capture}{if $back}&mod={$back|urlencode}{/if}{/capture} {capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} {addJsDef addressUrl=$smarty.capture.addressUrl} {capture}{'&multi-shipping=1'|urlencode}{/capture} {addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} {capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} {addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} {addJsDef opc=$opc|boolval} {capture}

{l s='Your billing address' js=1}

{/capture} {addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {capture}

{l s='Your delivery address' js=1}

{/capture} {addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {capture}{l s='Update' js=1}{/capture} {addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {addJsDefL name=txtExtraDemandSucc}{l s='Updated Successfully' js=1}{/addJsDefL} {addJsDefL name=txtMaxQuantityAdded}{l s='Maximum quantity of service added' js=1}{/addJsDefL} {addJsDefL name=txtExtraDemandErr}{l s='Some error occurred while updating demands' js=1}{/addJsDefL} {/strip} {/if}