78 lines
3.6 KiB
Smarty
78 lines
3.6 KiB
Smarty
{*
|
|
* 2007-2015 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 <contact@prestashop.com>
|
|
* @copyright 2007-2015 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 isset($room_additinal_services) && $room_additinal_services}
|
|
<table id="additional-services-table" class="bordered-table" width="100%" cellpadding="4" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="5" class="header">{l s='Room Extra Services Detail' pdf='true'}</th>
|
|
</tr>
|
|
<tr>
|
|
<th class="header-left small">{l s='Room Type' pdf='true'}</th>
|
|
<th class="header-left small">{l s='Name' pdf='true'}</th>
|
|
<th class="header small">{l s='Tax rate(s)' pdf='true'}</th>
|
|
<th class="header small">{l s='Qty' pdf='true'}</th>
|
|
<th class="header-left small">{l s='Total' pdf='true'} <br /> {l s='(Tax excl.)' pdf='true'}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{assign var=roomCount value=1}
|
|
{foreach $room_additinal_services as $htlBookingServices}
|
|
{if isset($htlBookingServices['additional_services']) && $htlBookingServices['additional_services']}
|
|
{foreach name=serviceRow from=$htlBookingServices['additional_services'] item=service}
|
|
<tr>
|
|
{if $smarty.foreach.serviceRow.first}
|
|
<td rowspan="{$htlBookingServices['additional_services']|count}">
|
|
{$htlBookingServices['room_type_name']}<br>
|
|
{dateFormat date=$htlBookingServices['date_from']} {l s='to' pdf='true'} {dateFormat date=$htlBookingServices['date_to']}<br>
|
|
<strong>{l s='Room' pdf='true'} - {$roomCount}</strong>
|
|
</td>
|
|
{/if}
|
|
<td>
|
|
{$service['name']}
|
|
</td>
|
|
<td class="center">
|
|
{if isset($service['product_tax_label']) && $service['product_tax_label']}{$service['product_tax_label']}{else}{l s='No tax' pdf='true'}{/if}
|
|
</td>
|
|
<td class="center">
|
|
{if $service['allow_multiple_quantity']}
|
|
{$service['quantity']}
|
|
{else}
|
|
{l s='--' pdf='true'}
|
|
{/if}
|
|
</td>
|
|
<td>
|
|
{displayPrice currency=$order->id_currency price=$service['total_price_tax_excl']}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
{assign var=roomCount value=$roomCount+1}
|
|
{/if}
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
<tr><td colspan="12" height="10"></td></tr>
|
|
{/if} |