Merge pull request #274 from shreesh-webkul/qlo-text-changes

QloApps text changes
This commit is contained in:
Rohit Jain
2022-02-01 16:01:50 +05:30
committed by GitHub
9 changed files with 24 additions and 17 deletions

View File

@@ -16,20 +16,27 @@
</p>
## Topics
1. [Introduction](#introduction)
2. [Requirements](#requirements)
3. [Installation & Configuration](#installation-and-configuration)
4. [License](#license)
5. [Security Vulnerabilities](#security-vulnerabilities)
6. [Documentation & Demo](#documentation--demo)
7. [Contribute](#contribute)
8. [Credits](#credits)
- [Introduction](#introduction)
- [Requirements](#requirements)
- [Hosted Server Configurations](#hosted-server-configurations)
- [Local Server Configurations](#local-server-configurations)
- [Installation and Configuration](#installation-and-configuration)
- [License](#license)
- [Security Vulnerabilities](#security-vulnerabilities)
- [Documentation & Demo](#documentation--demo)
- [QloApps Documentation https://qloapps.com/qlo-reservation-system](#qloapps-documentation-httpsqloappscomqlo-reservation-system)
- [QloApps Demo](#qloapps-demo)
- [Contribute](#contribute)
- [Credits](#credits)
### Introduction
QloApps also known as Qlo is an **Open-source and Free hotel reservation system** and booking engine. <br>
With the help of QloApps, you can launch your hotel booking website without any cost and take & manage online bookings . You can manage your online & On-Desk booking easily with QloApps.
QloApps is one kind of a true open-source hotel reservation system and a booking engine. The system is dedicated to channeling the power of the open-source community to serve the hospitality industry.
From small independent hotels to big hotel chains, QloApps is a one-stop solution for all your hotel business needs.
You will be able to launch your hotel website, showcase your property and take and manage bookings.
### Requirements

View File

@@ -964,7 +964,7 @@ abstract class PaymentModuleCore extends Module
return true;
} else {
$error = Tools::displayError('Cart cannot be loaded or an order has already been placed using this cart');
$error = Tools::displayError('Cart cannot be loaded or a booking has already been placed using this cart');
PrestaShopLogger::addLog($error, 4, '0000001', 'Cart', intval($this->context->cart->id));
die($error);
}

View File

@@ -307,7 +307,7 @@ class FrontControllerCore extends Controller
}
if (Validate::isLoadedObject($cart) && $cart->OrderExists()) {
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or a booking has already been placed using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
unset($this->context->cookie->id_cart, $cart, $this->context->cookie->checkedTOS);
$this->context->cookie->check_cgv = false;
}

View File

@@ -412,6 +412,7 @@ class ProductControllerCore extends FrontController
$this->context->smarty->assign(
array(
'room_type_demands' => $roomTypeDemands,
'WK_PRICE_CALC_METHOD_EACH_DAY' => HotelRoomTypeGlobalDemand::WK_PRICE_CALC_METHOD_EACH_DAY,
'product_id_hotel' => $hotel_id,
'stock_management' => Configuration::get('PS_STOCK_MANAGEMENT'),
'customizationFields' => $customization_fields,

View File

@@ -80,6 +80,7 @@ class HotelRoomTypeDemand extends ObjectModel
foreach ($roomTypeDemands as &$demand) {
$idGlobalDemand = $demand['id_global_demand'];
$roomTypeDemandInfo[$idGlobalDemand]['name'] = $demand['name'];
$roomTypeDemandInfo[$idGlobalDemand]['price_calc_method'] = $demand['price_calc_method'];
$roomTypeDemandInfo[$idGlobalDemand]['price'] = HotelRoomTypeDemand::getPriceStatic(
$idProduct,

View File

@@ -87,8 +87,8 @@ class AdminHotelGeneralSettingsController extends ModuleAdminController
'title' => $this->l('Configuration'),
'fields' => array(
'WK_ROOM_LEFT_WARNING_NUMBER' => array(
'title' => $this->l('Display remaining Number ofrooms when therooms are lower than or equal to'),
'hint' => $this->l('Mention the minimum quantity ofrooms after which alert message of remainingrooms will get displayed to users.'),
'title' => $this->l('Display remaining Number of rooms when the rooms are lower than or equal to'),
'hint' => $this->l('Mention the minimum quantity of rooms after which alert message of remaining rooms will get displayed to users.'),
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'text',

View File

@@ -24,7 +24,6 @@
*}
{capture name=path}<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}">{l s='My account'}</a><span class="navigation-pipe">{$navigationPipe}</span><span class="navigation_page">{l s='My addresses'}</span>{/capture}
<h1 class="page-heading">{l s='My addresses'}</h1>
<p>{l s='Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.'}</p>
{if isset($multipleAddresses) && $multipleAddresses}
<div class="addresses">
<p><strong class="dark">{l s='Your addresses are listed below.'}</strong></p>

View File

@@ -13,7 +13,6 @@ $_LANG['404_8cf04a9734132302f96da8e113e80ce5'] = 'Home';
$_LANG['404_7b19b37e7fc3dfe3c3e1ad5b84c7f565'] = 'Home page';
$_LANG['addresses_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'My account';
$_LANG['addresses_e45be0a0d4a0b62b15694c1a631e6e62'] = 'My addresses';
$_LANG['addresses_a6d373cdb986fc009a5a040a4c3d8c1d'] = 'Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.';
$_LANG['addresses_aa5e970d64eb228f31669d3411171f92'] = 'Your addresses are listed below.';
$_LANG['addresses_e380ae58f85252c076e131862857de35'] = 'Be sure to update your personal information if it has changed.';
$_LANG['addresses_06933067aafd48425d67bcb01bba5cb6'] = 'Update';

View File

@@ -395,7 +395,7 @@
</div>
{/if}
<div class="col-xs-11 demand_adv_option_block">
<p>{$demand['name']|escape:'html':'UTF-8'} {if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}<span class="pull-right extra_demand_option_price">{convertPrice price = {$demand['price']}}</span>{/if}</p>
<p>{$demand['name']|escape:'html':'UTF-8'} {if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}<span class="pull-right"><span class="extra_demand_option_price">{convertPrice price = $demand['price']}</span>{if $demand['price_calc_method'] == $WK_PRICE_CALC_METHOD_EACH_DAY}{l s='/night'}{/if}</span>{/if}</p>
{if isset($demand['adv_option']) && $demand['adv_option']}
<select class="id_option">
{foreach $demand['adv_option'] as $idOption => $option}