Merge branch 'webkul:develop' into fix-side-menu-fo
This commit is contained in:
@@ -469,15 +469,6 @@ $(document).ready(function () {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-2" for="sp_from_quantity">{l s='Starting at'}</label>
|
||||
<div class="col-lg-4">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">{l s='unit'}</span>
|
||||
<input type="text" name="sp_from_quantity" id="sp_from_quantity" value="1" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-2" for="sp_price">{l s='product price'}
|
||||
{if $country_display_tax_label}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{foreach $roomDemand['extra_demands'] as $demand}
|
||||
<tr>
|
||||
<td>{$demand['name']}</td>
|
||||
<td>{displayPrice price=$demand['total_price_tax_incl'] currency=$orderCurrency}</td>
|
||||
<td>{displayPrice price=$demand['total_price_tax_excl'] currency=$orderCurrency}</td>
|
||||
<td><a class="btn btn-danger pull-right del-order-room-demand" href="#" id_booking_demand="{$demand['id_booking_demand']}"><i class="icon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
@@ -96,7 +96,7 @@
|
||||
<div class="col-sm-12 room_demand_block">
|
||||
<p>
|
||||
<span>{$demand['name']}</span>
|
||||
<span class="pull-right">{displayPrice price=$demand['total_price_tax_incl'] currency=$orderCurrency}</span>
|
||||
<span class="pull-right">{displayPrice price=$demand['total_price_tax_excl'] currency=$orderCurrency}</span>
|
||||
</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
@@ -18,113 +18,113 @@
|
||||
*}
|
||||
|
||||
{if (isset($additionalServices) && $additionalServices) || (isset($roomTypeServiceProducts) && $roomTypeServiceProducts)}
|
||||
<div id="room_type_service_product_desc" class="tab-pane{if !(isset($extraDemands) && $extraDemands) && !(isset($roomTypeDemands) && $roomTypeDemands)} active{/if}">
|
||||
{if isset($orderEdit) && $orderEdit}
|
||||
<div id="room_type_service_product_desc" class="tab-pane{if !(isset($extraDemands) && $extraDemands) && !(isset($roomTypeDemands) && $roomTypeDemands)} active{/if}">
|
||||
{if isset($orderEdit) && $orderEdit}
|
||||
|
||||
<p class="col-sm-12 facility_nav_btn">
|
||||
<button id="btn_new_room_service" class="btn btn-success"><i class="icon-plus"></i> {l s='Add new service'}</button>
|
||||
<button id="back_to_service_btn" class="btn btn-default"><i class="icon-arrow-left"></i> {l s='Back'}</button>
|
||||
</p>
|
||||
<p class="col-sm-12 facility_nav_btn">
|
||||
<button id="btn_new_room_service" class="btn btn-success"><i class="icon-plus"></i> {l s='Add new service'}</button>
|
||||
<button id="back_to_service_btn" class="btn btn-default"><i class="icon-arrow-left"></i> {l s='Back'}</button>
|
||||
</p>
|
||||
|
||||
{* Already selected room services *}
|
||||
<div class="col-sm-12 room_ordered_services table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{if isset($additionalServices) && $additionalServices}
|
||||
{foreach $additionalServices['additional_services'] as $service}
|
||||
<tr class="room_demand_block">
|
||||
<td>
|
||||
<div>{$service['name']|escape:'html':'UTF-8'}</div>
|
||||
{if $service['allow_multiple_quantity']}
|
||||
<div class="qty_container">
|
||||
<input type="number" class="form-control qty" data-id_room_type_service_product_order_detail="{$service['id_room_type_service_product_order_detail']}" data-id_product="{$service['id_product']|escape:'html':'UTF-8'}" value="{$service['quantity']|escape:'html':'UTF-8'}">
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_INDEPENDENT}
|
||||
<span class="badge badge-info label">{l s='Convenience fee'}</span>
|
||||
{* Already selected room services *}
|
||||
<div class="col-sm-12 room_ordered_services table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{if isset($additionalServices) && $additionalServices}
|
||||
{foreach $additionalServices['additional_services'] as $service}
|
||||
<tr class="room_demand_block">
|
||||
<td>
|
||||
<div>{$service['name']|escape:'html':'UTF-8'}</div>
|
||||
{if $service['allow_multiple_quantity']}
|
||||
<div class="qty_container">
|
||||
<input type="number" class="form-control qty" data-id_room_type_service_product_order_detail="{$service['id_room_type_service_product_order_detail']}" data-id_product="{$service['id_product']|escape:'html':'UTF-8'}" value="{$service['quantity']|escape:'html':'UTF-8'}">
|
||||
</div>
|
||||
{/if}
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_WITH_ROOM}
|
||||
<span class="badge badge-info label">{l s='Auto added'}</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td>{displayPrice price=$service['total_price_tax_excl']|escape:'html':'UTF-8' currency=$orderCurrency}</td>
|
||||
<td><a class="btn btn-danger pull-right del_room_additional_service" data-id_room_type_service_product_order_detail="{$service['id_room_type_service_product_order_detail']}" href="#"><i class="icon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<i class="icon-warning"></i> {l s='No services added yet.'}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<form id="add_room_services_form" class="col-sm-12 room_services_container">
|
||||
<div class="room_demand_detail">
|
||||
{if isset($roomTypeServiceProducts) && $roomTypeServiceProducts}
|
||||
{foreach $roomTypeServiceProducts as $product}
|
||||
<div class="row room_demand_block">
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
<input data-id_booking_detail="{$id_booking_detail}" value="{$product['id_product']|escape:'html':'UTF-8'}" name="selected_service[]" type="checkbox" class="id_room_type_service"/>
|
||||
</div>
|
||||
<div class="col-xs-10">
|
||||
<p>{$product['name']|escape:'html':'UTF-8'}</p>
|
||||
{if $product.allow_multiple_quantity}
|
||||
<div class="qty_container">
|
||||
<input type="number" class="form-control qty" id="qty_{$product['id_product']|escape:'html':'UTF-8'}" name="service_qty[{$product['id_product']|escape:'html':'UTF-8'}]" data-id-product="{$product.id_product|escape:'html':'UTF-8'}" value="1">
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<p>
|
||||
<span class="pull-right">{convertPrice price=$product.price_tax_incl}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
{else}
|
||||
<i class="icon-warning"></i> {l s='No services available to select, All services already added.'}
|
||||
{/if}
|
||||
</div>
|
||||
<input type="hidden" name="id_booking_detail" value="{$id_booking_detail}">
|
||||
<button type="submit" id="save_service_service" class="btn btn-success pull-right"><i class="icon-save"></i> {l s='Save'}</button>
|
||||
</form>
|
||||
|
||||
{elseif isset($additionalServices) && $additionalServices}
|
||||
<div class="row room_demand_detail">
|
||||
{foreach $additionalServices['additional_services'] as $service}
|
||||
<div class="col-sm-12 room_demand_block">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<span class="pull-right">
|
||||
<td>
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_INDEPENDENT}
|
||||
<span class="badge badge-info label">{l s='Convenience fee'}</span>
|
||||
{/if}
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_WITH_ROOM}
|
||||
<span class="badge badge-info label">{l s='Auto added'}</span>
|
||||
{/if}
|
||||
</span>
|
||||
<div>{$service['name']|escape:'html':'UTF-8'}</div>
|
||||
{if $service['allow_multiple_quantity']}
|
||||
<div class="quantity">{l s='Qty:'} {$service['quantity']|escape:'html':'UTF-8'}</div>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
<td>{displayPrice price=$service['total_price_tax_excl']|escape:'html':'UTF-8' currency=$orderCurrency}</td>
|
||||
<td><a class="btn btn-danger pull-right del_room_additional_service" data-id_room_type_service_product_order_detail="{$service['id_room_type_service_product_order_detail']}" href="#"><i class="icon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<i class="icon-warning"></i> {l s='No services added yet.'}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<form id="add_room_services_form" class="col-sm-12 room_services_container">
|
||||
<div class="room_demand_detail">
|
||||
{if isset($roomTypeServiceProducts) && $roomTypeServiceProducts}
|
||||
{foreach $roomTypeServiceProducts as $product}
|
||||
<div class="row room_demand_block">
|
||||
<div class="col-xs-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
<input data-id_booking_detail="{$id_booking_detail}" value="{$product['id_product']|escape:'html':'UTF-8'}" name="selected_service[]" type="checkbox" class="id_room_type_service"/>
|
||||
</div>
|
||||
<div class="col-xs-10">
|
||||
<p>{$product['name']|escape:'html':'UTF-8'}</p>
|
||||
{if $product.allow_multiple_quantity}
|
||||
<div class="qty_container">
|
||||
<input type="number" class="form-control qty" id="qty_{$product['id_product']|escape:'html':'UTF-8'}" name="service_qty[{$product['id_product']|escape:'html':'UTF-8'}]" data-id-product="{$product.id_product|escape:'html':'UTF-8'}" value="1">
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<span class="pull-right">{displayPrice price=$service['total_price_tax_excl'] currency=$orderCurrency}</span>
|
||||
<div class="col-xs-6">
|
||||
<p>
|
||||
<span class="pull-right">{convertPrice price=$product.price_tax_incl}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{else}
|
||||
<i class="icon-warning"></i> {l s='No services available to select, All services already added.'}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<input type="hidden" name="id_booking_detail" value="{$id_booking_detail}">
|
||||
<button type="submit" id="save_service_service" class="btn btn-success pull-right"><i class="icon-save"></i> {l s='Save'}</button>
|
||||
</form>
|
||||
|
||||
{elseif isset($additionalServices) && $additionalServices}
|
||||
<div class="row room_demand_detail">
|
||||
{foreach $additionalServices['additional_services'] as $service}
|
||||
<div class="col-sm-12 room_demand_block">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<span class="pull-right">
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_INDEPENDENT}
|
||||
<span class="badge badge-info label">{l s='Convenience fee'}</span>
|
||||
{/if}
|
||||
{if $service['product_auto_add'] && $service['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_WITH_ROOM}
|
||||
<span class="badge badge-info label">{l s='Auto added'}</span>
|
||||
{/if}
|
||||
</span>
|
||||
<div>{$service['name']|escape:'html':'UTF-8'}</div>
|
||||
{if $service['allow_multiple_quantity']}
|
||||
<div class="quantity">{l s='Qty:'} {$service['quantity']|escape:'html':'UTF-8'}</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<span class="pull-right">{displayPrice price=$service['total_price_tax_excl'] currency=$orderCurrency}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -568,10 +568,6 @@ class CartCore extends ObjectModel
|
||||
$sql->where('cp.`id_product` = '.(int)$id_product);
|
||||
}
|
||||
$sql->where('p.`id_product` IS NOT NULL');
|
||||
// hide invisible products
|
||||
// if ($front) {
|
||||
// $sql->where('p.`is_invisible` = 0');
|
||||
// }
|
||||
|
||||
// Build ORDER BY
|
||||
$sql->orderBy('cp.`date_add`, cp.`id_product`, cp.`id_product_attribute` ASC');
|
||||
|
||||
@@ -243,7 +243,6 @@ class ProductCore extends ObjectModel
|
||||
public $cache_has_attachments;
|
||||
public $is_virtual;
|
||||
public $booking_product;
|
||||
public $is_invisible;
|
||||
public $id_pack_product_attribute;
|
||||
public $cache_default_attribute;
|
||||
|
||||
@@ -300,7 +299,6 @@ class ProductCore extends ObjectModel
|
||||
'cache_has_attachments' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'is_virtual' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'booking_product' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'is_invisible' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'service_product_type' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'),
|
||||
|
||||
/* Shop fields */
|
||||
@@ -996,7 +994,7 @@ class ProductCore extends ObjectModel
|
||||
public function deleteServiceInfo()
|
||||
{
|
||||
if (!RoomTypeServiceProduct::deleteRoomProductLink($this->id)
|
||||
||RoomTypeServiceProductPrice::deleteRoomProductPrices($this->id)
|
||||
|| !RoomTypeServiceProductPrice::deleteRoomProductPrices($this->id)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
@@ -1343,7 +1341,6 @@ class ProductCore extends ObjectModel
|
||||
.($sub_category? ' AND product_shop.`id_category_default` = '.(int)$sub_category : '')
|
||||
.($front ? ' AND product_shop.`show_at_front` = 1':'')
|
||||
.(!is_null($auto_add_to_cart) ? ' AND product_shop.`auto_add_to_cart` = '.$auto_add_to_cart:'')
|
||||
.($front ? ' AND p.`is_invisible` = 0':'')
|
||||
.($available_for_order != 2 ? ' AND p.`available_for_order` = '.(int)$available_for_order:'')
|
||||
.($active ? ' AND product_shop.`active` = 1' : '');
|
||||
return (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($sql);
|
||||
@@ -1388,7 +1385,6 @@ class ProductCore extends ObjectModel
|
||||
.($sub_category? ' AND product_shop.`id_category_default` = '.(int)$sub_category : '')
|
||||
.($front ? ' AND product_shop.`show_at_front` = 1':'')
|
||||
.(!is_null($auto_add_to_cart) ? ' AND product_shop.`auto_add_to_cart` = '.$auto_add_to_cart:'')
|
||||
.($front ? ' AND p.`is_invisible` = 0':'')
|
||||
.($available_for_order != 2 ? ' AND p.`available_for_order` = '.(int)$available_for_order:'')
|
||||
.($active ? ' AND product_shop.`active` = 1' : '');
|
||||
|
||||
@@ -1433,7 +1429,6 @@ class ProductCore extends ObjectModel
|
||||
AND p.`service_product_type` = '.(int)self::SERVICE_PRODUCT_WITH_ROOMTYPE. '
|
||||
AND product_shop.`id_shop` = '.(int)$context->shop->id
|
||||
.($front ? ' AND product_shop.`auto_add_to_cart` = 0 AND product_shop.`show_at_front` = 1':'')
|
||||
.($front ? ' AND p.`is_invisible` = 0':'')
|
||||
.($active ? ' AND product_shop.`active` = 1' : '');
|
||||
|
||||
|
||||
|
||||
@@ -145,8 +145,7 @@ class SpecificPriceCore extends ObjectModel
|
||||
FROM `'._DB_PREFIX_.'specific_price`
|
||||
WHERE 1 '.self::filterOutField('id_product', $id_product).
|
||||
($id_product_attribute ? ' AND id_product_attribute = '.(int) $id_product_attribute : '').'
|
||||
AND id_cart = '.(int) $id_cart.'
|
||||
GROUP BY `id_specific_price_rule`'
|
||||
AND id_cart = '.(int) $id_cart
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -93,9 +93,9 @@ abstract class ControllerCore
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
// if (_PS_MODE_DEV_ && $this->controller_type == 'admin') {
|
||||
// set_error_handler(array(__CLASS__, 'myErrorHandler'));
|
||||
// }
|
||||
if (_PS_MODE_DEV_ && $this->controller_type == 'admin') {
|
||||
set_error_handler(array(__CLASS__, 'myErrorHandler'));
|
||||
}
|
||||
|
||||
if (!defined('_PS_BASE_URL_')) {
|
||||
define('_PS_BASE_URL_', Tools::getShopDomain(true));
|
||||
|
||||
@@ -135,6 +135,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
$smartyVars['type'] = 'non_orderd';
|
||||
}
|
||||
}
|
||||
$smartyVars['link'] = $this->context->link;
|
||||
|
||||
$tpl = $this->createTemplate('_orders.tpl');
|
||||
$tpl->assign($smartyVars);
|
||||
|
||||
@@ -90,7 +90,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
|
||||
$this->imageType = 'jpg';
|
||||
$this->_defaultOrderBy = 'position';
|
||||
$this->_defaultOrderBy = 'id_product';
|
||||
$this->max_file_size = (int)(Configuration::get('PS_LIMIT_UPLOAD_FILE_VALUE') * 1000000);
|
||||
$this->max_image_size = (int)Configuration::get('PS_PRODUCT_PICTURE_MAX_SIZE');
|
||||
$this->allow_export = true;
|
||||
@@ -99,7 +99,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$this->available_tabs_lang = array(
|
||||
'Informations' => $this->l('Information'),
|
||||
'Prices' => $this->l('Prices'),
|
||||
'Seo' => $this->l('SEO'),
|
||||
// 'Seo' => $this->l('SEO'),
|
||||
'Images' => $this->l('Images'),
|
||||
'Associations' => $this->l('Associations'),
|
||||
);
|
||||
@@ -108,7 +108,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$this->available_tabs = array_merge($this->available_tabs, array(
|
||||
'Informations' => 0,
|
||||
'Prices' => 1,
|
||||
'Seo' => 2,
|
||||
// 'Seo' => 2,
|
||||
'Associations' => 3,
|
||||
'Images' => 4,
|
||||
));
|
||||
@@ -948,7 +948,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$id_groups = Tools::getValue('spm_id_group');
|
||||
$id_customers = Tools::getValue('spm_id_customer');
|
||||
$prices = Tools::getValue('spm_price');
|
||||
$from_quantities = Tools::getValue('spm_from_quantity');
|
||||
$from_quantities = 1;
|
||||
$reductions = Tools::getValue('spm_reduction');
|
||||
$reduction_types = Tools::getValue('spm_reduction_type');
|
||||
$froms = Tools::getValue('spm_from');
|
||||
@@ -1939,7 +1939,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
if ($this->isTabSubmitted('Prices')) {
|
||||
// $this->processAdvancedPayment();
|
||||
$this->processPriceAddition();
|
||||
// $this->processSpecificPricePriorities();
|
||||
$this->processSpecificPricePriorities();
|
||||
}
|
||||
if ($this->isTabSubmitted('Images')) {
|
||||
$this->processImageLegends();
|
||||
@@ -2016,6 +2016,20 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$default_language = new Language((int)Configuration::get('PS_LANG_DEFAULT'));
|
||||
$languages = Language::getLanguages(false);
|
||||
|
||||
|
||||
// we have removed seo tab as it is currently not required, but in product object requires link_rewrite
|
||||
// so adding link_rewrite in $_POST
|
||||
if (Configuration::get('PS_FORCE_FRIENDLY_PRODUCT') || !Validate::isLoadedObject($this->object)) {
|
||||
foreach ($languages as $lang) {
|
||||
$_POST['link_rewrite_'.$lang['id_lang']] = Tools::link_rewrite(Tools::getValue('name_'.$lang['id_lang']));
|
||||
}
|
||||
} else {
|
||||
foreach ($languages as $lang) {
|
||||
$_POST['link_rewrite_'.$lang['id_lang']] = $this->object->link_rewrite[$lang['id_lang']];
|
||||
}
|
||||
}
|
||||
// end
|
||||
|
||||
// Check required fields
|
||||
foreach ($rules['required'] as $field) {
|
||||
if (!$this->isProductFieldUpdated($field)) {
|
||||
@@ -2855,13 +2869,12 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories');
|
||||
$tree->setTemplate('tree_associated_categories.tpl')
|
||||
->setHeaderTemplate('tree_associated_header.tpl')
|
||||
->setRootCategory((int)Configuration::get('PS_PRODUCTS_CATEGORY'))
|
||||
->setRootCategory((int)Configuration::get('PS_SERVICE_CATEGORY'))
|
||||
->setUseCheckBox(true)
|
||||
->setUseSearch(false)
|
||||
->setFullTree(0)
|
||||
->setSelectedCategories($categories)
|
||||
->setUseBulkActions(false);
|
||||
// ->setDisablAllCategories(true);
|
||||
|
||||
$data->assign(array('default_category' => $default_category,
|
||||
'selected_cat_ids' => implode(',', array_keys($selected_cat)),
|
||||
|
||||
@@ -2081,7 +2081,6 @@ class AdminProductsControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
|
||||
// shreesh check if product is virtual, then set categories according to hotel
|
||||
// if (Tools::getValue('is_virtual')) {
|
||||
$id_hotel = Tools::getValue('id_hotel');
|
||||
if (!$id_hotel || !Validate::isUnsignedInt($id_hotel)) {
|
||||
|
||||
@@ -455,7 +455,6 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
|
||||
$this->context->smarty->assign('checkout_process_steps', $this->checkoutProcess->getSteps());
|
||||
|
||||
// @todo shreesh get this checked with sumit sir
|
||||
// set room type demands
|
||||
// $objGlobalDemand = new HotelRoomTypeGlobalDemand();
|
||||
// $allDemands = $objGlobalDemand->getAllDemands();
|
||||
|
||||
@@ -1555,7 +1555,6 @@ CREATE TABLE `PREFIX_product` (
|
||||
`cache_has_attachments` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`is_virtual` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`booking_product` tinyint(1) NOT NULL DEFAULT '1',
|
||||
`is_invisible` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`cache_default_attribute` int(10) unsigned DEFAULT NULL,
|
||||
`date_add` datetime NOT NULL,
|
||||
`date_upd` datetime NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user