[+] Project : Theme has been improved.
[*] FO : After selecting checkIn and checkout dates these dates are highlighted in the datepicker. [*] FO : contact Number and email were hard coded on contact page now will dinamically come from entered values from Admin General Configuration. [*] FO : Font-family in order summary page in synced with the theme fonts now. [*] BO : Bacorder setting option is removed from Settings->General Settings. [*] MO : wkpaypaladaptive : Remove PHP CURL check from installation and display warning in "AdminPaymentsSetting" controller [-] MO : hotelreservationsystem : Fixed Google map issue on contact page. [-] BO : Fixed showing wrong way of payment on refund request page. [-] BO : Fixed showing wrong cancellation charges on refund request page. [-] MO : wkabouthotel : Fixed interior heading and description does not change on changing from Setting->Hotel interior Block Setting. [-] MO : hotelreservationsystem : refund rule bug for type percentage is resolved.
@@ -1,3 +1,27 @@
|
||||
####################################
|
||||
# V1.0.1
|
||||
####################################
|
||||
|
||||
## Improved/changed features:
|
||||
|
||||
[+] Project : Theme has been improved.
|
||||
|
||||
[*] FO : After selecting checkIn and checkout dates these dates are highlighted in the datepicker.
|
||||
[*] FO : contact Number and email were hard coded on contact page now will dinamically come from entered values from Admin General Configuration.
|
||||
[*] FO : Font-family in order summary page in synced with the theme fonts now.
|
||||
|
||||
[*] BO : Bacorder setting option is removed from Settings->General Settings.
|
||||
[*] MO : wkpaypaladaptive : Remove PHP CURL check from installation and display warning in "AdminPaymentsSetting" controller
|
||||
|
||||
## Fixed bugs:
|
||||
|
||||
[-] MO : hotelreservationsystem : Fixed Google map issue on contact page.
|
||||
[-] BO : Fixed showing wrong way of payment on refund request page.
|
||||
[-] BO : Fixed showing wrong cancellation charges on refund request page.
|
||||
[-] MO : wkabouthotel : Fixed interior heading and description does not change on changing from Setting->Hotel interior Block Setting.
|
||||
[-] MO : hotelreservationsystem : refund rule bug for type percentage is resolved.
|
||||
|
||||
|
||||
# Change Log previous version to V1.0.0:
|
||||
|
||||
## Added Features:
|
||||
|
||||
14
README.md
@@ -2,6 +2,7 @@ QloApps
|
||||
--------
|
||||
Hotel Commerce plays a vital role in hotel industry as it has changed the online presence of the hotels.QloApps also known as Qlo is a Hotel Commerce Software or you can say a Hotel Booking & Reservation System. Qlo is an open source and free platform which help you to launch your own hotel booking website and manage your online & On-Desk booking easily
|
||||
|
||||
|
||||
Demo
|
||||
--------
|
||||
FrontEnd : http://demo.qloapps.com </br>
|
||||
@@ -10,11 +11,8 @@ username : demo@demo.com </br>
|
||||
Password : demodemo </br>
|
||||
|
||||
|
||||
|
||||
|
||||
Server configuration
|
||||
--------
|
||||
|
||||
To install Qlo, you need a web server running PHP 5.2+ and any flavor of MySQL 5.0+ (MySQL, MariaDB, Percona Server, etc)
|
||||
You will also need a database administration tool, such as phpMyAdmin, in order to create a database for PrestaShop.
|
||||
We recommend the Apache or Nginx web servers.
|
||||
@@ -44,6 +42,14 @@ Webkul is known for his proactive support and already developed more than 100+ p
|
||||
platforms.
|
||||
|
||||
|
||||
Thank you for downloading .
|
||||
license
|
||||
--------
|
||||
OSL V3 : https://opensource.org/licenses/OSL-3.0
|
||||
|
||||
|
||||
Credits
|
||||
--------
|
||||
Crafted with :heart: at [Webkul](http://webkul.com)
|
||||
|
||||
|
||||
Thank you for downloading.
|
||||
@@ -254,8 +254,11 @@ class ContactControllerCore extends FrontController
|
||||
$customer_thread['reference'] = $order->getUniqReference();
|
||||
$this->context->smarty->assign('customerThread', $customer_thread);
|
||||
}
|
||||
|
||||
$global_phone_num = Configuration::get('WK_HOTEL_GLOBAL_CONTACT_NUMBER');
|
||||
$global_email = Configuration::get('WK_HOTEL_GLOBAL_CONTACT_EMAIL');
|
||||
$this->context->smarty->assign(array(
|
||||
'global_phone_num' => $global_phone_num,
|
||||
'global_email' => $global_email,
|
||||
'contacts' => Contact::getContacts($this->context->language->id),
|
||||
'message' => html_entity_decode(Tools::getValue('message'))
|
||||
));
|
||||
|
||||
BIN
img/hotel_header_image.jpg
Normal file
|
After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
@@ -894,7 +894,6 @@ function init()
|
||||
{
|
||||
showOtherMonths: true,
|
||||
dateFormat: 'dd-mm-yy',
|
||||
minDate: 0,
|
||||
onClose: function( selectedDate )
|
||||
{
|
||||
var selectedDate = new Date(selectedDate);
|
||||
@@ -907,7 +906,6 @@ function init()
|
||||
{
|
||||
showOtherMonths: true,
|
||||
dateFormat: 'dd-mm-yy',
|
||||
minDate: 0,
|
||||
onClose: function( selectedDate )
|
||||
{
|
||||
var selectedDate = new Date(selectedDate);
|
||||
|
||||
@@ -493,17 +493,20 @@
|
||||
*/
|
||||
public function getNumberOfDays($dateFrom, $dateTo)
|
||||
{
|
||||
$startTimeStamp = strtotime($dateFrom);
|
||||
$startDate = new DateTime($dateFrom);
|
||||
$endDate = new DateTime($dateTo);
|
||||
$daysDifference = $startDate->diff($endDate)->days;
|
||||
/* $startTimeStamp = strtotime($dateFrom);
|
||||
$endTimeStamp = strtotime($dateTo);
|
||||
|
||||
$timeDiff = abs($endTimeStamp - $startTimeStamp);
|
||||
$timeDiff = abs($endTimeStamp - $startTimeStamp);*/
|
||||
|
||||
$numberDays = $timeDiff / 86400; // 86400 seconds in one day
|
||||
/*$numberDays = $timeDiff / 86400; // 86400 seconds in one day
|
||||
|
||||
// and you might want to convert to integer
|
||||
$numberDays = intval($numberDays);
|
||||
$numberDays = $numberDays;*/
|
||||
|
||||
return $numberDays;
|
||||
return $daysDifference;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -237,9 +237,6 @@
|
||||
if ($active) {
|
||||
$sql .= " AND hbi.`active` = ".(int)$active;
|
||||
}
|
||||
return $hotel_map_array;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
$result = Db::getInstance()->executeS($sql);
|
||||
|
||||
@@ -40,4 +40,16 @@ class HotelCustomerAdvancedProductPayment extends ObjectModel
|
||||
'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* [getProductAdvancePaymentDetails :: To get Advance payment Information By id_product]
|
||||
* @param [int] $id_product [id of the order which Advance payment Information you want]
|
||||
* @param [int] $id_product [id of the product which Advance payment Information you want]
|
||||
* @return [array|false] [Returns array if information of advance payment of that id_product and id_order found otherwise returs false]
|
||||
*/
|
||||
public function getProductAdvancePaymentDetails($id_order, $id_product)
|
||||
{
|
||||
return Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'htl_customer_adv_product_payment` WHERE `id_order`='.(int)$id_order.' AND `id_product`='.(int)$id_product);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -10,9 +10,9 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
|
||||
if (!($obj = $this->loadObject(true))) {
|
||||
return;
|
||||
}
|
||||
$ps_img_url = _PS_IMG_DIR_.'hotel_header_image.png';
|
||||
$ps_img_url = _PS_IMG_DIR_.'hotel_header_image.jpg';
|
||||
if ($img_exist = file_exists($ps_img_url)) {
|
||||
$img_url = '../../hotelcommerce/img/hotel_header_image.png';
|
||||
$img_url = '../../hotelcommerce/img/hotel_header_image.jpg';
|
||||
$image = "<img class='img-thumbnail img-responsive' style='max-width:100px' src='".$img_url."'>";
|
||||
}
|
||||
$this->fields_options = array(
|
||||
@@ -134,7 +134,7 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
|
||||
),
|
||||
'submit' => array('title' => $this->l('Save')),
|
||||
),
|
||||
'orderconfirmation' => array(
|
||||
/*'orderconfirmation' => array(
|
||||
'title' => $this->l('Advanced Payment Global Setting'),
|
||||
'fields' => array(
|
||||
'WK_SHOW_MSG_ON_BO' => array(
|
||||
@@ -163,7 +163,7 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
|
||||
),
|
||||
),
|
||||
'submit' => array('title' => $this->l('Save')),
|
||||
),
|
||||
),*/
|
||||
'googleMap' => array(
|
||||
'title' => $this->l('Google Map Setting'),
|
||||
'fields' => array(
|
||||
@@ -223,10 +223,10 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
|
||||
if ($_FILES['htl_header_image']['name']) {
|
||||
$this->validateHotelHeaderImage($_FILES['htl_header_image']);
|
||||
if (!count($this->errors)) {
|
||||
$img_path = _PS_IMG_DIR_.'hotel_header_image.png';
|
||||
$img_path = _PS_IMG_DIR_.'hotel_header_image.jpg';
|
||||
|
||||
if (ImageManager::resize($_FILES['htl_header_image']['tmp_name'], $img_path)) {
|
||||
Configuration::updateValue('WK_HOTEL_HEADER_IMAGE', 'hotel_header_image.png');
|
||||
Configuration::updateValue('WK_HOTEL_HEADER_IMAGE', 'hotel_header_image.jpg');
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Some error occured while uoploading image.Please try again.');
|
||||
}
|
||||
|
||||
@@ -219,16 +219,15 @@ class AdminOrderRefundRequestsController extends ModuleAdminController
|
||||
/* In case of advance payment */
|
||||
/*$obj_htl_cust_adv_pay = new HotelCustomerAdvancedPayment();
|
||||
$htl_cust_adv_pay_info = $obj_htl_cust_adv_pay->getCstAdvPaymentDtlByIdOrder($id_order);*/
|
||||
$obj_htl_adv_pay = new HotelAdvancedPayment();
|
||||
$prod_adv_payment = $obj_htl_adv_pay->getIdAdvPaymentByIdProduct($obj_refund->id_product);
|
||||
if (!$prod_adv_payment || (isset($prod_adv_payment['payment_type']) && $prod_adv_payment['payment_type'])) {
|
||||
$obj_customer_adv_product = new HotelCustomerAdvancedProductPayment();
|
||||
$prod_adv_payment = $obj_customer_adv_product->getProductAdvancePaymentDetails($obj_refund->id_order, $obj_refund->id_product);
|
||||
if ($prod_adv_payment) {
|
||||
$obj_booking_detail = new HotelBookingDetail();
|
||||
$obj_htl_adv_pay = new HotelAdvancedPayment();
|
||||
|
||||
$book_days = $obj_booking_detail->getNumberOfDays($date_from, $date_to);
|
||||
$qty_prod = ($obj_refund->num_rooms) * $book_days;
|
||||
|
||||
$adv_paid_amount = $obj_htl_adv_pay->getProductMinAdvPaymentAmount($id_product, $qty_prod);
|
||||
$adv_paid_amount = $qty_prod * $prod_adv_payment['advance_payment_amount'];
|
||||
$way_of_payment = 'Advance Payment';
|
||||
|
||||
$adv_paid_amount = Tools::convertPrice($adv_paid_amount, new Currency($id_currency));
|
||||
@@ -365,9 +364,9 @@ class AdminOrderRefundRequestsController extends ModuleAdminController
|
||||
|
||||
// $obj_htl_cust_adv_pay = new HotelCustomerAdvancedPayment();
|
||||
// $htl_cust_adv_pay_info = $obj_htl_cust_adv_pay->getCstAdvPaymentDtlByIdOrder($obj_refund->id_order);
|
||||
|
||||
$prod_adv_payment = $obj_htl_adv_pay->getIdAdvPaymentByIdProduct($obj_refund->id_product);
|
||||
if (!$prod_adv_payment || (isset($prod_adv_payment['payment_type']) && $prod_adv_payment['payment_type'])) {
|
||||
$obj_customer_adv_product = new HotelCustomerAdvancedProductPayment();
|
||||
$prod_adv_payment = $obj_customer_adv_product->getProductAdvancePaymentDetails($obj_refund->id_order, $obj_refund->id_product);
|
||||
if ($prod_adv_payment) {
|
||||
$way_of_payment = 'advancePayment';
|
||||
}
|
||||
|
||||
@@ -388,17 +387,23 @@ class AdminOrderRefundRequestsController extends ModuleAdminController
|
||||
if ($way_of_payment == 'advancePayment') {
|
||||
$book_days = $obj_booking_detail->getNumberOfDays($obj_refund->date_from, $obj_refund->date_to);
|
||||
$qty_prod = ($obj_refund->num_rooms) * $book_days;
|
||||
$adv_paid_amount = $obj_htl_adv_pay->getProductMinAdvPaymentAmount($obj_refund->id_product, $qty_prod);
|
||||
$adv_paid_amount = $qty_prod * $prod_adv_payment['advance_payment_amount'];
|
||||
$adv_paid_amount = Tools::convertPrice($adv_paid_amount, new Currency($id_currency));
|
||||
$deduct_amount_val = $v_rules['deduction_value_adv_pay'];
|
||||
} else {
|
||||
$deduct_amount_val = $v_rules['deduction_value_full_pay'];
|
||||
}
|
||||
|
||||
if ($v_rules['payment_type'] == 1) {
|
||||
if ($default_currency != $order_tran_curr) {
|
||||
$deduction_amount = Tools::convertPriceFull($deduct_amount_val, new Currency($default_currency), new Currency($order_tran_curr));
|
||||
if ($way_of_payment == 'advancePayment') {
|
||||
$deduction_amount = $adv_paid_amount*($deduct_amount_val/100);
|
||||
} else {
|
||||
$deduction_amount = $deduct_amount_val;
|
||||
$deduction_amount = $obj_refund->order_amount*($deduct_amount_val/100);
|
||||
}
|
||||
|
||||
|
||||
if ($default_currency != $order_tran_curr) {
|
||||
$deduction_amount = Tools::convertPriceFull($deduction_amount, new Currency($default_currency), new Currency($order_tran_curr));
|
||||
}
|
||||
} else {
|
||||
$order_tran_curr = $obj_refund->id_currency;
|
||||
|
||||
@@ -12,7 +12,7 @@ class hotelreservationsystem extends Module
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'hotelreservationsystem';
|
||||
$this->version = '1.0.0';
|
||||
$this->version = '1.0.1';
|
||||
$this->author = 'Webkul';
|
||||
$this->need_instance = 0;
|
||||
$this->bootstrap = true;
|
||||
@@ -175,30 +175,33 @@ class hotelreservationsystem extends Module
|
||||
|
||||
/*for saving details of the advance payment product wise*/
|
||||
if (Configuration::get('WK_ALLOW_ADVANCED_PAYMENT')) {
|
||||
$prod_adv_payment = $obj_adv_payment->getIdAdvPaymentByIdProduct($product['id_product']);
|
||||
$obj_customer_adv = new HotelCustomerAdvancedPayment();
|
||||
$cust_adv_payment_dtls = $obj_customer_adv->getClientAdvPaymentDtl($cart->id, $cart->id_guest);
|
||||
if ($cust_adv_payment_dtls) {
|
||||
$prod_adv_payment = $obj_adv_payment->getIdAdvPaymentByIdProduct($product['id_product']);
|
||||
|
||||
if (!$prod_adv_payment || (isset($prod_adv_payment['payment_type']) && $prod_adv_payment['payment_type']))
|
||||
{
|
||||
$product_adv_amount = $obj_adv_payment->getProductMinAdvPaymentAmount($product['id_product'], 1);
|
||||
$obj_customer_adv_product = new HotelCustomerAdvancedProductPayment();
|
||||
$obj_customer_adv_product->id_cart = $cart->id;
|
||||
$obj_customer_adv_product->id_room = $obj_cart_bk_data->id_room;
|
||||
$obj_customer_adv_product->id_hotel = $obj_cart_bk_data->id_hotel;
|
||||
$obj_customer_adv_product->id_product = $product['id_product'];
|
||||
$obj_customer_adv_product->id_order = $order->id;
|
||||
$obj_customer_adv_product->id_guest = $cart->id_guest;
|
||||
$obj_customer_adv_product->id_customer = $customer->id;
|
||||
$obj_customer_adv_product->id_currency = $cart->id_currency;
|
||||
$obj_customer_adv_product->product_price_tax_incl = Product::getPriceStatic($product['id_product'], true);
|
||||
$obj_customer_adv_product->product_price_tax_excl = Product::getPriceStatic($product['id_product'], false);
|
||||
$obj_customer_adv_product->advance_payment_amount = $product_adv_amount;
|
||||
$obj_customer_adv_product->date_from = $obj_cart_bk_data->date_from;
|
||||
$obj_customer_adv_product->date_to = $obj_cart_bk_data->date_to;
|
||||
$obj_customer_adv_product->save();
|
||||
if (!$prod_adv_payment || (isset($prod_adv_payment['payment_type']) && $prod_adv_payment['payment_type']))
|
||||
{
|
||||
$product_adv_amount = $obj_adv_payment->getProductMinAdvPaymentAmount($product['id_product'], 1);
|
||||
$obj_customer_adv_product = new HotelCustomerAdvancedProductPayment();
|
||||
$obj_customer_adv_product->id_cart = $cart->id;
|
||||
$obj_customer_adv_product->id_room = $obj_cart_bk_data->id_room;
|
||||
$obj_customer_adv_product->id_hotel = $obj_cart_bk_data->id_hotel;
|
||||
$obj_customer_adv_product->id_product = $product['id_product'];
|
||||
$obj_customer_adv_product->id_order = $order->id;
|
||||
$obj_customer_adv_product->id_guest = $cart->id_guest;
|
||||
$obj_customer_adv_product->id_customer = $customer->id;
|
||||
$obj_customer_adv_product->id_currency = $cart->id_currency;
|
||||
$obj_customer_adv_product->product_price_tax_incl = Product::getPriceStatic($product['id_product'], true);
|
||||
$obj_customer_adv_product->product_price_tax_excl = Product::getPriceStatic($product['id_product'], false);
|
||||
$obj_customer_adv_product->advance_payment_amount = $product_adv_amount;
|
||||
$obj_customer_adv_product->date_from = $obj_cart_bk_data->date_from;
|
||||
$obj_customer_adv_product->date_to = $obj_cart_bk_data->date_to;
|
||||
$obj_customer_adv_product->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
/*End*/
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,3 +63,8 @@ background: none !important;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
}*/
|
||||
|
||||
|
||||
.selectedCheckedDate {
|
||||
border:1px solid #007ab7!important;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 299 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 100 KiB |
10
modules/hotelreservationsystem/views/img/hotel_img/index.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../');
|
||||
exit;
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 360 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 50 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/1/1.jpg
Normal file
|
After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 236 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/1/2.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 297 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/1/3.jpg
Normal file
|
After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 258 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/1/4.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 280 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/2/1.jpg
Normal file
|
After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 243 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/2/2.jpg
Normal file
|
After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 312 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/2/3.jpg
Normal file
|
After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 304 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/2/4.jpg
Normal file
|
After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 275 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/3/1.jpg
Normal file
|
After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 247 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/3/2.jpg
Normal file
|
After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 188 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/3/3.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 294 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/3/4.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 210 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/4/1.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 279 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/4/2.jpg
Normal file
|
After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 285 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/4/3.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 369 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/4/4.jpg
Normal file
|
After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 273 KiB |
BIN
modules/hotelreservationsystem/views/img/prod_imgs/4/5.jpg
Normal file
|
After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 268 KiB |
@@ -29,6 +29,31 @@ $(document).ready(function() {
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
function highlightDateBorder(elementVal, date)
|
||||
{
|
||||
if (elementVal) {
|
||||
var currentDate = date.getDate();
|
||||
var currentMonth = date.getMonth()+1;
|
||||
if (currentMonth < 10) {
|
||||
currentMonth = '0' + currentMonth;
|
||||
}
|
||||
if (currentDate < 10) {
|
||||
currentDate = '0' + currentDate;
|
||||
}
|
||||
dmy = date.getFullYear() + "-" + currentMonth + "-" + currentDate;
|
||||
var date_format = elementVal.split("-");
|
||||
var check_in_time = (date_format[2]) + '-' + (date_format[1]) + '-' + (date_format[0]);
|
||||
if (dmy == check_in_time) {
|
||||
return [true, "selectedCheckedDate", "Check-In date"];
|
||||
} else {
|
||||
return [true, ""];
|
||||
}
|
||||
} else {
|
||||
return [true, ""];
|
||||
}
|
||||
}
|
||||
|
||||
/*END*/
|
||||
var ajax_check_var = '';
|
||||
$('.location_search_results_ul').hide();
|
||||
@@ -38,14 +63,8 @@ $(document).ready(function() {
|
||||
dateFormat: 'dd-mm-yy',
|
||||
minDate: 0,
|
||||
//for calender Css
|
||||
beforeShow: function (textbox, instance) {
|
||||
// var rect = textbox.getBoundingClientRect();
|
||||
// instance.dpDiv.css({
|
||||
// marginTop: (-(textbox.offsetHeight-28)) + 'px',
|
||||
// });
|
||||
// setTimeout(function () {
|
||||
// instance.dpDiv.css({left: rect.left-73});
|
||||
// }, 0);
|
||||
beforeShowDay: function (date) {
|
||||
return highlightDateBorder($("#check_in_time").val(), date);
|
||||
},
|
||||
onSelect: function(selectedDate) {
|
||||
var date_format = selectedDate.split("-");
|
||||
@@ -60,16 +79,8 @@ $(document).ready(function() {
|
||||
dateFormat: 'dd-mm-yy',
|
||||
minDate: 0,
|
||||
//for calender Css
|
||||
beforeShow: function (textbox, instance) {
|
||||
// var rect = textbox.getBoundingClientRect();
|
||||
// instance.dpDiv.css({
|
||||
// marginTop: (-(textbox.offsetHeight-28)) + 'px',
|
||||
// });
|
||||
// setTimeout(function () {
|
||||
// instance.dpDiv.css({left: rect.left-73});
|
||||
// }, 0);
|
||||
|
||||
// $('#ui-datepicker-div').addClass('ui-datepicker-div-after');
|
||||
beforeShowDay: function (date) {
|
||||
return highlightDateBorder($("#check_out_time").val(), date);
|
||||
},
|
||||
onSelect: function(selectedDate) {
|
||||
var date_format = selectedDate.split("-");
|
||||
|
||||
@@ -445,7 +445,7 @@ class ProductComments extends Module
|
||||
);
|
||||
$helper->module = $this;
|
||||
$helper->identifier = 'id_product_comment_criterion';
|
||||
$helper->title = $this->l('Review Criteria');
|
||||
$helper->title = $this->l('Rating Criteria');
|
||||
$helper->table = $this->name.'criterion';
|
||||
$helper->token = Tools::getAdminTokenLite('AdminModules');
|
||||
$helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name;
|
||||
|
||||
@@ -21,20 +21,17 @@ class AdminAboutHotelBlockSettingController extends ModuleAdminController
|
||||
'title' => $this->l('Heading'),
|
||||
'type' => 'text',
|
||||
'required' => true,
|
||||
'validation' => 'isName',
|
||||
'hint' => $this->l('Block Heading. Ex: Interior.')
|
||||
),
|
||||
'HOTEL_INTERIOR_DESCRIPTION' => array(
|
||||
'title' => $this->l('Description'),
|
||||
'type' => 'text',
|
||||
'required' => true,
|
||||
'validation' => 'isName',
|
||||
'hint' => $this->l('Block description.')
|
||||
),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
'name' => 'submit_about_hotel',
|
||||
'type' => 'submit',
|
||||
)
|
||||
),
|
||||
|
||||
|
Before Width: | Height: | Size: 247 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 416 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 481 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 534 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 435 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 403 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 685 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 7.7 MiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 488 KiB |
|
Before Width: | Height: | Size: 386 KiB |
|
Before Width: | Height: | Size: 368 KiB |
|
Before Width: | Height: | Size: 620 KiB |
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 285 KiB |
|
Before Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 439 KiB |
@@ -11,7 +11,7 @@ class WkAboutHotelBlock extends Module
|
||||
{
|
||||
$this->name = 'wkabouthotelblock';
|
||||
$this->tab = 'front_office_features';
|
||||
$this->version = '1.0.0';
|
||||
$this->version = '1.0.1';
|
||||
$this->author = 'webkul';
|
||||
$this->need_instance = 0;
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 17 KiB |