{** * NOTICE OF LICENSE * * This source file is subject to the Open Software License version 3.0 * that is bundled with this package in the file LICENSE.md * It is also available through the world-wide-web at this URL: * https://opensource.org/license/osl-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 support@qloapps.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this module to a newer * versions in the future. If you wish to customize this module for your needs * please refer to https://store.webkul.com/customisation-guidelines for more information. * * @author Webkul IN * @copyright Since 2010 Webkul * @license https://opensource.org/license/osl-3-0-php Open Software License version 3.0 *} {if isset($orderOverBookings) && $orderOverBookings}
{l s='Overbookings found in this order !!'}
{foreach from=$orderOverBookings item=data} {assign var="is_full_date" value=($show_full_date && ($data['date_from']|date_format:'%D' == $data['date_to']|date_format:'%D'))} {/foreach}
{l s='Room No.'} {l s='Room type.'} {l s='Duration'} {l s='Occupancy'} {l s='Confirmed booking order'} {l s='Reallocate/Swap'} {l s='Resolve'}
{$data['room_num']} {$data['room_type_name']}{dateFormat date=$data['date_from'] full=$is_full_date} {l s='To'} {dateFormat date=$data['date_to'] full=$is_full_date} {if $order->with_occupancy && $data['children']} {else} {if $data['adults']}{$data['adults']}{/if} {if $data['adults'] > 1}{l s='Adults'}{else}{l s='Adult'}{/if}{if {$data['children']}}, {$data['children']} {if $data['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}{/if} {/if} {if isset($data['booked_room_info']['id_order']) && $data['booked_room_info']['id_order']} #{$data['booked_room_info']['id_order']} {else} {l s='N/A'} {/if} {l s='Reallocate/Swap Room'} {if isset($data['booked_room_info']) && $data['booked_room_info']} {l s='Already booked'} {else} {l s='Resolve'} {/if}

- {l s='You can resolve room overbooking with \'Resolve\' column only when the overbooked room is now free for booked duration.'}

- {l s='You can also reallocate an overbooked room with an available room to resolve room\'s overbooking.'}

{/if}