Merge branch 'develop' into gli-2106
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -53,6 +53,7 @@ composer.lock
|
||||
|
||||
img/**
|
||||
!/img/404.gif
|
||||
!/img/.htaccess
|
||||
!/img/admin/
|
||||
!/img/admin/*.gif
|
||||
!/img/admin/*.png
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -84,14 +84,20 @@
|
||||
@import "partials/date-range-picker"
|
||||
@import "partials/multistore"
|
||||
@import "partials/product"
|
||||
@import "partials/skeleton-loading"
|
||||
|
||||
//Controllers
|
||||
@import "controllers/carrier-wizard"
|
||||
@import "controllers/dashboard"
|
||||
@import "controllers/login"
|
||||
@import "controllers/modules_catalog"
|
||||
@import "controllers/modules"
|
||||
@import "controllers/search"
|
||||
@import "controllers/translations"
|
||||
@import "controllers/customer-thread"
|
||||
@import "controllers/themes"
|
||||
@import "controllers/order"
|
||||
@import "controllers/products"
|
||||
@import "vendor/bootstrap-rtl-sass/bootstrap-rtl"
|
||||
|
||||
//Plug-ins
|
||||
@@ -99,6 +105,9 @@
|
||||
@import "partials/growl"
|
||||
@import "partials/chosen"
|
||||
@import "partials/ladda"
|
||||
@import "partials/date-picker"
|
||||
@import "partials/select2"
|
||||
@import "partials/ndv3"
|
||||
|
||||
//RTL
|
||||
@import "partials/rtl"
|
||||
@@ -106,3 +115,5 @@
|
||||
//Backward compatibility
|
||||
@import "partials/backward"
|
||||
|
||||
//Print support
|
||||
@import "partials/print"
|
||||
|
||||
@@ -53,10 +53,12 @@
|
||||
.module-info-wrapper
|
||||
position: relative
|
||||
height: 100%
|
||||
.module-logo img
|
||||
max-height: 60px
|
||||
.module-logo
|
||||
display: flex
|
||||
gap: 10px
|
||||
margin-bottom: 20px
|
||||
margin-right: 10px
|
||||
img
|
||||
max-height: 60px
|
||||
.panel-action
|
||||
.module-price
|
||||
font-size: 14px
|
||||
|
||||
@@ -3,6 +3,7 @@ $kpi-gap: 10px
|
||||
|
||||
.kpi-container
|
||||
display: flex
|
||||
gap: 15px
|
||||
justify-content: space-between
|
||||
padding: 12px !important
|
||||
.kpis-wrap
|
||||
@@ -23,7 +24,6 @@ $kpi-gap: 10px
|
||||
padding-right: $kpi-gap / 2
|
||||
.actions-wrap
|
||||
width: 16px
|
||||
margin-left: 16px
|
||||
button
|
||||
padding: 0
|
||||
border: none
|
||||
@@ -97,11 +97,21 @@ $kpi-gap: 10px
|
||||
border: 1px solid #e7edfa
|
||||
border-left-width: 3px
|
||||
border-radius: 6px
|
||||
padding: 4px 8px 8px 42px
|
||||
padding: 4px 8px 8px 4px
|
||||
display: flex
|
||||
flex-direction: column
|
||||
justify-content: space-between
|
||||
gap: 10px
|
||||
white-space: normal
|
||||
i.kpi-icon
|
||||
font-size: 15px
|
||||
text-align: center
|
||||
color: white
|
||||
line-height: 26px
|
||||
background: #eee
|
||||
width: 28px
|
||||
height: 28px
|
||||
@include border-radius(6px)
|
||||
.kpi-data
|
||||
flex-grow: 1
|
||||
.title-subtitle
|
||||
display: flex
|
||||
justify-content: space-between
|
||||
@@ -109,22 +119,7 @@ $kpi-gap: 10px
|
||||
display: block
|
||||
color: #666
|
||||
font-size: 13px
|
||||
i
|
||||
position: absolute
|
||||
top: 5px
|
||||
font-size: 15px
|
||||
text-align: center
|
||||
color: white
|
||||
line-height: 26px
|
||||
background: #eee
|
||||
width: 28px
|
||||
height: 28px
|
||||
@include left(5px)
|
||||
@include border-radius(6px)
|
||||
&::before
|
||||
position: absolute
|
||||
top: 1px
|
||||
left: 8px
|
||||
|
||||
.subtitle
|
||||
display: block
|
||||
text-transform: capitalize
|
||||
@@ -144,12 +139,8 @@ $kpi-gap: 10px
|
||||
&.loading
|
||||
height: 22px
|
||||
min-width: 40px
|
||||
.arrow
|
||||
position: absolute
|
||||
bottom: 7px
|
||||
right: 9px
|
||||
i
|
||||
color: #828282 !important
|
||||
.arrow i
|
||||
color: #828282 !important
|
||||
&:hover
|
||||
text-decoration: none
|
||||
.color1
|
||||
|
||||
@@ -119,3 +119,8 @@ html
|
||||
margin-left: 0px
|
||||
@include border-right(1px solid $sidebar-menu-bg-hover-color)
|
||||
border-left: 0px
|
||||
#nav-topbar
|
||||
#ellipsistab
|
||||
ul#ellipsis_submenu
|
||||
left: 0
|
||||
right: unset
|
||||
|
||||
@@ -62,4 +62,8 @@
|
||||
.tree-panel-label-title
|
||||
font-weight: 400
|
||||
margin: 0
|
||||
@include padding(0, 0, 0, 8px)
|
||||
@include padding(0, 0, 0, 8px)
|
||||
|
||||
.tree.cattree
|
||||
max-height: 350px
|
||||
overflow-y: auto
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
// Button groups
|
||||
// --------------------------------------------------
|
||||
|
||||
// Make the div behave like a button
|
||||
.btn-group,
|
||||
.btn-group-vertical
|
||||
> .btn
|
||||
float: right
|
||||
|
||||
// Prevent double borders when buttons are next to each other
|
||||
.btn-group
|
||||
.btn-group
|
||||
.btn + .btn,
|
||||
.btn + .btn-group,
|
||||
.btn-group + .btn,
|
||||
|
||||
@@ -187,28 +187,42 @@
|
||||
.col-sm-push-11
|
||||
right: percentage((11/ $grid-columns))
|
||||
|
||||
.col-sm-pull-0
|
||||
left: auto
|
||||
right: auto
|
||||
.col-sm-pull-1
|
||||
left: percentage((1 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-2
|
||||
left: percentage((2 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-3
|
||||
left: percentage((3 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-4
|
||||
left: percentage((4 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-5
|
||||
left: percentage((5 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-6
|
||||
left: percentage((6 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-7
|
||||
left: percentage((7 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-8
|
||||
left: percentage((8 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-9
|
||||
left: percentage((9 / $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-10
|
||||
left: percentage((10/ $grid-columns))
|
||||
right: auto
|
||||
.col-sm-pull-11
|
||||
left: percentage((11/ $grid-columns))
|
||||
right: auto
|
||||
|
||||
// Offsets
|
||||
.col-sm-offset-1
|
||||
@@ -269,23 +283,23 @@
|
||||
.col-md-10,
|
||||
.col-md-11
|
||||
float: right
|
||||
.col-md-1
|
||||
.col-md-1
|
||||
width: percentage((1 / $grid-columns))
|
||||
.col-md-2
|
||||
.col-md-2
|
||||
width: percentage((2 / $grid-columns))
|
||||
.col-md-3
|
||||
.col-md-3
|
||||
width: percentage((3 / $grid-columns))
|
||||
.col-md-4
|
||||
.col-md-4
|
||||
width: percentage((4 / $grid-columns))
|
||||
.col-md-5
|
||||
.col-md-5
|
||||
width: percentage((5 / $grid-columns))
|
||||
.col-md-6
|
||||
.col-md-6
|
||||
width: percentage((6 / $grid-columns))
|
||||
.col-md-7
|
||||
.col-md-7
|
||||
width: percentage((7 / $grid-columns))
|
||||
.col-md-8
|
||||
.col-md-8
|
||||
width: percentage((8 / $grid-columns))
|
||||
.col-md-9
|
||||
.col-md-9
|
||||
width: percentage((9 / $grid-columns))
|
||||
.col-md-10
|
||||
width: percentage((10/ $grid-columns))
|
||||
@@ -318,28 +332,42 @@
|
||||
.col-md-push-11
|
||||
right: percentage((11/ $grid-columns))
|
||||
|
||||
.col-md-pull-0
|
||||
left: auto
|
||||
right: auto
|
||||
.col-md-pull-1
|
||||
left: percentage((1 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-2
|
||||
left: percentage((2 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-3
|
||||
left: percentage((3 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-4
|
||||
left: percentage((4 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-5
|
||||
left: percentage((5 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-6
|
||||
left: percentage((6 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-7
|
||||
left: percentage((7 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-8
|
||||
left: percentage((8 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-9
|
||||
left: percentage((9 / $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-10
|
||||
left: percentage((10/ $grid-columns))
|
||||
right: auto
|
||||
.col-md-pull-11
|
||||
left: percentage((11/ $grid-columns))
|
||||
right: auto
|
||||
|
||||
// Offsets
|
||||
.col-md-offset-1
|
||||
@@ -402,77 +430,92 @@
|
||||
.col-lg-11
|
||||
float: right
|
||||
|
||||
.col-lg-1
|
||||
.col-lg-1
|
||||
width: percentage((1 / $grid-columns))
|
||||
.col-lg-2
|
||||
.col-lg-2
|
||||
width: percentage((2 / $grid-columns))
|
||||
.col-lg-3
|
||||
.col-lg-3
|
||||
width: percentage((3 / $grid-columns))
|
||||
.col-lg-4
|
||||
.col-lg-4
|
||||
width: percentage((4 / $grid-columns))
|
||||
.col-lg-5
|
||||
.col-lg-5
|
||||
width: percentage((5 / $grid-columns))
|
||||
.col-lg-6
|
||||
.col-lg-6
|
||||
width: percentage((6 / $grid-columns))
|
||||
.col-lg-7
|
||||
.col-lg-7
|
||||
width: percentage((7 / $grid-columns))
|
||||
.col-lg-8
|
||||
.col-lg-8
|
||||
width: percentage((8 / $grid-columns))
|
||||
.col-lg-9
|
||||
.col-lg-9
|
||||
width: percentage((9 / $grid-columns))
|
||||
.col-lg-10
|
||||
.col-lg-10
|
||||
width: percentage((10/ $grid-columns))
|
||||
.col-lg-11
|
||||
.col-lg-11
|
||||
width: percentage((11/ $grid-columns))
|
||||
.col-lg-12
|
||||
.col-lg-12
|
||||
width: 100%
|
||||
|
||||
// Push and pull columns for source order changes
|
||||
.col-lg-push-1
|
||||
.col-lg-push-1
|
||||
right: percentage((1 / $grid-columns))
|
||||
.col-lg-push-2
|
||||
.col-lg-push-2
|
||||
right: percentage((2 / $grid-columns))
|
||||
.col-lg-push-3
|
||||
.col-lg-push-3
|
||||
right: percentage((3 / $grid-columns))
|
||||
.col-lg-push-4
|
||||
.col-lg-push-4
|
||||
right: percentage((4 / $grid-columns))
|
||||
.col-lg-push-5
|
||||
.col-lg-push-5
|
||||
right: percentage((5 / $grid-columns))
|
||||
.col-lg-push-6
|
||||
.col-lg-push-6
|
||||
right: percentage((6 / $grid-columns))
|
||||
.col-lg-push-7
|
||||
.col-lg-push-7
|
||||
right: percentage((7 / $grid-columns))
|
||||
.col-lg-push-8
|
||||
.col-lg-push-8
|
||||
right: percentage((8 / $grid-columns))
|
||||
.col-lg-push-9
|
||||
.col-lg-push-9
|
||||
right: percentage((9 / $grid-columns))
|
||||
.col-lg-push-10
|
||||
right: percentage((10/ $grid-columns))
|
||||
.col-lg-push-11
|
||||
right: percentage((11/ $grid-columns))
|
||||
|
||||
.col-lg-pull-1
|
||||
.col-lg-pull-0
|
||||
left: auto
|
||||
right: auto
|
||||
.col-lg-pull-1
|
||||
left: percentage((1 / $grid-columns))
|
||||
.col-lg-pull-2
|
||||
right: auto
|
||||
.col-lg-pull-2
|
||||
left: percentage((2 / $grid-columns))
|
||||
.col-lg-pull-3
|
||||
right: auto
|
||||
.col-lg-pull-3
|
||||
left: percentage((3 / $grid-columns))
|
||||
.col-lg-pull-4
|
||||
right: auto
|
||||
.col-lg-pull-4
|
||||
left: percentage((4 / $grid-columns))
|
||||
.col-lg-pull-5
|
||||
right: auto
|
||||
.col-lg-pull-5
|
||||
left: percentage((5 / $grid-columns))
|
||||
.col-lg-pull-6
|
||||
right: auto
|
||||
.col-lg-pull-6
|
||||
left: percentage((6 / $grid-columns))
|
||||
.col-lg-pull-7
|
||||
right: auto
|
||||
.col-lg-pull-7
|
||||
left: percentage((7 / $grid-columns))
|
||||
.col-lg-pull-8
|
||||
right: auto
|
||||
right: unset
|
||||
.col-lg-pull-8
|
||||
left: percentage((8 / $grid-columns))
|
||||
.col-lg-pull-9
|
||||
right: auto
|
||||
.col-lg-pull-9
|
||||
left: percentage((9 / $grid-columns))
|
||||
right: auto
|
||||
.col-lg-pull-10
|
||||
left: percentage((10/ $grid-columns))
|
||||
right: auto
|
||||
.col-lg-pull-11
|
||||
left: percentage((11/ $grid-columns))
|
||||
right: auto
|
||||
|
||||
// Offsets
|
||||
.col-lg-offset-1
|
||||
|
||||
@@ -118,7 +118,7 @@ h1, h2, h3, h4, h5, h6,
|
||||
border-radius: $border-radius-base $border-radius-base 0 0
|
||||
|
||||
// pulling this in mainly for less shorthand
|
||||
&.nav-justified
|
||||
&.nav-justified
|
||||
@extend .nav-justified
|
||||
@extend .nav-tabs-justified
|
||||
|
||||
@@ -169,9 +169,9 @@ h1, h2, h3, h4, h5, h6,
|
||||
|
||||
// The dropdown menu (ul)
|
||||
.dropdown-menu
|
||||
right: 0
|
||||
float: left
|
||||
left: auto
|
||||
right: unset
|
||||
float: right
|
||||
left: 0
|
||||
|
||||
// Aligns the dropdown menu to left
|
||||
&.pull-left
|
||||
@@ -185,6 +185,11 @@ h1, h2, h3, h4, h5, h6,
|
||||
float: right
|
||||
right: auto
|
||||
|
||||
.pull-right > .dropdown-menu
|
||||
right: unset
|
||||
float: right
|
||||
left: 0
|
||||
|
||||
// Right aligned menus need alt position
|
||||
.navbar-nav.pull-left > li > .dropdown-menu,
|
||||
.navbar-nav > li > .dropdown-menu.pull-left
|
||||
@@ -338,13 +343,13 @@ h1, h2, h3, h4, h5, h6,
|
||||
|
||||
// Popovers
|
||||
// -------------------------
|
||||
.popover.top,
|
||||
.popover.top,
|
||||
.popover.bottom
|
||||
direction:ltr
|
||||
|
||||
.popover.top .popover-title,
|
||||
.popover.top .popover-title,
|
||||
.popover.top .popover-content,
|
||||
.popover.bottom .popover-title,
|
||||
.popover.bottom .popover-title,
|
||||
.popover.bottom .popover-content
|
||||
direction: rtl
|
||||
text-align: right
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
<span class="input-group-addon">%</span>
|
||||
<input type="text" id="reduction_percent" class="input-mini" name="reduction_percent" value="{$currentTab->getFieldValue($currentObject, 'reduction_percent')|floatval}" />
|
||||
</div>
|
||||
<span class="help-block"><i class="icon-warning-sign"></i> {l s='Does not apply to the shipping costs'}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
title="{l s='You can choose a minimum amount for the cart either with or without the taxes and shipping.'}">
|
||||
title="{l s='You can choose a minimum amount for the cart either with or without the taxes.'}">
|
||||
{l s='Minimum amount'}
|
||||
</span>
|
||||
</label>
|
||||
@@ -125,7 +125,6 @@
|
||||
{l s='Country selection'}
|
||||
</label>
|
||||
</p>
|
||||
<span class="help-block">{l s='This restriction applies to the country of delivery.'}</span>
|
||||
<div id="country_restriction_div">
|
||||
<br />
|
||||
<table class="table">
|
||||
|
||||
@@ -35,15 +35,9 @@
|
||||
<h3><i class="icon-user"></i> {l s='Customer information'}</h3>
|
||||
{if $customer->id}
|
||||
<a class="btn btn-default pull-right" href="mailto:{$customer->email}"><i class="icon-envelope"></i> {$customer->email}</a>
|
||||
<h2>
|
||||
{if $customer->id_gender == 1}
|
||||
<i class="icon-male"></i>
|
||||
{elseif $customer->id_gender == 2}
|
||||
<i class="icon-female"></i>
|
||||
{else}
|
||||
<i class="icon-question"></i>
|
||||
{/if}
|
||||
<a href="{$link->getAdminLink('AdminCustomers')|escape:'html':'UTF-8'}&id_customer={$customer->id|intval}&viewcustomer">{$customer->firstname} {$customer->lastname}</a></h2>
|
||||
<h4 style="padding-top:10px">
|
||||
{l s='Customer Name'}:
|
||||
<a href="{$link->getAdminLink('AdminCustomers')|escape:'html':'UTF-8'}&id_customer={$customer->id|intval}&viewcustomer">{$customer->firstname} {$customer->lastname}</a></h4>
|
||||
<div class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-lg-3 control-label">{l s='Account registration date:'}</label>
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
{l s='All'} <span class="badge pull-right">{$nb_modules}</span>
|
||||
</a>
|
||||
{foreach from=$list_modules_categories item=module_category key=module_category_key}
|
||||
<a class="categoryModuleFilterLink list-group-item {if isset($categoryFiltered[$module_category_key])}active{/if}" href="{$currentIndex|escape:'html':'UTF-8'}&token={$token|escape:'html':'UTF-8'}&{if isset($categoryFiltered[$module_category_key])}un{/if}filterCategory={$module_category_key}" id="filter_{$module_category_key}">
|
||||
<a class="categoryModuleFilterLink list-group-item {if isset($categoryFiltered[$module_category_key])}active{/if}" href="{$currentIndex|escape:'html':'UTF-8'}&token={$token|escape:'html':'UTF-8'}&filterCategory={$module_category_key}" id="filter_{$module_category_key}">
|
||||
{$module_category.name} <span class="badge pull-right">{$module_category.nb}</span>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
@@ -22,10 +22,12 @@
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 element-panel">
|
||||
<div class="panel">
|
||||
<div class="module-info-wrapper">
|
||||
<div class="module-logo clearfix">
|
||||
<img src="{if isset($element->image)}{$element->image}{else}{$modules_uri}/{$element->name}/{$element->logo}{/if}" title="{$element->displayName}" class="pull-left">
|
||||
<h4 class="name" data-name="{$element->name}">{$element->displayName}</h4>
|
||||
<p class="text-muted">{$element->version} {l s='By'} {$element->author}</p>
|
||||
<div class="module-logo">
|
||||
<img src="{if isset($element->image)}{$element->image}{else}{$modules_uri}/{$element->name}/{$element->logo}{/if}" title="{$element->displayName}">
|
||||
<div>
|
||||
<h4 class="name" data-name="{$element->name}">{$element->displayName}</h4>
|
||||
<p class="text-muted">{$element->version} {l s='By'} {$element->author}</p>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
{if $element->description_full}
|
||||
|
||||
@@ -48,28 +48,18 @@
|
||||
}
|
||||
|
||||
{if isset($use_checkbox) && $use_checkbox == true}
|
||||
function checkAllAssociatedCategories($tree)
|
||||
function checkAllAssociatedHotels($tree)
|
||||
{
|
||||
$tree.find(':input[type=checkbox]').each(function(){
|
||||
$(this).prop('checked', true);
|
||||
|
||||
addDefaultCategory($(this));
|
||||
$(this).parent().addClass('tree-selected');
|
||||
});
|
||||
}
|
||||
|
||||
function uncheckAllAssociatedCategories($tree)
|
||||
function uncheckAllAssociatedHotels($tree)
|
||||
{
|
||||
$tree.find(':input[type=checkbox]').each(function(){
|
||||
$(this).prop('checked', false);
|
||||
|
||||
$('select#id_category_default option[value='+$(this).val()+']').remove();
|
||||
if ($('select#id_category_default option').length == 0)
|
||||
{
|
||||
$('select#id_category_default').closest('.form-group').hide();
|
||||
$('#no_default_category').show();
|
||||
}
|
||||
|
||||
$(this).parent().removeClass('tree-selected');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ $(document).ready(function () {
|
||||
<input maxlength="27" id="ecotax" name="ecotax" type="text" value="{$product->ecotax|string_format:$priceDisplayPrecisionFormat}" onkeyup="$('#priceType').val('TI');if (isArrowKey(event))return; calcPriceTE(); this.value = this.value.replace(/,/g, '.'); if (parseInt(this.value) > getE('priceTE').value) this.value = getE('priceTE').value; if (isNaN(this.value)) this.value = 0;" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group {if $product->auto_add_to_cart && $product->price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM}hide_on_auto_add_Withroom{/if}" {if !$country_display_tax_label || $tax_exclude_taxe_option}style="display:none;"{/if} {if $product->auto_add_to_cart && $product->price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM}style="display:none"{/if}>
|
||||
{* <div class="form-group {if $product->auto_add_to_cart && $product->price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM}hide_on_auto_add_Withroom{/if}" {if !$country_display_tax_label || $tax_exclude_taxe_option}style="display:none;"{/if} {if $product->auto_add_to_cart && $product->price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM}style="display:none"{/if}>
|
||||
<label class="control-label col-lg-3" for="priceTI">{l s='Retail price with tax'}</label>
|
||||
<div class="input-group col-lg-2">
|
||||
<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
|
||||
@@ -208,7 +208,7 @@ $(document).ready(function () {
|
||||
<input id="priceTI" name="priceTI" type="text" value="" onchange="noComma('priceTI');" maxlength="27" onkeyup="$('#priceType').val('TI');if (isArrowKey(event)) return; calcPriceTE();" />
|
||||
</div>
|
||||
{if isset($pack) && $pack->isPack($product->id)}<p class="col-lg-9 col-lg-offset-3 help-block">{l s='The sum of prices of the products in the pack is %s%s%s' sprintf=[$currency->prefix,{toolsConvertPrice price=$pack->noPackPrice($product->id)|string_format:$priceDisplayPrecisionFormat},$currency->suffix]}</p>{/if}
|
||||
</div>
|
||||
</div> *}
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="price_calculation_method">
|
||||
<span class="label-tooltip" data-toggle="tooltip" title="{l s='Select whether price for this service will be added for each day of the booking or price will be added to the entire date range of the booking'}">
|
||||
|
||||
@@ -193,18 +193,22 @@
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
{if (isset($refundReqBookings) && $refundReqBookings) || (isset($isCancelledRoom) && $isCancelledRoom)}
|
||||
{if (isset($refundReqBookings) && $refundReqBookings)}
|
||||
<td>
|
||||
{if $data.is_cancelled}
|
||||
<span class="badge badge-danger">{l s='Cancelled'}</span>
|
||||
{elseif isset($data.refund_info) && $data.refund_info}
|
||||
<span class="badge" style="background-color:{$data.refund_info.color|escape:'html':'UTF-8'}">{$data.refund_info.name|escape:'html':'UTF-8'}</span>
|
||||
{if $data.id|in_array:$refundReqBookings}
|
||||
{if $data.is_cancelled}
|
||||
<span class="badge badge-danger">{l s='Cancelled'}</span>
|
||||
{elseif isset($data.refund_info) && (!$data.refund_info.refunded || $data.refund_info.id_customization)}
|
||||
<span class="badge" style="background-color:{$data.refund_info.color|escape:'html':'UTF-8'}">{$data.refund_info.name|escape:'html':'UTF-8'}</span>
|
||||
{else}
|
||||
<span>--</span>
|
||||
{/if}
|
||||
{else}
|
||||
<span>--</span>
|
||||
{/if}
|
||||
<span>--</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if isset($data.refund_info) && $data.refund_info}
|
||||
{if $data.is_refunded && isset($data.refund_info) && $data.refund_info}
|
||||
{convertPriceWithCurrency price=$data.refund_info.refunded_amount currency=$currency->id}
|
||||
{else}
|
||||
--
|
||||
@@ -242,7 +246,7 @@
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li>
|
||||
<a href="#" class="room_reallocate_swap" id="reallocate_room_{$data['id']}" data-room_type_name="{$data['room_type_name']}" data-toggle="modal" data-target="#mySwappigModal" data-id_htl_booking="{$data['id']}" data-room_num='{$data.room_num}' data-id_room_type='{$data.id_product}' data-cust_name='{$data.alloted_cust_name}' data-cust_email='{$data.alloted_cust_email}' data-avail_rm_swap='{$data.avail_rooms_to_swap|@json_encode}' data-avail_realloc_room_types='{$data.avail_room_types_to_realloc|@json_encode}'>
|
||||
<a href="#" class="room_reallocate_swap" id="reallocate_room_{$data['id']}" data-room_type_name="{$data['room_type_name']}" data-toggle="modal" data-target="#mySwappigModal" data-id_htl_booking="{$data['id']}" data-id_order="{$data['id_order']}" data-room_num='{$data.room_num}' data-id_room_type='{$data.id_product}' data-cust_name='{$data.alloted_cust_name}' data-cust_email='{$data.alloted_cust_email}' data-avail_rm_swap='{$data.avail_rooms_to_swap|@json_encode}' data-avail_realloc_room_types='{$data.avail_room_types_to_realloc|@json_encode}'>
|
||||
<i class="icon-refresh"></i>
|
||||
{l s='Reallocate/Swap Room'}
|
||||
</a>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<th><span class="title_box">{l s='Extra Services/Fee (Tax excl.)'}</span></th>
|
||||
<th><span class="title_box">{l s='Total Tax'}</span></th>
|
||||
<th><span class="title_box">{l s='Total Price (Tax incl.)'}</span></th>
|
||||
{if (isset($refundReqBookings) && $refundReqBookings) || (isset($isCancelledRoom) && $isCancelledRoom)}
|
||||
{if (isset($refundReqBookings) && $refundReqBookings)}
|
||||
<th><span class="title_box">{l s='Refund/Cancel Status'}</span></th>
|
||||
<th><span class="title_box">{l s='Refunded amount'}</span></th>
|
||||
{/if}
|
||||
|
||||
@@ -1171,7 +1171,7 @@
|
||||
currency_format = jsonSummary.currency.format;
|
||||
currency_sign = jsonSummary.currency.sign;
|
||||
currency_blank = jsonSummary.currency.blank;
|
||||
priceDisplayPrecision = jsonSummary.currency.decimals ? 2 : 0;
|
||||
priceDisplayPrecision = parseInt(jsonSummary.currency.decimals) ? {$smarty.const._PS_PRICE_DISPLAY_PRECISION_|intval} : 0;
|
||||
|
||||
updateCartProducts(jsonSummary.summary.products, jsonSummary.summary.gift_products, jsonSummary.cart.id_address_delivery);
|
||||
updateCartVouchers(jsonSummary.summary.discounts);
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
{block name="override_tpl"}
|
||||
<script type="text/javascript">
|
||||
var admin_order_tab_link = "{$link->getAdminLink('AdminOrders')|addslashes}";
|
||||
var rooms_reallocation_url = "{$link->getAdminLink('AdminOrders')|addslashes}";
|
||||
var id_order = {$order->id};
|
||||
var id_lang = {$current_id_lang};
|
||||
var id_currency = {$order->id_currency};
|
||||
@@ -102,7 +103,7 @@
|
||||
<th>{l s='Duration'}</th>
|
||||
<th>{l s='Documents'}</th>
|
||||
<th>{l s='Room Status'}</th>
|
||||
<th>{l s='Action'}</th>
|
||||
<th class="text-center">{l s='Action'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -133,7 +134,7 @@
|
||||
{/if}
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{if $data.is_refunded || $data.is_cancelled}
|
||||
{if isset($refundReqBookings) && $refundReqBookings && $data.id|in_array:$refundReqBookings && $data.is_refunded}
|
||||
<span class="badge badge-danger">{if $data.is_cancelled}{l s='Cancelled'}{else}{l s='Refunded'}{/if}</span>
|
||||
{else}
|
||||
<a class="open_room_status_form btn btn-default" href="#" data-id_hotel_booking_detail="{$data['id']}" data-id_order="{$data['id_order']}" data-id_status="{$data['id_status']}" data-id_room="{$data['id_room']}" data-date_from="{$data['date_from']|date_format:"%Y-%m-%d"}" data-date_to="{$data['date_to']|date_format:"%Y-%m-%d"}" data-check_in_time="{$data['check_in_time']}" data-check_out_time="{$data['check_out_time']}">
|
||||
@@ -246,7 +247,7 @@
|
||||
<div class="col-lg-9">
|
||||
<select id="id_order_state" class="chosen form-control" name="id_order_state">
|
||||
{foreach from=$states item=state}
|
||||
<option value="{$state['id_order_state']|intval}"{if isset($currentState) && $state['id_order_state'] == $currentState->id} selected="selected" disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_REFUND') && !$allBookingsRefunded)} disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_CANCELED') && !$allBookingsCancelled)} disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_PAID') || $state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_UNPAID') || $state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_PARTIAL_PAID')) && (!isset($orderOverBookings) || !$orderOverBookings)} disabled="disabled"{/if}>{$state['name']|escape}</option>
|
||||
<option value="{$state['id_order_state']|intval}"{if isset($currentState) && $state['id_order_state'] == $currentState->id} selected="selected" disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_REFUND') && ($total_paid <= 0 && !$discounts|count))} disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_CANCELED') && ($totalRefundedRooms || $discounts|count || $total_paid > 0))} disabled="disabled"{elseif ($state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_PAID') || $state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_UNPAID') || $state['id_order_state'] == Configuration::get('PS_OS_OVERBOOKING_PARTIAL_PAID')) && (!isset($orderOverBookings) || !$orderOverBookings)} disabled="disabled"{/if}>{$state['name']|escape}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="hidden" name="id_order" value="{$order->id}" />
|
||||
@@ -542,6 +543,7 @@
|
||||
<dl class="list-detail col-sm-12">
|
||||
<label class="label-title">{l s='Guest info'}</label>
|
||||
|
||||
<dd><i class="icon-user"></i> <b><a href="?tab=AdminCustomers&id_customer={$customer->id}&viewcustomer&token={getAdminToken tab='AdminCustomers'}">{$customer->firstname} {$customer->lastname}</a></b></dd>
|
||||
<dd><i class="icon-envelope"></i> <b><a href="mailto:{$customer->email}">{$customer->email}</a></b></dd>
|
||||
{if $addresses.invoice->phone_mobile || $addresses.invoice->phone}
|
||||
<dd><i class="icon-phone"></i> <b><a href="tel:{if $addresses.invoice->phone_mobile}{$addresses.invoice->phone_mobile}{else}{$addresses.invoice->phone}{/if}">{if $addresses.invoice->phone_mobile}{$addresses.invoice->phone_mobile}{else}{$addresses.invoice->phone}{/if}</a></b></dd>
|
||||
@@ -1249,6 +1251,8 @@
|
||||
{addJsDef ROOM_STATUS_ALLOTED=$ROOM_STATUS_ALLOTED|escape:'quotes':'UTF-8'}
|
||||
{addJsDef ROOM_STATUS_CHECKED_IN=$ROOM_STATUS_CHECKED_IN|escape:'quotes':'UTF-8'}
|
||||
{addJsDef ROOM_STATUS_CHECKED_OUT=$ROOM_STATUS_CHECKED_OUT|escape:'quotes':'UTF-8'}
|
||||
{addJsDef PS_OS_CANCELED=Configuration::get('PS_OS_CANCELED')|escape:'quotes':'UTF-8'}
|
||||
{addJsDef PS_OS_REFUND=Configuration::get('PS_OS_REFUND')|escape:'quotes':'UTF-8'}
|
||||
|
||||
{addJsDefL name=txt_booking_document_upload_success}{l s='Document uploaded successfully.' js=1}{/addJsDefL}
|
||||
{addJsDefL name=txt_booking_document_delete_confirm}{l s='Are you sure?' js=1}{/addJsDefL}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
<div class="list-empty">
|
||||
<div class="list-empty-msg">
|
||||
<i class="icon-warning-sign list-empty-icon"></i>
|
||||
{l s='No room bookings found.'}
|
||||
{l s='No room bookings found to cancel'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<form class="form-hozizontal" method="post" action="{$current_index}&vieworder&token={$smarty.get.token|escape:'html':'UTF-8'}&id_order={$order->id|intval}">
|
||||
<form class="form-hozizontal" method="post" action="{$reallocate_form_action}">
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
@@ -102,7 +102,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<hr>
|
||||
<form method="post" action="{$current_index}&vieworder&token={$smarty.get.token|escape:'html':'UTF-8'}&id_order={$order->id|intval}">
|
||||
<form method="post" action="{$reallocate_form_action}">
|
||||
<div class="form-group">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*}
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="text-left errors-wrap"></div>
|
||||
<form id="customer-guest-details-form">
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-2">
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
{l s='Price'}
|
||||
</th>
|
||||
<th>
|
||||
{l s='Tax rate'}
|
||||
{l s='Tax rule'}
|
||||
</th>
|
||||
<th class="fixed-width-lg text-center">
|
||||
{l s='Per day price calculation'}
|
||||
|
||||
@@ -446,24 +446,21 @@
|
||||
{if isset($product->id) && $product->id}
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" id="category_position" for="category_position">
|
||||
<span class="label-tooltip" data-toggle="tooltip" title="{l s='Set position of the room type when hotel search results are displayed.'}">
|
||||
<span class="label-tooltip" data-toggle="tooltip" title="{l s='Set display position of room type on the search results page.'}">
|
||||
{l s='Position'}
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" id="category_position" class="form-control fixed-width-lg" name="category_position" value="{$category_position}" />
|
||||
<p class="help-block">{l s='Please note that position numbering starts from 0. A position of 0 means room type will be displayed at the topmost.'}</p>
|
||||
<p class="help-block">{l s='Please note that position numbering starts from 0. A position of 0 means room type will be displayed at the topmost position.'}</p>
|
||||
<div class="alert alert-info">
|
||||
{l s='You can manage positions of the room types of this hotel from'}
|
||||
<a href="{$link->getAdminLink('AdminProducts')}&id_category={$htl_full_info['id_category']}">{l s='here.'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($product->id) && $product->id}
|
||||
<div class="alert alert-info">
|
||||
{l s='You can change positions of room types of this hotel from '}
|
||||
<a href="{$link->getAdminLink('AdminProducts')}&id_category={$htl_full_info['id_category']}">{l s='here.'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{* <div class="form-group">
|
||||
<label class="control-label col-lg-3" for="tags_{$id_lang}">
|
||||
<span class="label-tooltip" data-toggle="tooltip"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
<div class="alert alert-info">
|
||||
{l s='Below, enter the base occupancy of this room type.'}
|
||||
<p><b>{l s='Note'}</b>: {l s='Minimum 1 adult is madatory in the base occupancy of the room type'}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -35,7 +36,7 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-sm-3">
|
||||
<input id="base_adults" type="text" name="base_adults" class="form-control" value="{if isset($roomTypeInfo)}{$roomTypeInfo['adults']|escape:'htmlall':'UTF-8'}{else}2{/if}">
|
||||
<input id="base_adults" type="text" name="base_adults" class="form-control" value="{if isset($smarty.post.base_adults)}{$smarty.post.base_adults|escape:'html':'UTF-8'}{elseif isset($roomTypeInfo['adults'])}{$roomTypeInfo['adults']|escape:'html':'UTF-8'}{else}2{/if}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -46,7 +47,7 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-sm-3">
|
||||
<input id="base_children" type="text" name="base_children" class="form-control" {if isset($roomTypeInfo)}value="{$roomTypeInfo['children']|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
<input id="base_children" type="text" name="base_children" class="form-control" value="{if isset($smarty.post.base_children)}{$smarty.post.base_children|escape:'html':'UTF-8'}{elseif isset($roomTypeInfo['children'])}{$roomTypeInfo['children']|escape:'html':'UTF-8'}{else}0{/if}">
|
||||
</div>
|
||||
</div>
|
||||
<input id="is_occupancy_submit" type="hidden" name="is_occupancy_submit" class="form-control" value="0">
|
||||
@@ -67,7 +68,7 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-sm-3">
|
||||
<input id="max_adults" type="text" name="max_adults" class="form-control" {if isset($roomTypeInfo)}value="{$roomTypeInfo['max_adults']|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
<input id="max_adults" type="text" name="max_adults" class="form-control" value="{if isset($smarty.post.max_adults)}{$smarty.post.max_adults|escape:'html':'UTF-8'}{elseif isset($roomTypeInfo['max_adults'])}{$roomTypeInfo['max_adults']|escape:'html':'UTF-8'}{/if}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -78,7 +79,7 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-sm-3">
|
||||
<input id="max_children" type="text" name="max_children" class="form-control" {if isset($roomTypeInfo)}value="{$roomTypeInfo['max_children']|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
<input id="max_children" type="text" name="max_children" class="form-control" value="{if isset($smarty.post.max_children)}{$smarty.post.max_children|escape:'html':'UTF-8'}{elseif isset($roomTypeInfo['max_children'])}{$roomTypeInfo['max_children']|escape:'html':'UTF-8'}{/if}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -89,7 +90,7 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="col-sm-3">
|
||||
<input id="max_guests" type="text" name="max_guests" class="form-control" {if isset($roomTypeInfo)}value="{$roomTypeInfo['max_guests']|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
<input id="max_guests" type="text" name="max_guests" class="form-control" value="{if isset($smarty.post.max_guests)}{$smarty.post.max_guests|escape:'html':'UTF-8'}{elseif isset($roomTypeInfo['max_guests'])}{$roomTypeInfo['max_guests']|escape:'html':'UTF-8'}{/if}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<span>{l s='Price'}</span>
|
||||
</th>
|
||||
<th>
|
||||
<span>{l s='Tax'}</span>
|
||||
<span>{l s='Tax rule'}</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -25,39 +25,41 @@
|
||||
|
||||
<{if isset($href) && $href}a style="display:block" href="{$href|escape:'html':'UTF-8'}"{else}div{/if} id="{$id|escape:'html':'UTF-8'}" data-toggle="tooltip" class="box-stats label-tooltip {$color|escape}" data-original-title="{$tooltip|escape}" {if $target}target="_blank"{/if}>
|
||||
<div class="kpi-content">
|
||||
<div class="title-subtitle">
|
||||
<div class="title-container">
|
||||
<span class="title">
|
||||
{if isset($icon) && $icon}<i class="{$icon|escape}"></i>{/if}
|
||||
{$title|escape}
|
||||
</span>
|
||||
</div>
|
||||
{if $subtitle}
|
||||
<div class="subtitle-container">
|
||||
<span class="subtitle">
|
||||
{$subtitle|escape}
|
||||
{if isset($icon) && $icon}<i class="{$icon|escape} kpi-icon"></i>{/if}
|
||||
<div class="kpi-data">
|
||||
<div class="title-subtitle">
|
||||
<div class="title-container">
|
||||
<span class="title">
|
||||
{$title|escape}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if isset($chart) && $chart}
|
||||
<div class="boxchart-overlay">
|
||||
<div class="boxchart">
|
||||
</div>
|
||||
{if $subtitle}
|
||||
<div class="subtitle-container">
|
||||
<span class="subtitle">
|
||||
{$subtitle|escape}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="value-container">
|
||||
{if isset($source) && $source}
|
||||
<span class="value skeleton-loading-wave loading-container-bar loading"></span>
|
||||
{elseif isset($value) && $value !== ''}
|
||||
<span class="value">{$value|escape:'html':'UTF-8'}</span>
|
||||
{if isset($chart) && $chart}
|
||||
<div class="boxchart-overlay">
|
||||
<div class="boxchart">
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="value-container">
|
||||
{if isset($source) && $source}
|
||||
<span class="value skeleton-loading-wave loading-container-bar loading"></span>
|
||||
{elseif isset($value) && $value !== ''}
|
||||
<span class="value">{$value|escape:'html':'UTF-8'}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{if isset($href) && $href}
|
||||
<span class="arrow pull-right"><i class="icon-angle-right"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{if isset($href) && $href}
|
||||
<span class="arrow"><i class="icon-angle-right"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</{if isset($href) && $href}a{else}div{/if}>
|
||||
|
||||
{if isset($source) && $source}
|
||||
|
||||
@@ -147,47 +147,51 @@
|
||||
|
||||
form.submit();
|
||||
});
|
||||
{if $fields_optional|count}
|
||||
toggleVisibleColumns($('#form-{$list_id}'));
|
||||
{/if}
|
||||
$('#optional-list-toggle').on('click', function(e) {
|
||||
e.stopPropagation();
|
||||
})
|
||||
$('#form-{$list_id} input[name="list_fields_visibility"]').on('change', function(){
|
||||
toggleVisibleColumns($('#form-{$list_id}'));
|
||||
})
|
||||
});
|
||||
|
||||
function toggleVisibleColumns(form) {
|
||||
var list_fields_visibility = [];
|
||||
$(form).find('input[name="list_fields_visibility"]:checked').each(function(i, field){
|
||||
list_fields_visibility.push($(field).val());
|
||||
});
|
||||
|
||||
$(form).find('table.table .field_optional').hide();
|
||||
$(form).find('table.table .field_optional').each(function(i, val) {
|
||||
if (list_fields_visibility.includes($(this).data('key'))) {
|
||||
$(this).css('display', '');
|
||||
}
|
||||
});
|
||||
updateListVisibility(list_fields_visibility)
|
||||
}
|
||||
function updateListVisibility(list_fields_visibility) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: { "cache-control": "no-cache" },
|
||||
url: '{$action}',
|
||||
data: {
|
||||
ajax: 1,
|
||||
action: 'updateListVisivility',
|
||||
list_fields_visibility: list_fields_visibility
|
||||
},
|
||||
cache: false,
|
||||
dataType: 'json'
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/if}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
{if $fields_optional|count}
|
||||
toggleVisibleColumns($('#form-{$list_id}'));
|
||||
{/if}
|
||||
$('#optional-list-toggle').on('click', function(e) {
|
||||
e.stopPropagation();
|
||||
})
|
||||
$('#form-{$list_id} input[name="list_fields_visibility"]').on('change', function(){
|
||||
toggleVisibleColumns($('#form-{$list_id}'));
|
||||
})
|
||||
});
|
||||
|
||||
function toggleVisibleColumns(form) {
|
||||
var list_fields_visibility = [];
|
||||
$(form).find('input[name="list_fields_visibility"]:checked').each(function(i, field){
|
||||
list_fields_visibility.push($(field).val());
|
||||
});
|
||||
|
||||
$(form).find('table.table .field_optional').hide();
|
||||
$(form).find('table.table .field_optional').each(function(i, val) {
|
||||
if (list_fields_visibility.includes($(this).data('key'))) {
|
||||
$(this).show();
|
||||
}
|
||||
});
|
||||
updateListVisibility(list_fields_visibility)
|
||||
}
|
||||
function updateListVisibility(list_fields_visibility) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: { "cache-control": "no-cache" },
|
||||
url: '{$action}',
|
||||
data: {
|
||||
ajax: 1,
|
||||
action: 'updateListVisivility',
|
||||
list_fields_visibility: list_fields_visibility
|
||||
},
|
||||
cache: false,
|
||||
dataType: 'json'
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{block name="updatelist"}
|
||||
{if $new_list_header_design}
|
||||
<div class="list_action_wrapper">
|
||||
@@ -291,28 +295,30 @@
|
||||
<label class="col-xs-3" for="filter_input_{$key}">{$params['title']|escape:'html':'UTF-8'}</label>
|
||||
<div class="col-xs-9">
|
||||
{if $params.type == 'range'}
|
||||
{$field_name="`$list_id`Filter_{if isset($params.filter_key)}`$params.filter_key`{else}`$key`{/if}"}
|
||||
<div class="input_range">
|
||||
<input type="text" class="filter form-control" name="{$list_id}Filter_{if isset($params.filter_key)}{$params.filter_key}{else}{$key}{/if}[0]" placeholder="{l s='From'}" value="{if isset($params.value.0)}{$params.value.0}{/if}">
|
||||
<input type="text" class="filter form-control" name="{$list_id}Filter_{if isset($params.filter_key)}{$params.filter_key}{else}{$key}{/if}[1]" placeholder="{l s='To'}" value="{if isset($params.value.1)}{$params.value.1}{/if}">
|
||||
<input type="text" class="filter form-control" name="{$field_name}[0]" placeholder="{l s='From'}" value="{if isset($smarty.post[$field_name][0]) && $smarty.post[$field_name][0]}{$smarty.post[$field_name][0]}{elseif isset($params.value.0)}{$params.value.0}{/if}">
|
||||
<input type="text" class="filter form-control" name="{$field_name}[1]" placeholder="{l s='To'}" value="{if isset($smarty.post[$field_name][1]) && $smarty.post[$field_name][1]}{$smarty.post[$field_name][1]}{elseif isset($params.value.1)}{$params.value.1}{/if}">
|
||||
</div>
|
||||
{elseif $params.type == 'bool'}
|
||||
<select id="filter_input_{$key}" class="filter center" name="{$list_id}Filter_{if isset($params.filter_key)}{$params.filter_key}{else}{$key}{/if}">
|
||||
{$field_name="`$list_id`Filter_{if isset($params.filter_key)}`$params.filter_key`{else}`$key`{/if}"}
|
||||
<select id="filter_input_{$key}" class="filter center" name="{$field_name}">
|
||||
<option value="">-</option>
|
||||
<option value="1" {if $params.value == 1} selected="selected" {/if}>{l s='Yes'}</option>
|
||||
<option value="0" {if $params.value == 0 && $params.value != ''} selected="selected" {/if}>{l s='No'}</option>
|
||||
<option value="1" {if isset($smarty.post.$field_name) && $smarty.post.$field_name == 1} selected="selected"{elseif $params.value == 1} selected="selected" {/if}>{l s='Yes'}</option>
|
||||
<option value="0" {if isset($smarty.post.$field_name) && $smarty.post.$field_name == 0} selected="selected"{elseif $params.value == 0 && $params.value != ''} selected="selected" {/if}>{l s='No'}</option>
|
||||
</select>
|
||||
{elseif $params.type == 'date' || $params.type == 'datetime'}
|
||||
<div class="date_range">
|
||||
<div class="input-group center">
|
||||
<input type="text" class="filter datepicker date-input form-control" id="local_{$params.id_date}_0" name="local_{$params.name_date}[0]" placeholder="{l s='From'}" autocomplete="off"/>
|
||||
<input type="hidden" id="{$params.id_date}_0" name="{$params.name_date}[0]" value="{if isset($params.value.0)}{$params.value.0}{/if}">
|
||||
<input type="hidden" id="{$params.id_date}_0" name="{$params.name_date}[0]" value="{if isset($smarty.post[$params.name_date][0]) && $smarty.post[$params.name_date][0]}{$smarty.post[$params.name_date][0]}{elseif isset($params.value.0)}{$params.value.0}{/if}">
|
||||
<span class="input-group-addon">
|
||||
<i class="icon-calendar"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="input-group center">
|
||||
<input type="text" class="filter datepicker date-input form-control" id="local_{$params.id_date}_1" name="local_{$params.name_date}[1]" placeholder="{l s='To'}" autocomplete="off"/>
|
||||
<input type="hidden" id="{$params.id_date}_1" name="{$params.name_date}[1]" value="{if isset($params.value.1)}{$params.value.1}{/if}">
|
||||
<input type="hidden" id="{$params.id_date}_1" name="{$params.name_date}[1]" value="{if isset($smarty.post[$params.name_date][1]) && $smarty.post[$params.name_date][1]}{$smarty.post[$params.name_date][1]}{elseif isset($params.value.1)}{$params.value.1}{/if}">
|
||||
<span class="input-group-addon">
|
||||
<i class="icon-calendar"></i>
|
||||
</span>
|
||||
@@ -366,28 +372,30 @@
|
||||
</script>
|
||||
</div>
|
||||
{elseif $params.type == 'select'}
|
||||
{$field_name="`$list_id`Filter_`$params.filter_key`"}
|
||||
{if isset($params.multiple) && $params.multiple}
|
||||
<select id="filter_input_{$key}" class="filter{if isset($params.align) && $params.align == 'center'}center{/if} select_multiple_{$params.operator} chosen" multiple name="{$list_id}Filter_{$params.filter_key}[]" {if isset($params.width)} style="width:{$params.width}px"{/if}>
|
||||
<select id="filter_input_{$key}" class="filter{if isset($params.align) && $params.align == 'center'}center{/if} select_multiple_{$params.operator} chosen" multiple name="{$field_name}[]" {if isset($params.width)} style="width:{$params.width}px"{/if}>
|
||||
{if isset($params.list) && is_array($params.list)}
|
||||
{foreach $params.list AS $option_value => $option_display}
|
||||
<option value="{$option_value}" {if isset($params.value) && $params.value}{if in_array($option_value, $params.value)} selected="selected"{/if}{/if}>{$option_display}</option>
|
||||
<option value="{$option_value}" {if isset($smarty.post.$field_name) && $smarty.post.$field_name && in_array($option_value, $smarty.post.$field_name)} selected="selected"{elseif isset($params.value) && $params.value}{if in_array($option_value, $params.value)} selected="selected"{/if}{/if}>{$option_display}</option>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
{else}
|
||||
{if isset($params.filter_key)}
|
||||
<select id="filter_input_{$key}" class="filter{if isset($params.align) && $params.align == 'center'}center{/if} {if isset($params.class)}{$params.class}{/if}" name="{$list_id}Filter_{$params.filter_key}" {if isset($params.width)} style="width:{$params.width}px"{/if}>
|
||||
<select id="filter_input_{$key}" class="filter{if isset($params.align) && $params.align == 'center'}center{/if} {if isset($params.class)}{$params.class}{/if}" name="{$field_name}" {if isset($params.width)} style="width:{$params.width}px"{/if}>
|
||||
<option value="" {if $params.value == ''} selected="selected" {/if}>-</option>
|
||||
{if isset($params.list) && is_array($params.list)}
|
||||
{foreach $params.list AS $option_value => $option_display}
|
||||
<option value="{$option_value}" {if (string)$option_display === (string)$params.value || (string)$option_value === (string)$params.value} selected="selected"{/if}>{$option_display}</option>
|
||||
<option value="{$option_value}" {if isset($smarty.post.$field_name) && $smarty.post.$field_name == $option_value} selected="selected"{elseif (string)$option_display === (string)$params.value || (string)$option_value === (string)$params.value} selected="selected"{/if}>{$option_display}</option>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
{/if}
|
||||
{/if}
|
||||
{else}
|
||||
<input type="text" id="filter_input_{$key}" class="filter" name="{$list_id}Filter_{if isset($params.filter_key)}{$params.filter_key}{else}{$key}{/if}" value="{$params.value|escape:'html':'UTF-8'}" {if isset($params.width) && $params.width != 'auto'} style="width:{$params.width}px"{/if} />
|
||||
{$field_name="`$list_id`Filter_{if isset($params.filter_key)}`$params.filter_key`{else}`$key`{/if}"}
|
||||
<input type="text" id="filter_input_{$key}" class="filter" name="{$field_name}" value="{if isset($smarty.post.$field_name) && $smarty.post.$field_name}{$smarty.post.$field_name}{else}{$params.value|escape:'html':'UTF-8'}{/if}" {if isset($params.width) && $params.width != 'auto'} style="width:{$params.width}px"{/if} />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -138,6 +138,9 @@
|
||||
</select>
|
||||
{elseif isset($input.empty_message)}
|
||||
{$input.empty_message}
|
||||
{else}
|
||||
<select class="form-control fixed-width-xxl {if isset($field['class'])}{$field['class']}{/if}" name="{$key}"{if isset($field['js'])} onchange="{$field['js']}"{/if} id="{$key}" {if isset($field['size'])} size="{$field['size']}"{/if}>
|
||||
</select>
|
||||
{/if}
|
||||
</div>
|
||||
{elseif $field['type'] == 'bool'}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
</li>
|
||||
<li class="search-invoices search-option">
|
||||
<a href="#" data-value="{$QLO_SEARCH_TYPE_INVOICE}" data-placeholder="{l s='Invoice Number'}" data-icon="icon-book">
|
||||
<i class="icon-book"></i> {l s='Invoices'}
|
||||
<i class="icon-file-text"></i> {l s='Invoices'}
|
||||
</a>
|
||||
</li>
|
||||
<li class="search-carts search-option">
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -2380,7 +2380,6 @@ class CartCore extends ObjectModel
|
||||
$array = array();
|
||||
foreach($selectedServiceProducts as $selectedProduct) {
|
||||
if (isset($array[$selectedProduct['id_hotel']])) {
|
||||
$array[$selectedProduct['id_hotel']]['quantity'] += $selectedProduct['quantity'];
|
||||
$array[$selectedProduct['id_hotel']]['total_price_tax_excl'] += $selectedProduct['total_price_tax_excl'];
|
||||
$array[$selectedProduct['id_hotel']]['total_price_tax_incl'] += $selectedProduct['total_price_tax_incl'];
|
||||
} else {
|
||||
|
||||
@@ -78,6 +78,31 @@ class CartCustomerGuestDetailCore extends ObjectModel
|
||||
if (!trim($this->phone) || !Validate::isPhoneNumber($this->phone)) {
|
||||
$isValid = false;
|
||||
}
|
||||
|
||||
$className = 'CartCustomerGuestDetail';
|
||||
$rules = call_user_func(array($className, 'getValidationRules'), $className);
|
||||
|
||||
if (isset($rules['size']['firstname'])) {
|
||||
if (Tools::strlen(trim($this->firstname)) > $rules['size']['firstname']) {
|
||||
$isValid = false;
|
||||
}
|
||||
}
|
||||
if (isset($rules['size']['lastname'])) {
|
||||
if (Tools::strlen(trim($this->lastname)) > $rules['size']['lastname']) {
|
||||
$isValid = false;
|
||||
}
|
||||
}
|
||||
if (isset($rules['size']['email'])) {
|
||||
if (Tools::strlen(trim($this->email)) > $rules['size']['email']) {
|
||||
$isValid = false;
|
||||
}
|
||||
}
|
||||
if (isset($rules['size']['phone'])) {
|
||||
if (Tools::strlen(trim($this->phone)) > $rules['size']['phone']) {
|
||||
$isValid = false;
|
||||
}
|
||||
}
|
||||
|
||||
return $isValid;
|
||||
}
|
||||
}
|
||||
@@ -89,8 +89,9 @@ class CookieCore
|
||||
$this->_path = '/'.$this->_path;
|
||||
}
|
||||
$this->_path = rawurlencode($this->_path);
|
||||
$this->_path = str_replace('%2F', '/', $this->_path);
|
||||
$this->_path = str_replace('%7E', '~', $this->_path);
|
||||
$search = array('%2F', '%7E', '%28', '%29', '%2B', '%26');
|
||||
$replace = array('/', '~', '(', ')', '+', '&');
|
||||
$this->_path = str_replace($search, $replace, $this->_path);
|
||||
$this->_domain = $this->getDomain($shared_urls);
|
||||
$this->_sameSite = Configuration::get('PS_COOKIE_SAMESITE');
|
||||
$this->_name = 'QloApps-'.md5(($this->_standalone ? '' : _PS_VERSION_).$name.$this->_domain);
|
||||
|
||||
@@ -140,14 +140,15 @@ class CustomerThreadCore extends ObjectModel
|
||||
return Db::getInstance()->executeS($sql);
|
||||
}
|
||||
|
||||
public static function getIdCustomerThreadByEmailAndIdOrder($email, $id_order)
|
||||
public static function getIdCustomerThreadByEmailAndIdOrder($email, $id_order, $id_contact = false)
|
||||
{
|
||||
return Db::getInstance()->getValue('
|
||||
SELECT cm.id_customer_thread
|
||||
FROM '._DB_PREFIX_.'customer_thread cm
|
||||
WHERE cm.email = \''.pSQL($email).'\'
|
||||
AND cm.id_shop = '.(int)Context::getContext()->shop->id.'
|
||||
AND cm.id_order = '.(int)$id_order
|
||||
AND cm.id_order = '.(int)$id_order.' '.
|
||||
(($id_contact) ? ' AND cm.id_contact='.(int) $id_contact : ' ')
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ class GenderCore extends ObjectModel
|
||||
'type' => array('type' => self::TYPE_INT, 'required' => true),
|
||||
|
||||
/* Lang fields */
|
||||
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isString', 'required' => true, 'size' => 20),
|
||||
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 20),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -19,23 +19,15 @@
|
||||
* @license https://store.webkul.com/license.html
|
||||
*/
|
||||
|
||||
class MaintenanceAccessCore extends ObjectModel
|
||||
class MaintenanceAccessCore extends ObjectModel
|
||||
{
|
||||
|
||||
public $id_maintenance_access;
|
||||
public $ip_address;
|
||||
public $email;
|
||||
public $date_add;
|
||||
const USERNAME_ATTEMPTS_PER_QUARTER_HOUR = 3;
|
||||
const IP_ATTEMPTS_QUARTER_HOUR = 12;
|
||||
const USERNAME_ATTEMPTS_PER_HOUR = 6;
|
||||
const IP_ATTEMPTS_PER_HOUR = 24;
|
||||
const QUARTER_HOUR = 60*15;
|
||||
const HOUR = 60*60;
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
const LOGIN_ATTEMPTS_WINDOW = 30; /* in minutes */
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'maintenance_access',
|
||||
'primary' => 'id_maintenance_access',
|
||||
@@ -46,51 +38,40 @@ class MaintenanceAccessCore extends ObjectModel
|
||||
),
|
||||
);
|
||||
|
||||
public function cleanData()
|
||||
public function removeFailedAttempts($email, $ipAddress)
|
||||
{
|
||||
$time = (time() - (self::HOUR*2));
|
||||
Db::getInstance()->execute(
|
||||
'DELETE FROM `' . _DB_PREFIX_ .'maintenance_access`
|
||||
WHERE `date_add` < "' . pSQL(date("Y-m-d H:i:s", $time)) . '"'
|
||||
'DELETE FROM `' . _DB_PREFIX_ .'maintenance_access` ma
|
||||
WHERE (ma.`email` = "'.pSQL($email).'" AND ma.`ip_address` = "'.pSQL($ipAddress).'")'
|
||||
);
|
||||
}
|
||||
|
||||
public function getUserFailedCount($time, $email=false, $ip_address=false, $attempts)
|
||||
public function getFailedAttemptsCount($email, $ipAddress)
|
||||
{
|
||||
$sql = "SELECT COUNT(`id_maintenance_access`) FROM `". _DB_PREFIX_ ."maintenance_access` WHERE `date_add` > '"
|
||||
. pSQL(date('Y-m-d H:i:s', $time)) ."'";
|
||||
$sql = 'SELECT COUNT(ma.`id_maintenance_access`)
|
||||
FROM `'._DB_PREFIX_.'maintenance_access` ma
|
||||
WHERE (ma.`email` = "'.pSQL($email).'" OR ma.`ip_address` = "'.pSQL($ipAddress).'")
|
||||
AND TIMESTAMPDIFF(
|
||||
MINUTE,
|
||||
ma.`date_add`,
|
||||
(
|
||||
SELECT MAX(ma.`date_add`)
|
||||
FROM `'._DB_PREFIX_.'maintenance_access` ma
|
||||
WHERE (ma.`email` = "'.pSQL($email).'" OR ma.`ip_address` = "'.pSQL($ipAddress).'")
|
||||
AND TIMESTAMPDIFF(MINUTE, ma.`date_add`, NOW()) < '.(int) MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW.'
|
||||
)
|
||||
) < '.(int) MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW;
|
||||
|
||||
if ($email) {
|
||||
$sql .= " AND `email` = '".pSQL($email)."'";
|
||||
}
|
||||
|
||||
if ($ip_address) {
|
||||
$sql .= " AND `ip_address` = '".pSQL($ip_address)."'";
|
||||
}
|
||||
|
||||
return Db::getInstance()->getValue($sql) >= $attempts;
|
||||
return Db::getInstance()->getValue($sql);
|
||||
}
|
||||
|
||||
public function checkLimit($email)
|
||||
public function getLastAttempt($email, $ipAddress)
|
||||
{
|
||||
$has_error = false;
|
||||
$minutes_ago = time() - self::QUARTER_HOUR;
|
||||
$hours_ago = time() - self::HOUR;
|
||||
$ip_address = Tools::getRemoteAddr();
|
||||
|
||||
$has_error |= $this->getUserFailedCount(
|
||||
$minutes_ago, $email, false, self::USERNAME_ATTEMPTS_PER_QUARTER_HOUR
|
||||
)? true : $has_error;
|
||||
$has_error |= $this->getUserFailedCount(
|
||||
$minutes_ago, false, $ip_address, self::IP_ATTEMPTS_QUARTER_HOUR
|
||||
)? true : $has_error;
|
||||
$has_error |= $this->getUserFailedCount(
|
||||
$hours_ago, $email, false, self::USERNAME_ATTEMPTS_PER_HOUR
|
||||
)? true : $has_error;
|
||||
$has_error |= $this->getUserFailedCount(
|
||||
$hours_ago, false, $ip_address, self::IP_ATTEMPTS_PER_HOUR
|
||||
)? true : $has_error;
|
||||
|
||||
return $has_error;
|
||||
return Db::getInstance()->getRow(
|
||||
'SELECT *
|
||||
FROM `'._DB_PREFIX_.'maintenance_access` ma
|
||||
WHERE (ma.`email` = "'.pSQL($email).'" OR ma.`ip_address` = "'.pSQL($ipAddress).'")
|
||||
ORDER BY ma.`date_add` DESC'
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5369,7 +5369,7 @@ class ProductCore extends ObjectModel
|
||||
|
||||
$currentPosition = $this->getPositionInCategory();
|
||||
|
||||
if ($currentPosition && isset($result[$currentPosition])) {
|
||||
if ($currentPosition !== false && isset($result[$currentPosition])) {
|
||||
$save = $result[$currentPosition];
|
||||
unset($result[$currentPosition]);
|
||||
array_splice($result, (int)$position, 0, $save);
|
||||
|
||||
@@ -364,7 +364,7 @@ class ValidateCore
|
||||
*/
|
||||
public static function isCityName($city)
|
||||
{
|
||||
return preg_match(Tools::cleanNonUnicodeSupport('/^[^!<>;?=+@#"°{}_$%]*$/u'), $city);
|
||||
return preg_match(Tools::cleanNonUnicodeSupport('/^\p{L}+[^!<>;?=+@#"°{}_$%]*$/u'), $city);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
2
classes/cache/Cache.php
vendored
2
classes/cache/Cache.php
vendored
@@ -502,7 +502,7 @@ abstract class CacheCore
|
||||
$this->_deleteMulti($invalidKeys);
|
||||
|
||||
if ($keyToKeep) {
|
||||
$this->sql_tables_cached[$table][$keyToKeep] = $toKeep ?? null;
|
||||
$this->sql_tables_cached[$table][$keyToKeep] = isset($toKeep) ? $toKeep : null;
|
||||
}
|
||||
}
|
||||
$this->adjustTableCacheSize = false;
|
||||
|
||||
@@ -841,13 +841,13 @@ class AdminControllerCore extends Controller
|
||||
$this->ensureListIdDefinition();
|
||||
|
||||
$prefix = $this->getCookieFilterPrefix();
|
||||
|
||||
$filters = array();
|
||||
if (isset($this->list_id)) {
|
||||
foreach ($_POST as $key => $value) {
|
||||
if ($value === '') {
|
||||
unset($this->context->cookie->{$prefix.$key});
|
||||
} elseif (stripos($key, $this->list_id.'Filter_') === 0) {
|
||||
$this->context->cookie->{$prefix.$key} = !is_array($value) ? $value : json_encode($value);
|
||||
$filters[$prefix.$key] = !is_array($value) ? $value : json_encode($value);
|
||||
} elseif (stripos($key, 'submitFilter') === 0) {
|
||||
$this->context->cookie->$key = !is_array($value) ? $value : json_encode($value);
|
||||
}
|
||||
@@ -855,7 +855,7 @@ class AdminControllerCore extends Controller
|
||||
|
||||
foreach ($_GET as $key => $value) {
|
||||
if (stripos($key, $this->list_id.'Filter_') === 0) {
|
||||
$this->context->cookie->{$prefix.$key} = !is_array($value) ? $value : json_encode($value);
|
||||
$filters[$prefix.$key] = !is_array($value) ? $value : json_encode($value);
|
||||
} elseif (stripos($key, 'submitFilter') === 0) {
|
||||
$this->context->cookie->$key = !is_array($value) ? $value : json_encode($value);
|
||||
}
|
||||
@@ -863,65 +863,36 @@ class AdminControllerCore extends Controller
|
||||
if ($value === '' || $value == $this->_defaultOrderBy) {
|
||||
unset($this->context->cookie->{$prefix.$key});
|
||||
} else {
|
||||
$this->context->cookie->{$prefix.$key} = $value;
|
||||
$filters[$prefix.$key] = $value;
|
||||
}
|
||||
} elseif (stripos($key, $this->list_id.'Orderway') === 0 && Validate::isOrderWay($value)) {
|
||||
if ($value === '' || $value == $this->_defaultOrderWay) {
|
||||
unset($this->context->cookie->{$prefix.$key});
|
||||
} else {
|
||||
$this->context->cookie->{$prefix.$key} = $value;
|
||||
$filters[$prefix.$key] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$filters = $this->context->cookie->getFamily($prefix.$this->list_id.'Filter_');
|
||||
$definition = false;
|
||||
if (isset($this->className) && $this->className) {
|
||||
$definition = ObjectModel::getDefinition($this->className);
|
||||
if (empty($filters)) {
|
||||
$filters = $this->context->cookie->getFamily($prefix.$this->list_id.'Filter_');
|
||||
}
|
||||
|
||||
foreach ($filters as $key => $value) {
|
||||
/* Extracting filters from $_POST on key filter_ */
|
||||
if ($value != null && !strncmp($key, $prefix.$this->list_id.'Filter_', 7 + Tools::strlen($prefix.$this->list_id))) {
|
||||
$key_org = $key;
|
||||
$key = Tools::substr($key, 7 + Tools::strlen($prefix.$this->list_id));
|
||||
/* Table alias could be specified using a ! eg. alias!field */
|
||||
$tmp_tab = explode('!', $key);
|
||||
$filter = count($tmp_tab) > 1 ? $tmp_tab[1] : $tmp_tab[0];
|
||||
|
||||
if ($field = $this->filterToField($key, $filter)) {
|
||||
$type = (array_key_exists('filter_type', $field) ? $field['filter_type'] : (array_key_exists('type', $field) ? $field['type'] : false));
|
||||
if ((($type == 'date' || $type == 'datetime' || $type == 'range') || ($type == 'select' && (isset($field['multiple']) && $field['multiple'])))
|
||||
&& is_string($value)
|
||||
) {
|
||||
$value = json_decode($value, true);
|
||||
$key_org = $key;
|
||||
$key = Tools::substr($key, 7 + Tools::strlen($prefix.$this->list_id));
|
||||
/* Table alias could be specified using a ! eg. alias!field */
|
||||
$tmp_tab = explode('!', $key);
|
||||
$filter = count($tmp_tab) > 1 ? $tmp_tab[1] : $tmp_tab[0];
|
||||
if ($field = $this->filterToField($key, $filter)) {
|
||||
$type = (array_key_exists('filter_type', $field) ? $field['filter_type'] : (array_key_exists('type', $field) ? $field['type'] : false));
|
||||
if (($type == 'date' || $type == 'datetime' || $type == 'range')) {
|
||||
if (is_string($value)) {
|
||||
$filter_value = json_decode($value, true);
|
||||
}
|
||||
$key = isset($tmp_tab[1]) ? $tmp_tab[0].'.`'.$tmp_tab[1].'`' : '`'.$tmp_tab[0].'`';
|
||||
|
||||
// as in database 0 means position 1 in the renderlist
|
||||
if (isset($field['position']) && Validate::isInt($value)) {
|
||||
$value -= 1;
|
||||
}
|
||||
|
||||
// Assignment by reference
|
||||
if (array_key_exists('tmpTableFilter', $field)) {
|
||||
$sql_filter = & $this->_tmpTableFilter;
|
||||
} elseif (array_key_exists('havingFilter', $field)) {
|
||||
$sql_filter = & $this->_filterHaving;
|
||||
} else {
|
||||
$sql_filter = & $this->_filter;
|
||||
}
|
||||
|
||||
if (is_array($value)) {
|
||||
if ($type == 'select' && (isset($field['multiple']) && $field['multiple']) && isset($field['operator'])) {
|
||||
if ($field['operator'] == 'and') {
|
||||
$sql_filter .= ' AND '.pSQL($key).' IN ('.pSQL(implode(',', $value)).')';
|
||||
$this->_filterHaving .= ' AND COUNT(DISTINCT '.pSQL($key).') = '.(int) count($value);
|
||||
} elseif ($field['operator'] == 'or') {
|
||||
$sql_filter .= ' AND '.pSQL($key).' IN ('.pSQL(implode(',', $value)).')';
|
||||
}
|
||||
} elseif ($type == 'range') {
|
||||
if (is_array($filter_value)) {
|
||||
if ($type == 'range') {
|
||||
// set validation type
|
||||
if (isset($field['validation']) && $field['validation'] && method_exists('Validate', $field['validation'])) {
|
||||
$validation = $field['validation'];
|
||||
@@ -929,57 +900,120 @@ class AdminControllerCore extends Controller
|
||||
$validation = 'isUnsignedInt';
|
||||
}
|
||||
|
||||
if (isset($value[0]) && ($value[0] !== '' || $value[0] === 0)) {
|
||||
if (!Validate::$validation($value[0])) {
|
||||
$this->errors[] = Tools::displayError('The \'From\' value is invalid');
|
||||
} else {
|
||||
$sql_filter .= ' AND '.pSQL($key).' >= '.pSQL($value[0]);
|
||||
if (isset($filter_value[0]) && ($filter_value[0] !== '' || $filter_value[0] === 0)) {
|
||||
if (!Validate::$validation($filter_value[0])) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'From\' value is invalid'), $field['title']);
|
||||
}
|
||||
}
|
||||
if (isset($value[1]) && ($value[1] !== '' || $value[1] === 0)) {
|
||||
if (!Validate::$validation($value[1])) {
|
||||
$this->errors[] = Tools::displayError('The \'To\' value is invalid');
|
||||
} elseif ((isset($value[0]) && ($value[0] !== '' || $value[0] === 0)) && $value[0] > $value[1]) {
|
||||
$this->errors[] = Tools::displayError('The \'To\' value cannot be less than \'From\' value');
|
||||
} else {
|
||||
$sql_filter .= ' AND '.pSQL($key).' <= '.pSQL($value[1]);
|
||||
if (isset($filter_value[1]) && ($filter_value[1] !== '' || $filter_value[1] === 0)) {
|
||||
if (!Validate::$validation($filter_value[1])) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'To\' value is invalid'), $field['title']);
|
||||
} elseif ((isset($filter_value[0]) && ($filter_value[0] !== '' || $filter_value[0] === 0)) && $filter_value[0] > $filter_value[1]) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'To\' value cannot be less than \'From\' value'), $field['title']);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (isset($value[0]) && !empty($value[0])) {
|
||||
if (!Validate::isDate($value[0])) {
|
||||
$this->errors[] = Tools::displayError('The \'From\' date format is invalid (YYYY-MM-DD)');
|
||||
} else {
|
||||
$sql_filter .= ' AND '.pSQL($key).' >= \''.pSQL(Tools::dateFrom($value[0])).'\'';
|
||||
if (isset($filter_value[0]) && !empty($filter_value[0])) {
|
||||
if (!Validate::isDate($filter_value[0])) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'From\' date format is invalid (YYYY-MM-DD)'), $field['title']);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($value[1]) && !empty($value[1])) {
|
||||
if (!Validate::isDate($value[1])) {
|
||||
$this->errors[] = Tools::displayError('The \'To\' date format is invalid (YYYY-MM-DD)');
|
||||
} elseif (isset($value[0]) && !empty($value[0]) && strtotime($value[0]) > strtotime($value[1])) {
|
||||
$this->errors[] = Tools::displayError('The \'To\' date cannot be earlier than \'From\' date');
|
||||
} else {
|
||||
$sql_filter .= ' AND '.pSQL($key).' <= \''.pSQL(Tools::dateTo($value[1])).'\'';
|
||||
if (isset($filter_value[1]) && !empty($filter_value[1])) {
|
||||
if (!Validate::isDate($filter_value[1])) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'To\' date format is invalid (YYYY-MM-DD)'), $field['title']);
|
||||
} elseif (isset($filter_value[0]) && !empty($filter_value[0]) && strtotime($filter_value[0]) > strtotime($filter_value[1])) {
|
||||
$this->errors[] = sprintf(Tools::displayError('The %s field \'To\' date cannot be earlier than \'From\' date'), $field['title']);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$sql_filter .= ' AND ';
|
||||
$check_key = ($key == $this->identifier || $key == '`'.$this->identifier.'`');
|
||||
$alias = ($definition && !empty($definition['fields'][$filter]['shop'])) ? 'sa' : 'a';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($type == 'int' || $type == 'bool') {
|
||||
$sql_filter .= (($check_key || $key == '`active`') ? $alias.'.' : '').pSQL($key).' = '.(int)$value.' ';
|
||||
} elseif ($type == 'decimal') {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = '.(float)$value.' ';
|
||||
} elseif ($type == 'select') {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = \''.pSQL($value).'\' ';
|
||||
} elseif ($type == 'price') {
|
||||
$value = (float)str_replace(',', '.', $value);
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = '.pSQL(trim($value)).' ';
|
||||
} else {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' LIKE \'%'.pSQL(trim($value)).'%\' ';
|
||||
if (empty($this->errors)) {
|
||||
$definition = false;
|
||||
if (isset($this->className) && $this->className) {
|
||||
$definition = ObjectModel::getDefinition($this->className);
|
||||
}
|
||||
if ($filters) {
|
||||
foreach ($filters as $key => $value) {
|
||||
$this->context->cookie->$key = $value;
|
||||
|
||||
/* Extracting filters from $_POST on key filter_ */
|
||||
if ($value != null && !strncmp($key, $prefix.$this->list_id.'Filter_', 7 + Tools::strlen($prefix.$this->list_id))) {
|
||||
$key_org = $key;
|
||||
$key = Tools::substr($key, 7 + Tools::strlen($prefix.$this->list_id));
|
||||
/* Table alias could be specified using a ! eg. alias!field */
|
||||
$tmp_tab = explode('!', $key);
|
||||
$filter = count($tmp_tab) > 1 ? $tmp_tab[1] : $tmp_tab[0];
|
||||
|
||||
if ($field = $this->filterToField($key, $filter)) {
|
||||
$type = (array_key_exists('filter_type', $field) ? $field['filter_type'] : (array_key_exists('type', $field) ? $field['type'] : false));
|
||||
if ((($type == 'date' || $type == 'datetime' || $type == 'range') || ($type == 'select' && (isset($field['multiple']) && $field['multiple'])))
|
||||
&& is_string($value)
|
||||
) {
|
||||
$value = json_decode($value, true);
|
||||
}
|
||||
$key = isset($tmp_tab[1]) ? $tmp_tab[0].'.`'.$tmp_tab[1].'`' : '`'.$tmp_tab[0].'`';
|
||||
|
||||
// as in database 0 means position 1 in the renderlist
|
||||
if (isset($field['position']) && Validate::isInt($value)) {
|
||||
$value -= 1;
|
||||
}
|
||||
|
||||
// Assignment by reference
|
||||
if (array_key_exists('tmpTableFilter', $field)) {
|
||||
$sql_filter = & $this->_tmpTableFilter;
|
||||
} elseif (array_key_exists('havingFilter', $field)) {
|
||||
$sql_filter = & $this->_filterHaving;
|
||||
} else {
|
||||
$sql_filter = & $this->_filter;
|
||||
}
|
||||
|
||||
if (is_array($value)) {
|
||||
if ($type == 'select' && (isset($field['multiple']) && $field['multiple']) && isset($field['operator'])) {
|
||||
if ($field['operator'] == 'and') {
|
||||
$sql_filter .= ' AND '.pSQL($key).' IN ('.pSQL(implode(',', $value)).')';
|
||||
$this->_filterHaving .= ' AND COUNT(DISTINCT '.pSQL($key).') = '.(int) count($value);
|
||||
} elseif ($field['operator'] == 'or') {
|
||||
$sql_filter .= ' AND '.pSQL($key).' IN ('.pSQL(implode(',', $value)).')';
|
||||
}
|
||||
} elseif ($type == 'range') {
|
||||
|
||||
if (isset($value[0]) && ($value[0] !== '' || $value[0] === 0)) {
|
||||
$sql_filter .= ' AND '.pSQL($key).' >= '.pSQL($value[0]);
|
||||
}
|
||||
if (isset($value[1]) && ($value[1] !== '' || $value[1] === 0)) {
|
||||
$sql_filter .= ' AND '.pSQL($key).' <= '.pSQL($value[1]);
|
||||
}
|
||||
} else {
|
||||
if (isset($value[0]) && !empty($value[0])) {
|
||||
$sql_filter .= ' AND '.pSQL($key).' >= \''.pSQL(Tools::dateFrom($value[0])).'\'';
|
||||
}
|
||||
if (isset($value[1]) && !empty($value[1])) {
|
||||
$sql_filter .= ' AND '.pSQL($key).' <= \''.pSQL(Tools::dateTo($value[1])).'\'';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$sql_filter .= ' AND ';
|
||||
$check_key = ($key == $this->identifier || $key == '`'.$this->identifier.'`');
|
||||
$alias = ($definition && !empty($definition['fields'][$filter]['shop'])) ? 'sa' : 'a';
|
||||
|
||||
if ($type == 'int' || $type == 'bool') {
|
||||
$sql_filter .= (($check_key || $key == '`active`') ? $alias.'.' : '').pSQL($key).' = '.(int)$value.' ';
|
||||
} elseif ($type == 'decimal') {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = '.(float)$value.' ';
|
||||
} elseif ($type == 'select') {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = \''.pSQL($value).'\' ';
|
||||
} elseif ($type == 'price') {
|
||||
$value = (float)str_replace(',', '.', $value);
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' = '.pSQL(trim($value)).' ';
|
||||
} else {
|
||||
$sql_filter .= ($check_key ? $alias.'.' : '').pSQL($key).' LIKE \'%'.pSQL(trim($value)).'%\' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -989,7 +1023,7 @@ class AdminControllerCore extends Controller
|
||||
|
||||
public function processListVisibility()
|
||||
{
|
||||
$listFieldsVisibility = Tools::getValue('list_fields_visibility');
|
||||
$listFieldsVisibility = Tools::getValue('list_fields_visibility', array()); // To set optional list empty in case none is selected
|
||||
$controller = 'list_visibility_'.$this->context->controller->className;
|
||||
$this->context->cookie->$controller = json_encode($listFieldsVisibility);
|
||||
|
||||
@@ -1042,7 +1076,7 @@ class AdminControllerCore extends Controller
|
||||
if ($this->filter && $this->action != 'reset_filters') {
|
||||
$this->processFilter();
|
||||
}
|
||||
if (isset($_POST) && count($_POST) && (int)Tools::getValue('submitFilter'.$this->list_id) || Tools::isSubmit('submitReset'.$this->list_id)) {
|
||||
if (empty($this->errors) && isset($_POST) && count($_POST) && (int)Tools::getValue('submitFilter'.$this->list_id) || Tools::isSubmit('submitReset'.$this->list_id)) {
|
||||
$this->setRedirectAfter(self::$currentIndex.'&token='.$this->token.(Tools::isSubmit('submitFilter'.$this->list_id) ? '&submitFilter'.$this->list_id.'='.(int)Tools::getValue('submitFilter'.$this->list_id) : '').(isset($_GET['id_'.$this->list_id]) ? '&id_'.$this->list_id.'='.(int)$_GET['id_'.$this->list_id] : ''));
|
||||
}
|
||||
|
||||
|
||||
@@ -776,6 +776,7 @@ class FrontControllerCore extends Controller
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('SubmitLogin')
|
||||
&& !Configuration::get('PS_SHOP_ENABLE')
|
||||
&& Configuration::get('PS_ALLOW_EMP')
|
||||
&& !Context::getContext()->cookie->enable_maintenance_view
|
||||
) {
|
||||
@@ -812,56 +813,102 @@ class FrontControllerCore extends Controller
|
||||
|
||||
protected function processLogin($email, $passwd)
|
||||
{
|
||||
$result = false;
|
||||
$objMaintenanceAccess = new MaintenanceAccess();
|
||||
$remoteIpAddress = Tools::getRemoteAddr();
|
||||
$maxAttempts = Configuration::get('PS_ALLOW_EMP_MAX_ATTEMPTS');
|
||||
|
||||
/* Check fields validity */
|
||||
if (empty($email)) {
|
||||
$this->errors[] = Tools::displayError('Email is empty.');
|
||||
} elseif (!Validate::isEmail($email)) {
|
||||
$this->errors[] = Tools::displayError('Invalid email address.');
|
||||
}
|
||||
if ($maxAttempts) {
|
||||
$objMaintenanceAccess = new MaintenanceAccess();
|
||||
$attemptsCount = $objMaintenanceAccess->getFailedAttemptsCount($email, $remoteIpAddress); // does not include the current one
|
||||
if ($attemptsCount >= $maxAttempts) {
|
||||
if ($lastAttempt = $objMaintenanceAccess->getLastAttempt($email, $remoteIpAddress)) {
|
||||
$minutesElapsed = (int) ((time() - strtotime($lastAttempt['date_add'])) / 60);
|
||||
|
||||
if (empty($passwd)) {
|
||||
$this->errors[] = Tools::displayError('The password field is blank.');
|
||||
} elseif (!Validate::isPasswd($passwd)) {
|
||||
$this->errors[] = Tools::displayError('Invalid password.');
|
||||
}
|
||||
|
||||
if ($objMaintenanceAccess->checkLimit($email)) {
|
||||
$this->errors[] =Tools::displayError('You have exceeded the limit of login attempts, please try after some time');
|
||||
if ($minutesElapsed <= MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW) {
|
||||
$minutesLeft = MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW - $minutesElapsed;
|
||||
if ($minutesLeft > 1) {
|
||||
$this->errors[] = Tools::displayError(sprintf('You have reached the limit of login attempts, please try after %d minutes.', $minutesLeft));
|
||||
} elseif ($minutesLeft == 1) {
|
||||
$this->errors[] = Tools::displayError(sprintf('You have reached the limit of login attempts, please try after %d minute.', $minutesLeft));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!count($this->errors)) {
|
||||
// Find employee
|
||||
$this->context->employee = new Employee();
|
||||
$is_employee_loaded = $this->context->employee->getByEmail($email, $passwd);
|
||||
$employee_associated_shop = $this->context->employee->getAssociatedShops();
|
||||
if (!$is_employee_loaded) {
|
||||
$this->errors[] = Tools::displayError('The Employee does not exist, or the password provided is incorrect.');
|
||||
$this->context->employee->logout();
|
||||
} elseif (empty($employee_associated_shop) && !$this->context->employee->isSuperAdmin()) {
|
||||
$this->errors[] = Tools::displayError('This employee does not manage the shop anymore (Either the shop has been deleted or permissions have been revoked).');
|
||||
$this->context->employee->logout();
|
||||
} else {
|
||||
// Update cookie
|
||||
$cookie = Context::getContext()->cookie;
|
||||
$cookie->enable_maintenance_view = $this->context->employee->id;
|
||||
$cookie->remote_addr = ip2long(Tools::getRemoteAddr());
|
||||
$cookie->write();
|
||||
if (empty($email)) {
|
||||
$this->errors[] = Tools::displayError('The Email address field is blank.');
|
||||
} elseif (!Validate::isEmail($email)) {
|
||||
$this->errors[] = Tools::displayError('Invalid Email address.');
|
||||
}
|
||||
if (count($this->errors)) {
|
||||
$this->context->smarty->assign('errors', $this->errors);
|
||||
$objMaintenanceAccess->email = $email;
|
||||
$objMaintenanceAccess->ip_address = Tools::getRemoteAddr();
|
||||
$objMaintenanceAccess->save();
|
||||
|
||||
if (empty($passwd)) {
|
||||
$this->errors[] = Tools::displayError('The Password field is blank.');
|
||||
} elseif (!Validate::isPasswd($passwd)) {
|
||||
$this->errors[] = Tools::displayError('Invalid Password.');
|
||||
}
|
||||
|
||||
if (!count($this->errors)) {
|
||||
// Find employee
|
||||
$this->context->employee = new Employee();
|
||||
$is_employee_loaded = $this->context->employee->getByEmail($email, $passwd);
|
||||
$employee_associated_shop = $this->context->employee->getAssociatedShops();
|
||||
|
||||
if (!$is_employee_loaded) {
|
||||
$this->errors[] = Tools::displayError('The employee does not exist, or the password provided is incorrect.');
|
||||
$this->context->employee->logout();
|
||||
} elseif (empty($employee_associated_shop) && !$this->context->employee->isSuperAdmin()) {
|
||||
$this->errors[] = Tools::displayError('This employee does not manage the website anymore (either the website has been deleted or permissions have been revoked).');
|
||||
$this->context->employee->logout();
|
||||
} else {
|
||||
// Login successful
|
||||
// Update cookie
|
||||
$cookie = Context::getContext()->cookie;
|
||||
$cookie->enable_maintenance_view = $this->context->employee->id;
|
||||
$cookie->remote_addr = ip2long($remoteIpAddress);
|
||||
$cookie->write();
|
||||
|
||||
// Reset attempts count on successful login
|
||||
$objMaintenanceAccess->removeFailedAttempts($email, $remoteIpAddress);
|
||||
}
|
||||
|
||||
if (count($this->errors)) {
|
||||
// Save only if attempts limit is set
|
||||
if ($maxAttempts) {
|
||||
$objMaintenanceAccess = new MaintenanceAccess();
|
||||
$objMaintenanceAccess->email = $email;
|
||||
$objMaintenanceAccess->ip_address = $remoteIpAddress;
|
||||
$objMaintenanceAccess->save();
|
||||
|
||||
if ($attemptsCount < $maxAttempts) {
|
||||
$attemptsLeft = $maxAttempts - $attemptsCount - 1;
|
||||
|
||||
if ($attemptsLeft > 0) {
|
||||
if ($attemptsLeft > 1) {
|
||||
$this->errors[] = Tools::displayError(sprintf('%d attempts left.', ($maxAttempts - $attemptsCount - 1)));
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError(sprintf('%d attempt left.', ($maxAttempts - $attemptsCount - 1)));
|
||||
}
|
||||
} else {
|
||||
if (MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW > 1) {
|
||||
$this->errors[] = Tools::displayError(sprintf('You have reached the limit of login attempts, please try after %d minutes.', MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW));
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError(sprintf('You have reached the limit of login attempts, please try after %d minute.', MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->context->smarty->assign('errors', $this->errors);
|
||||
} else {
|
||||
Tools::redirect('index.php');
|
||||
}
|
||||
} else {
|
||||
Tools::redirect('index.php');
|
||||
$this->context->smarty->assign('errors', $this->errors);
|
||||
}
|
||||
} else {
|
||||
$this->context->smarty->assign('errors', $this->errors);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -337,7 +337,7 @@ class HelperListCore extends Helper
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->fields_list as $key => $params) {
|
||||
foreach ($this->fields_list as $key => $field) {
|
||||
if (isset($field['optional']) && $field['optional']) {
|
||||
$this->fields_optional[$key] = $field;
|
||||
}
|
||||
@@ -733,8 +733,8 @@ class HelperListCore extends Helper
|
||||
}
|
||||
if (isset($field['optional']) && $field['optional']) {
|
||||
$this->fields_optional[$key] = $field;
|
||||
if ((empty($list_visibility) && isset($field['visible_default']) && $field['visible_default'])
|
||||
|| $list_visibility && in_array($key , $list_visibility)
|
||||
if ((!is_array($list_visibility) && isset($field['visible_default']) && $field['visible_default'])
|
||||
|| ($list_visibility && in_array($key , $list_visibility))
|
||||
) {
|
||||
$this->fields_optional[$key]['selected'] = true;
|
||||
}
|
||||
|
||||
@@ -382,6 +382,23 @@ class HelperTreeHotelsCore extends TreeCore
|
||||
$this->addAction($expand_all);
|
||||
|
||||
if ($this->useCheckBox()) {
|
||||
if ($this->useBulkActions()) {
|
||||
$check_all = new TreeToolbarLink(
|
||||
'Check All',
|
||||
'#',
|
||||
'checkAllAssociatedHotels($(\'#'.$this->getId().'\'));return false;',
|
||||
'icon-check-sign');
|
||||
$check_all->setAttribute('id', 'check-all-'.$this->getId());
|
||||
$uncheck_all = new TreeToolbarLink(
|
||||
'Uncheck All',
|
||||
'#',
|
||||
'uncheckAllAssociatedHotels($(\'#'.$this->getId().'\'));return false;',
|
||||
'icon-check-empty');
|
||||
$uncheck_all->setAttribute('id', 'uncheck-all-'.$this->getId());
|
||||
$this->addAction($check_all);
|
||||
$this->addAction($uncheck_all);
|
||||
}
|
||||
|
||||
$this->setNodeFolderTemplate('tree_node_hotel_folder_checkbox.tpl');
|
||||
$this->setNodeItemTemplate('tree_node_hotel_item_checkbox.tpl');
|
||||
$this->setAttribute('use_checkbox', $this->useCheckBox());
|
||||
|
||||
@@ -77,6 +77,7 @@ abstract class ModuleGraphCore extends Module
|
||||
if (is_callable(array($this, 'setDayValues'))) {
|
||||
$this->setDayValues($layers);
|
||||
}
|
||||
$this->_titles['x'][] = $this->l('Time');
|
||||
}
|
||||
// If the granularity is inferior to 1 month
|
||||
// @TODO : change to manage 28 to 31 days
|
||||
@@ -110,6 +111,7 @@ abstract class ModuleGraphCore extends Module
|
||||
if (is_callable(array($this, 'setMonthValues'))) {
|
||||
$this->setMonthValues($layers);
|
||||
}
|
||||
$this->_titles['x'][] = $this->l('Date');
|
||||
}
|
||||
// If the granularity is less than 1 year
|
||||
elseif (strtotime('-1 year', strtotime($this->_employee->stats_date_to)) < strtotime($this->_employee->stats_date_from)) {
|
||||
@@ -141,6 +143,7 @@ abstract class ModuleGraphCore extends Module
|
||||
if (is_callable(array($this, 'setYearValues'))) {
|
||||
$this->setYearValues($layers);
|
||||
}
|
||||
$this->_titles['x'][] = $this->l('Month');
|
||||
}
|
||||
// If the granularity is greater than 1 year
|
||||
else {
|
||||
@@ -163,6 +166,7 @@ abstract class ModuleGraphCore extends Module
|
||||
if (is_callable(array($this, 'setAllTimeValues'))) {
|
||||
$this->setAllTimeValues($layers);
|
||||
}
|
||||
$this->_titles['x'][] = $this->l('Year');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,7 +214,7 @@ abstract class ModuleGraphCore extends Module
|
||||
if (isset($this->_values[$key])) {
|
||||
// We don't want strings to be divided. Example: product name
|
||||
if (is_numeric($this->_values[$key])) {
|
||||
$this->_csv .= $this->_values[$key] / (($datas['type'] == 'pie') ? $total : 1);
|
||||
$this->_csv .= $this->_values[$key] * 100 / (($datas['type'] == 'pie') ? $total : 1) . '%';
|
||||
} else {
|
||||
$this->_csv .= $this->_values[$key];
|
||||
}
|
||||
@@ -220,7 +224,7 @@ abstract class ModuleGraphCore extends Module
|
||||
} else {
|
||||
// We don't want strings to be divided. Example: product name
|
||||
if (is_numeric($this->_values[$i][$key])) {
|
||||
$this->_csv .= $this->_values[$i][$key] / (($datas['type'] == 'pie') ? $total : 1);
|
||||
$this->_csv .= $this->_values[$i][$key] * 100 / (($datas['type'] == 'pie') ? $total : 1) . '%';
|
||||
} else {
|
||||
$this->_csv .= $this->_values[$i][$key];
|
||||
}
|
||||
|
||||
@@ -153,7 +153,10 @@ abstract class ModuleGridCore extends Module
|
||||
protected function csvExport($datas)
|
||||
{
|
||||
$this->_sort = $datas['defaultSortColumn'];
|
||||
$this->setLang(Context::getContext()->language->id);
|
||||
$context = Context::getContext();
|
||||
$this->setLang($context->language->id);
|
||||
$this->setEmployee($context->employee->id);
|
||||
|
||||
if (isset($datas['option'])) {
|
||||
$this->setOption($datas['option'], $layers);
|
||||
}
|
||||
|
||||
@@ -2631,9 +2631,12 @@ class OrderCore extends ObjectModel
|
||||
* Order::ORDER_COMPLETE_REFUND_FLAG for complete refunded and
|
||||
* Order::ORDER_COMPLETE_CANCELLATION_FLAG for completely cancelled and
|
||||
* Order::ORDER_COMPLETE_CANCELLATION_OR_REFUND_REQUEST_FLAG for all rooms are either cancelled or requested for refunded
|
||||
*
|
||||
* @param integer includeCheckIn = 1: If you want to get result for rooms that are refunded or cancelled Or Checkin/Checkout. Send $action = 0
|
||||
*
|
||||
* @return boolean: true if order has been completely refunded as per requested parameters or false
|
||||
*/
|
||||
public function hasCompletelyRefunded($action = 0)
|
||||
public function hasCompletelyRefunded($action = 0, $includeCheckIn = 0)
|
||||
{
|
||||
$objHotelBooking = new HotelBookingdetail();
|
||||
if ($orderBookings = $objHotelBooking->getOrderCurrentDataByOrderId($this->id)) {
|
||||
@@ -2658,11 +2661,18 @@ class OrderCore extends ObjectModel
|
||||
} elseif ($action == Order::ORDER_COMPLETE_CANCELLATION_OR_REFUND_REQUEST_FLAG) {
|
||||
foreach ($orderBookings as $booking) {
|
||||
if (!$booking['is_refunded']) {
|
||||
if (!OrderReturn::getOrdersReturnDetail($this->id, 0, $booking['id'])) {
|
||||
// If booking refund request is created and request is completed but booking is not refunded then return false
|
||||
if ($bookingRefundDetail = OrderReturn::getOrdersReturnDetail($this->id, 0, $booking['id'])) {
|
||||
$bookingRefundDetail = reset($bookingRefundDetail);
|
||||
if ($bookingRefundDetail['refunded']) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
// Default process to check if order is fully refunded or cancelled or not
|
||||
} else {
|
||||
@@ -2670,6 +2680,16 @@ class OrderCore extends ObjectModel
|
||||
$uniqueRefundedBookings = array_unique(array_column($orderBookings, 'is_refunded'));
|
||||
if (count($uniqueRefundedBookings) == 1 && $uniqueRefundedBookings[0] == 1) {
|
||||
return true;
|
||||
} elseif ($includeCheckIn) {
|
||||
foreach ($orderBookings as $booking) {
|
||||
if ($booking['is_refunded'] == 0
|
||||
&& !OrderReturn::getOrdersReturnDetail($this->id, 0, $booking['id'])
|
||||
&& $booking['id_status'] == HotelBookingDetail::STATUS_ALLOTED
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2727,7 +2747,12 @@ class OrderCore extends ObjectModel
|
||||
if ($orderBookings = $objHotelBooking->getOrderCurrentDataByOrderId($this->id)) {
|
||||
foreach ($orderBookings as $orderBooking) {
|
||||
// If booking is refunded then no need to check inventory
|
||||
if ((OrderReturn::getOrdersReturnDetail($this->id, 0, $orderBooking['id']) && $orderBooking['is_refunded'])
|
||||
if ($bookingRefundDetail = OrderReturn::getOrdersReturnDetail($this->id, 0, $orderBooking['id'])) {
|
||||
$bookingRefundDetail = reset($bookingRefundDetail);
|
||||
}
|
||||
|
||||
// $bookingRefundDetail['id_customization'] is 1 for only refunded request completed and refunded bookings
|
||||
if (($bookingRefundDetail && $bookingRefundDetail['refunded'] && $orderBooking['is_refunded'] && $bookingRefundDetail['id_customization'])
|
||||
|| ($orderBooking['is_cancelled'] && $orderBooking['is_refunded'])
|
||||
) {
|
||||
continue;
|
||||
|
||||
@@ -34,12 +34,12 @@ class OrderCustomerGuestDetailCore extends ObjectModel
|
||||
'table' => 'order_customer_guest_detail',
|
||||
'primary' => 'id_order_customer_guest_detail',
|
||||
'fields' => array(
|
||||
'id_order' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
|
||||
'id_order' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'id_gender' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'),
|
||||
'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'size' => 32),
|
||||
'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'size' => 32),
|
||||
'email' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'size' => 128),
|
||||
'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32),
|
||||
'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'size' => 32, 'required' => true),
|
||||
'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'size' => 32, 'required' => true),
|
||||
'email' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'size' => 128, 'required' => true),
|
||||
'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32, 'required' => true),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
|
||||
'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
|
||||
),
|
||||
@@ -53,22 +53,4 @@ class OrderCustomerGuestDetailCore extends ObjectModel
|
||||
WHERE `id_order` = '.(int)$id_order
|
||||
);
|
||||
}
|
||||
|
||||
public function validateGuestInfo()
|
||||
{
|
||||
$isValid = true;
|
||||
if (!trim($this->firstname) || !Validate::isName($this->firstname)) {
|
||||
$isValid = false;
|
||||
}
|
||||
if (!trim($this->lastname) || !Validate::isName($this->lastname)) {
|
||||
$isValid = false;
|
||||
}
|
||||
if (!trim($this->email) || !Validate::isEmail($this->email)) {
|
||||
$isValid = false;
|
||||
}
|
||||
if (!trim($this->phone) || !Validate::isPhoneNumber($this->phone)) {
|
||||
$isValid = false;
|
||||
}
|
||||
return $isValid;
|
||||
}
|
||||
}
|
||||
@@ -857,4 +857,103 @@ class OrderDetailCore extends ObjectModel
|
||||
|
||||
return $wholesale_price;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param OrderDetail $order_detail
|
||||
* @param int $qty_cancel_product
|
||||
* @param bool $delete
|
||||
*/
|
||||
public function reinjectQuantity($order_detail, $qty_cancel_product, $delete = false)
|
||||
{
|
||||
$errors = array();
|
||||
$context = Context::getContext();
|
||||
// Reinject product
|
||||
$reinjectable_quantity = (int)$order_detail->product_quantity - (int)$order_detail->product_quantity_reinjected;
|
||||
$quantity_to_reinject = $qty_cancel_product > $reinjectable_quantity ? $reinjectable_quantity : $qty_cancel_product;
|
||||
// @since 1.5.0 : Advanced Stock Management
|
||||
$product_to_inject = new Product($order_detail->product_id, false, (int)$context->language->id, (int)$order_detail->id_shop);
|
||||
|
||||
$product = new Product($order_detail->product_id, false, (int)$context->language->id, (int)$order_detail->id_shop);
|
||||
|
||||
if (Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') && $product->advanced_stock_management && $order_detail->id_warehouse != 0) {
|
||||
$manager = StockManagerFactory::getManager();
|
||||
$movements = StockMvt::getNegativeStockMvts(
|
||||
$order_detail->id_order,
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
$quantity_to_reinject
|
||||
);
|
||||
$left_to_reinject = $quantity_to_reinject;
|
||||
foreach ($movements as $movement) {
|
||||
if ($left_to_reinject > $movement['physical_quantity']) {
|
||||
$quantity_to_reinject = $movement['physical_quantity'];
|
||||
}
|
||||
|
||||
$left_to_reinject -= $quantity_to_reinject;
|
||||
if (Pack::isPack((int)$product->id)) {
|
||||
// Gets items
|
||||
if ($product->pack_stock_type == 1 || $product->pack_stock_type == 2 || ($product->pack_stock_type == 3 && Configuration::get('PS_PACK_STOCK_TYPE') > 0)) {
|
||||
$products_pack = Pack::getItems((int)$product->id, (int)Configuration::get('PS_LANG_DEFAULT'));
|
||||
// Foreach item
|
||||
foreach ($products_pack as $product_pack) {
|
||||
if ($product_pack->advanced_stock_management == 1) {
|
||||
$manager->addProduct(
|
||||
$product_pack->id,
|
||||
$product_pack->id_pack_product_attribute,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$product_pack->pack_quantity * $quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($product->pack_stock_type == 0 || $product->pack_stock_type == 2 ||
|
||||
($product->pack_stock_type == 3 && (Configuration::get('PS_PACK_STOCK_TYPE') == 0 || Configuration::get('PS_PACK_STOCK_TYPE') == 2))) {
|
||||
$manager->addProduct(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$manager->addProduct(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$id_product = $order_detail->product_id;
|
||||
if ($delete) {
|
||||
$order_detail->delete();
|
||||
}
|
||||
StockAvailable::synchronize($id_product);
|
||||
} elseif ($order_detail->id_warehouse == 0) {
|
||||
StockAvailable::updateQuantity(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
$quantity_to_reinject,
|
||||
$order_detail->id_shop
|
||||
);
|
||||
|
||||
if ($delete) {
|
||||
$order_detail->delete();
|
||||
}
|
||||
} else {
|
||||
$errors[] = Tools::displayError('This product cannot be re-stocked.');
|
||||
}
|
||||
|
||||
return $errors;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,9 +177,18 @@ class OrderReturnCore extends ObjectModel
|
||||
return (int)($data['total']);
|
||||
}
|
||||
|
||||
public function getOrderRefundRequestedBookings($idOrder, $idOrderReturn = 0, $onlyBookingIds = 0, $customerView = 0)
|
||||
/**
|
||||
* Get order refund requested bookings
|
||||
* @param integer $idOrder
|
||||
* @param integer $idOrderReturn
|
||||
* @param integer $onlyBookingIds
|
||||
* @param integer $customerView
|
||||
* @param integer $skipReqCompletedNonRefunded: send 1 if you want to skip refund request completed but non-refunded booking
|
||||
* @return array of refund requested bookings
|
||||
*/
|
||||
public function getOrderRefundRequestedBookings($idOrder, $idOrderReturn = 0, $onlyBookingIds = 0, $customerView = 0, $skipReqCompletedNonRefunded = 0)
|
||||
{
|
||||
$sql = 'SELECT hbd.*, ord.* FROM `'._DB_PREFIX_.'order_return` orr';
|
||||
$sql = 'SELECT hbd.*, ord.*, orr.`state` as id_return_state FROM `'._DB_PREFIX_.'order_return` orr';
|
||||
$sql .= ' LEFT JOIN `'._DB_PREFIX_.'order_return_detail` ord ON (orr.`id_order_return` = ord.`id_order_return`)';
|
||||
$sql .= ' LEFT JOIN `'._DB_PREFIX_.'htl_booking_detail` hbd ON (hbd.`id` = ord.`id_htl_booking`)';
|
||||
$sql .= ' WHERE orr.`id_order` = '.(int)$idOrder;
|
||||
@@ -189,79 +198,92 @@ class OrderReturnCore extends ObjectModel
|
||||
}
|
||||
|
||||
if ($returnDetails = Db::getInstance()->executeS($sql)) {
|
||||
if ($customerView) {
|
||||
$returnsCustView = array();
|
||||
}
|
||||
|
||||
$objOrder = new Order($idOrder);
|
||||
$objBookingDemands = new HotelBookingDemands();
|
||||
$objRoomTypeServiceProductOrderDetail = new RoomTypeServiceProductOrderDetail();
|
||||
|
||||
foreach ($returnDetails as $key => &$bookingRow) {
|
||||
if ($skipReqCompletedNonRefunded) {
|
||||
$objReturnState = new OrderReturnState($bookingRow['id_return_state']);
|
||||
if ($objReturnState->refunded && !$bookingRow['is_refunded']) {
|
||||
unset($returnDetails[$key]);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$onlyBookingIds) {
|
||||
$bookingRow['extra_service_total_paid_amount'] = 0;
|
||||
$bookingRow['extra_service_total_price_tax_incl'] = 0;
|
||||
$bookingRow['room_paid_amount'] = 0;
|
||||
if ($bookingRow['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['room_paid_amount'] = ($objOrder->total_paid_real*$bookingRow['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
}
|
||||
$roomSelectedDemands = $objBookingDemands->getRoomTypeBookingExtraDemands(
|
||||
$idOrder,
|
||||
$bookingRow['id_product'],
|
||||
$bookingRow['id_room'],
|
||||
$bookingRow['date_from'],
|
||||
$bookingRow['date_to'],
|
||||
0
|
||||
);
|
||||
if (count($roomSelectedDemands)) {
|
||||
foreach ($roomSelectedDemands as $demand) {
|
||||
if ($demand['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['extra_service_total_paid_amount'] += ($objOrder->total_paid_real*$demand['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
$bookingRow['extra_service_total_price_tax_incl'] += $demand['total_price_tax_incl'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($roomSelectedServices = $objRoomTypeServiceProductOrderDetail->getSelectedServicesForRoom(
|
||||
$bookingRow['id_htl_booking']
|
||||
)) {
|
||||
if (count($roomSelectedServices['additional_services'])) {
|
||||
foreach ($roomSelectedServices['additional_services'] as $service) {
|
||||
if ($service['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['extra_service_total_paid_amount'] += ($objOrder->total_paid_real*$service['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
$bookingRow['extra_service_total_price_tax_incl'] += $service['total_price_tax_incl'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($customerView) {
|
||||
$dateJoin = $bookingRow['id_product'].'_'.strtotime($bookingRow['date_from']).strtotime($bookingRow['date_to']);
|
||||
if (isset($returnsCustView[$dateJoin]['num_rooms'])) {
|
||||
$returnsCustView[$dateJoin]['num_rooms'] += 1;
|
||||
$returnsCustView[$dateJoin]['refunded_amount'] += $bookingRow['refunded_amount'];
|
||||
$returnsCustView[$dateJoin]['total_price_tax_incl'] += $bookingRow['total_price_tax_incl'];
|
||||
$returnsCustView[$dateJoin]['total_paid_amount'] += $bookingRow['total_paid_amount'];
|
||||
} else {
|
||||
unset($bookingRow['id_room']);
|
||||
unset($bookingRow['room_num']);
|
||||
unset($bookingRow['id_htl_booking']);
|
||||
$returnsCustView[$dateJoin] = $bookingRow;
|
||||
$returnsCustView[$dateJoin]['num_rooms'] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($onlyBookingIds) {
|
||||
return array_column($returnDetails, 'id_htl_booking');
|
||||
}
|
||||
|
||||
if ($customerView) {
|
||||
$returnsCustView = array();
|
||||
}
|
||||
|
||||
$objBookingDemands = new HotelBookingDemands();
|
||||
$objRoomTypeServiceProductOrderDetail = new RoomTypeServiceProductOrderDetail();
|
||||
$objOrder = new Order($idOrder);
|
||||
foreach ($returnDetails as &$bookingRow) {
|
||||
$bookingRow['extra_service_total_paid_amount'] = 0;
|
||||
$bookingRow['extra_service_total_price_tax_incl'] = 0;
|
||||
$bookingRow['room_paid_amount'] = 0;
|
||||
if ($bookingRow['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['room_paid_amount'] = ($objOrder->total_paid_real*$bookingRow['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
}
|
||||
$roomSelectedDemands = $objBookingDemands->getRoomTypeBookingExtraDemands(
|
||||
$idOrder,
|
||||
$bookingRow['id_product'],
|
||||
$bookingRow['id_room'],
|
||||
$bookingRow['date_from'],
|
||||
$bookingRow['date_to'],
|
||||
0
|
||||
);
|
||||
if (count($roomSelectedDemands)) {
|
||||
foreach ($roomSelectedDemands as $demand) {
|
||||
if ($demand['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['extra_service_total_paid_amount'] += ($objOrder->total_paid_real*$demand['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
$bookingRow['extra_service_total_price_tax_incl'] += $demand['total_price_tax_incl'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($roomSelectedServices = $objRoomTypeServiceProductOrderDetail->getSelectedServicesForRoom(
|
||||
$bookingRow['id_htl_booking']
|
||||
)) {
|
||||
if (count($roomSelectedServices['additional_services'])) {
|
||||
foreach ($roomSelectedServices['additional_services'] as $service) {
|
||||
if ($service['total_price_tax_incl'] > 0) {
|
||||
if ($objOrder->total_paid_real > 0) {
|
||||
$bookingRow['extra_service_total_paid_amount'] += ($objOrder->total_paid_real*$service['total_price_tax_incl'])/$objOrder->total_paid_tax_incl;
|
||||
}
|
||||
$bookingRow['extra_service_total_price_tax_incl'] += $service['total_price_tax_incl'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($customerView) {
|
||||
$dateJoin = $bookingRow['id_product'].'_'.strtotime($bookingRow['date_from']).strtotime($bookingRow['date_to']);
|
||||
if (isset($returnsCustView[$dateJoin]['num_rooms'])) {
|
||||
$returnsCustView[$dateJoin]['num_rooms'] += 1;
|
||||
$returnsCustView[$dateJoin]['refunded_amount'] += $bookingRow['refunded_amount'];
|
||||
$returnsCustView[$dateJoin]['total_price_tax_incl'] += $bookingRow['total_price_tax_incl'];
|
||||
$returnsCustView[$dateJoin]['total_paid_amount'] += $bookingRow['total_paid_amount'];
|
||||
} else {
|
||||
unset($bookingRow['id_room']);
|
||||
unset($bookingRow['room_num']);
|
||||
unset($bookingRow['id_htl_booking']);
|
||||
$returnsCustView[$dateJoin] = $bookingRow;
|
||||
$returnsCustView[$dateJoin]['num_rooms'] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($customerView) {
|
||||
return $returnsCustView;
|
||||
}
|
||||
}
|
||||
|
||||
return $returnDetails;
|
||||
}
|
||||
|
||||
@@ -297,8 +319,21 @@ class OrderReturnCore extends ObjectModel
|
||||
return $data;
|
||||
}
|
||||
|
||||
public static function getOrdersReturnDetail($idOrder, $idOrderReturn = 0, $idHtlBooking = 0, $idLang = 0)
|
||||
{
|
||||
/**
|
||||
* @param $idOrder
|
||||
* @param int $idOrderReturn
|
||||
* @param int $idHtlBooking
|
||||
* @param int $idLang
|
||||
* @param int $orderByLatestRequest : If you want to return request with in the Desc order of refund requests
|
||||
* @return array
|
||||
*/
|
||||
public static function getOrdersReturnDetail(
|
||||
$idOrder,
|
||||
$idOrderReturn = 0,
|
||||
$idHtlBooking = 0,
|
||||
$idLang = 0,
|
||||
$orderByLatestRequest = 1
|
||||
) {
|
||||
if (!$idLang) {
|
||||
$idLang = Context::getContext()->language->id;
|
||||
}
|
||||
@@ -316,6 +351,10 @@ class OrderReturnCore extends ObjectModel
|
||||
$sql .= ' AND ord.`id_htl_booking` = '.(int)$idHtlBooking;
|
||||
}
|
||||
|
||||
if ($orderByLatestRequest) {
|
||||
$sql .= ' ORDER BY orr.`id_order_return` DESC';
|
||||
}
|
||||
|
||||
return Db::getInstance()->executeS($sql);
|
||||
}
|
||||
|
||||
@@ -449,8 +488,8 @@ class OrderReturnCore extends ObjectModel
|
||||
'{order_reference}' => $objOrder->reference,
|
||||
'{order_date}' => date('Y-m-d h:i:s', strtotime($objOrder->date_add)),
|
||||
'{refunded_amount}' => Tools::displayPrice($this->refunded_amount, new Currency($objOrder->id_currency)),
|
||||
'{payment_mode}' => $this->payment_mode,
|
||||
'{id_transaction}' => $this->id_transaction,
|
||||
'{payment_mode}' => $this->payment_mode ? $this->payment_mode : '--',
|
||||
'{id_transaction}' => $this->id_transaction ? $this->id_transaction : '--',
|
||||
);
|
||||
|
||||
// if mail is true for the customer then send mail to customer with selected template
|
||||
@@ -480,7 +519,7 @@ class OrderReturnCore extends ObjectModel
|
||||
Mail::Send(
|
||||
(int)$idLang,
|
||||
$objOrderReturnState->customer_template,
|
||||
$objOrderReturnState->name,
|
||||
sprintf(Mail::l('Refund %s', (int)$idLang), $objOrderReturnState->name),
|
||||
$data,
|
||||
$objCustomer->email,
|
||||
$objCustomer->firstname.' '.$objCustomer->lastname,
|
||||
@@ -523,7 +562,7 @@ class OrderReturnCore extends ObjectModel
|
||||
Mail::Send(
|
||||
(int)$idLang,
|
||||
$objOrderReturnState->admin_template,
|
||||
$objOrderReturnState->name,
|
||||
sprintf(Mail::l('Refund %s', (int)$idLang), $objOrderReturnState->name),
|
||||
$data,
|
||||
$superAdminEmployee['email'],
|
||||
$superAdminEmployee['firstname'].' '.$superAdminEmployee['lastname'],
|
||||
@@ -553,7 +592,7 @@ class OrderReturnCore extends ObjectModel
|
||||
Mail::Send(
|
||||
(int)$idLang,
|
||||
$objOrderReturnState->admin_template,
|
||||
$objOrderReturnState->name,
|
||||
sprintf(Mail::l('Refund %s', (int)$idLang), $objOrderReturnState->name),
|
||||
$data,
|
||||
$objHotel->email,
|
||||
null,
|
||||
@@ -585,7 +624,7 @@ class OrderReturnCore extends ObjectModel
|
||||
Mail::Send(
|
||||
(int)$idLang,
|
||||
$objOrderReturnState->admin_template,
|
||||
$objOrderReturnState->name,
|
||||
sprintf(Mail::l('Refund %s', (int)$idLang), $objOrderReturnState->name),
|
||||
$data,
|
||||
$empl['email'],
|
||||
$empl['firstname'].' '.$empl['lastname'],
|
||||
|
||||
@@ -30,9 +30,15 @@ class OrderReturnDetailCore extends ObjectModel
|
||||
public $refunded_amount;
|
||||
|
||||
public $id_order_detail;
|
||||
|
||||
// Used to manage refunded or refunde denied bookings in a refund request : 1 for only refunded request completed and refunded bookings
|
||||
public $id_customization;
|
||||
public $product_quantity;
|
||||
|
||||
const REFUND_REQUEST_STATUS_LATEST = 1;
|
||||
const REFUND_REQUEST_STATUS_PENDING = 2;
|
||||
const REFUND_REQUEST_STATUS_COMPLETED = 3;
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
|
||||
@@ -822,7 +822,9 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
|
||||
*/
|
||||
protected function getTemplateByCountry($iso_country)
|
||||
{
|
||||
$file = Configuration::get('PS_INVOICE_MODEL');
|
||||
// $file = Configuration::get('PS_INVOICE_MODEL');
|
||||
// @todo redesign invoice template for b2b, for now we have ony one template design.
|
||||
$file = 'invoice';
|
||||
|
||||
// try to fetch the iso template
|
||||
$template = $this->getTemplate($file.'.'.$iso_country);
|
||||
|
||||
@@ -104,6 +104,7 @@ class TaxRulesTaxManagerCore implements TaxManagerInterface
|
||||
AND tr.`id_country` = '.(int)$this->address->id_country.'
|
||||
AND tr.`id_tax_rules_group` = '.(int)$this->type.'
|
||||
AND tr.`id_state` IN (0, '.(int)$this->address->id_state.')
|
||||
AND tr.`id_tax` !=0
|
||||
AND (\''.pSQL($postcode).'\' BETWEEN tr.`zipcode_from` AND tr.`zipcode_to`
|
||||
OR (tr.`zipcode_to` = 0 AND tr.`zipcode_from` IN(0, \''.pSQL($postcode).'\')))
|
||||
ORDER BY tr.`zipcode_from` DESC, tr.`zipcode_to` DESC, tr.`id_state` DESC, tr.`id_country` DESC');
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -411,7 +411,7 @@ class AdminCartRulesControllerCore extends AdminController
|
||||
$ruleGroupId,
|
||||
$ruleId,
|
||||
Tools::getValue('product_rule_'.$ruleGroupId.'_'.$ruleId.'_type'),
|
||||
Tools::getValue('product_rule_select_'.$ruleGroupId.'_'.$ruleId)
|
||||
Tools::getValue('product_rule_select_'.$ruleGroupId.'_'.$ruleId, array())
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -486,6 +486,7 @@ class AdminCartRulesControllerCore extends AdminController
|
||||
ON (p.`id_product` = hrt.`id_product`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_branch_info_lang` hbl
|
||||
ON (hrt.`id_hotel` = hbl.`id` AND hbl.`id_lang` = '.(int)Context::getContext()->language->id.Shop::addSqlRestrictionOnLang('pl').')
|
||||
WHERE p.`booking_product` = 1
|
||||
ORDER BY name');
|
||||
foreach ($results as $row) {
|
||||
if($row['hotel_name']) {
|
||||
|
||||
@@ -50,9 +50,9 @@ class AdminCustomerPreferencesControllerCore extends AdminController
|
||||
|
||||
$this->fields_options = array(
|
||||
'general' => array(
|
||||
'title' => $this->l('General'),
|
||||
'icon' => 'icon-cogs',
|
||||
'fields' => array(
|
||||
'title' => $this->l('General'),
|
||||
'icon' => 'icon-cogs',
|
||||
'fields' => array(
|
||||
'PS_REGISTRATION_PROCESS_TYPE' => array(
|
||||
'title' => $this->l('Registration process type'),
|
||||
'hint' => $this->l('The "Only account creation" registration option allows the customer to register faster, and create his/her address later.'),
|
||||
@@ -121,6 +121,15 @@ class AdminCustomerPreferencesControllerCore extends AdminController
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
),
|
||||
),
|
||||
'customer_kpi' => array(
|
||||
'title' => $this->l('Customer KPI configuration'),
|
||||
'icon' => 'icon-cogs',
|
||||
'fields' => array(
|
||||
'PS_KPI_FREQUENT_CUSTOMER_NB_ORDERS' => array(
|
||||
'title' => $this->l('Number of orders to use to calculate frequent customers'),
|
||||
'hint' => $this->l('Set the number of orders to use to calculate frequent customers.'),
|
||||
@@ -157,8 +166,10 @@ class AdminCustomerPreferencesControllerCore extends AdminController
|
||||
'class' => 'fixed-width-xl',
|
||||
),
|
||||
),
|
||||
'submit' => array('title' => $this->l('Save')),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -509,7 +509,7 @@ class AdminCustomersControllerCore extends AdminController
|
||||
);
|
||||
|
||||
// if we add a customer via fancybox (ajax), it's a customer and he doesn't need to be added to the visitor and guest groups
|
||||
if (Tools::isSubmit('addcustomer') && Tools::isSubmit('submitFormAjax')) {
|
||||
if (Tools::isSubmit('submitFormAjax')) {
|
||||
$visitor_group = Configuration::get('PS_UNIDENTIFIED_GROUP');
|
||||
$guest_group = Configuration::get('PS_GUEST_GROUP');
|
||||
foreach ($groups as $key => $g) {
|
||||
@@ -739,6 +739,9 @@ class AdminCustomersControllerCore extends AdminController
|
||||
$helper->color = 'color4';
|
||||
$helper->title = $this->l('New Customers', null, null, false);
|
||||
$nbDaysNewCustomers = Validate::isUnsignedInt(Configuration::get('PS_KPI_NEW_CUSTOMERS_NB_DAYS')) ? Configuration::get('PS_KPI_NEW_CUSTOMERS_NB_DAYS') : 30;
|
||||
$date_from = date('Y-m-d', strtotime('-'.$nbDaysNewCustomers.' day'));
|
||||
$date_to = date('Y-m-d');
|
||||
$helper->href = $this->context->link->getAdminLink('AdminCustomers').'&customerFilter_date_add[]='.$date_from.'&customerFilter_date_add[]='.$date_to;
|
||||
$helper->subtitle = sprintf($this->l('%d Days', null, null, false), (int) $nbDaysNewCustomers);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=total_new_customers';
|
||||
$helper->tooltip = $this->l('The total number of new customers who registered in given period of time.', null, null, false);
|
||||
@@ -958,7 +961,7 @@ class AdminCustomersControllerCore extends AdminController
|
||||
// If customer is going to be deleted permanently then if customer has orders the change this customer as an anonymous customer
|
||||
if (Validate::isLoadedObject($objCustomer = $this->loadObject())) {
|
||||
if ($this->delete_mode == 'real' && Order::getCustomerOrders($objCustomer->id, true)) {
|
||||
$objCustomer->email = 'anonymous'.'-'.$objCustomer->id.'@'.Tools::getShopDomain();
|
||||
$objCustomer->email = 'anonymous'.'-'.$objCustomer->id.'@'.Tools::link_rewrite(Configuration::get('PS_SHOP_NAME')).'_anonymous.com';
|
||||
$objCustomer->deleted = 1;
|
||||
if (!$objCustomer->update()) {
|
||||
$this->errors[] = Tools::displayError('Some error ocurred while deleting the Customer');
|
||||
@@ -1040,37 +1043,48 @@ class AdminCustomersControllerCore extends AdminController
|
||||
$this->redirect_after = false;
|
||||
}
|
||||
// Check that the new email is not already in use
|
||||
$customer_email = strval(Tools::getValue('email'));
|
||||
$customer_email = trim(strval(Tools::getValue('email')));
|
||||
$customer = new Customer();
|
||||
if (Validate::isEmail($customer_email)) {
|
||||
$customer->getByEmail($customer_email);
|
||||
}
|
||||
if ($customer->id) {
|
||||
$this->errors[] = Tools::displayError('An account already exists for this email address:').' '.$customer_email;
|
||||
if ($customer->id) {
|
||||
$this->errors[] = Tools::displayError('An account already exists for this email address:').' '.$customer_email;
|
||||
$this->display = 'edit';
|
||||
return $customer;
|
||||
} elseif (Customer::customerExists($customer_email, false, true)) {
|
||||
$this->errors[] = Tools::displayError('The email is already associated with a banned account. Please use a different one.');
|
||||
$this->display = 'edit';
|
||||
} elseif (trim(Tools::getValue('passwd')) == '') {
|
||||
$this->validateRules();
|
||||
$this->errors[] = Tools::displayError('Password can not be empty.');
|
||||
$this->display = 'edit';
|
||||
} elseif ($customer = parent::processAdd()) {
|
||||
$this->context->smarty->assign('new_customer', $customer);
|
||||
return $customer;
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Invalid email address.');
|
||||
$this->display = 'edit';
|
||||
return $customer;
|
||||
} elseif (trim(Tools::getValue('passwd')) == '') {
|
||||
$this->validateRules();
|
||||
$this->errors[] = Tools::displayError('Password can not be empty.');
|
||||
$this->display = 'edit';
|
||||
} elseif ($customer = parent::processAdd()) {
|
||||
$this->context->smarty->assign('new_customer', $customer);
|
||||
return $customer;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public function processUpdate()
|
||||
{
|
||||
if (Validate::isLoadedObject($this->object)) {
|
||||
$customer_email = strval(Tools::getValue('email'));
|
||||
$customer_email = trim(strval(Tools::getValue('email')));
|
||||
|
||||
// check if e-mail already used
|
||||
if ($customer_email != $this->object->email) {
|
||||
$customer = new Customer();
|
||||
if (Validate::isEmail($customer_email)) {
|
||||
$customer->getByEmail($customer_email);
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Invalid email address.');
|
||||
}
|
||||
|
||||
if (($customer->id) && ($customer->id != (int)$this->object->id)) {
|
||||
$this->errors[] = Tools::displayError('An account already exists for this email address:').' '.$customer_email;
|
||||
}
|
||||
@@ -1289,4 +1303,41 @@ class AdminCustomersControllerCore extends AdminController
|
||||
die('ok');
|
||||
}
|
||||
}
|
||||
|
||||
public function ajaxProcessVerifyCustomerEmail()
|
||||
{
|
||||
$response = array('status' => true);
|
||||
$idCustomer = Tools::getValue('id_customer', 0);
|
||||
if (($email = trim(strval(Tools::getValue('email'))))
|
||||
&& ($idCustomerByEmail = Customer::customerExists($email, true, false))
|
||||
&& (Validate::isLoadedObject($objCustomer = new Customer($idCustomerByEmail)))
|
||||
&& $idCustomerByEmail != $idCustomer // the admin is trying to add/update the account
|
||||
) {
|
||||
$response['status'] = false;
|
||||
if ($objCustomer->deleted) {
|
||||
$response['msg'] = Tools::displayError('This email is already associated with a banned account. Please use a different one.');
|
||||
} else {
|
||||
$response['msg'] = Tools::displayError('An account already exists for this email address.');
|
||||
}
|
||||
}
|
||||
|
||||
$this->ajaxDie(json_encode($response));
|
||||
}
|
||||
|
||||
public function setMedia()
|
||||
{
|
||||
parent::setMedia();
|
||||
if ($this->loadObject(true)
|
||||
&& ($this->display == 'edit' || $this->display == 'add')
|
||||
) {
|
||||
$idCustomer = $this->object->id ? $this->object->id : 0;
|
||||
Media::addJSDef(
|
||||
array(
|
||||
'customer_controller_url' => self::$currentIndex.'&token='.$this->token,
|
||||
'id_customer' => $idCustomer
|
||||
)
|
||||
);
|
||||
$this->addJS(_PS_JS_DIR_.'admin/customers.js');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ class AdminGendersControllerCore extends AdminController
|
||||
'list' => array(
|
||||
0 => $this->l('Male'),
|
||||
1 => $this->l('Female'),
|
||||
2 => $this->l('Neutral')
|
||||
2 => $this->l('Other')
|
||||
),
|
||||
'filter_key' => 'a!type',
|
||||
'callback' => 'displayGenderType',
|
||||
@@ -145,7 +145,7 @@ class AdminGendersControllerCore extends AdminController
|
||||
array(
|
||||
'id' => 'type_neutral',
|
||||
'value' => 2,
|
||||
'label' => $this->l('Neutral')
|
||||
'label' => $this->l('Other')
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
@@ -54,7 +54,16 @@ class AdminMaintenanceControllerCore extends AdminController
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool',
|
||||
'class' => "hello"
|
||||
'form_group_class' => (Tools::getValue('PS_SHOP_ENABLE', Configuration::get('PS_SHOP_ENABLE'))) ? 'collapse' : '',
|
||||
),
|
||||
'PS_ALLOW_EMP_MAX_ATTEMPTS' => array(
|
||||
'title' => $this->l('Maximum Login Attempts'),
|
||||
'validation' => 'isUnsignedInt',
|
||||
'cast' => 'intval',
|
||||
'type' => 'text',
|
||||
'class' => 'fixed-width-xl',
|
||||
'desc' => sprintf($this->l('Set the number of maximum login attempts allowed in %d minutes. Set to 0 to disable this feature.'), MaintenanceAccess::LOGIN_ATTEMPTS_WINDOW),
|
||||
'form_group_class' => ((Tools::getValue('PS_SHOP_ENABLE', Configuration::get('PS_SHOP_ENABLE'))) || !(Tools::getValue('PS_ALLOW_EMP', Configuration::get('PS_ALLOW_EMP')))) ? ' collapse' : '',
|
||||
),
|
||||
'PS_MAINTENANCE_IP' => array(
|
||||
'title' => $this->l('Maintenance IP'),
|
||||
@@ -69,9 +78,44 @@ class AdminMaintenanceControllerCore extends AdminController
|
||||
);
|
||||
}
|
||||
|
||||
public function postProcess()
|
||||
{
|
||||
if (Tools::isSubmit('submitOptionsconfiguration')) {
|
||||
$shopEnable = Tools::getValue('PS_SHOP_ENABLE');
|
||||
$allowEmp = Tools::getValue('PS_ALLOW_EMP');
|
||||
$allowEmpMaxAttempts = trim(Tools::getValue('PS_ALLOW_EMP_MAX_ATTEMPTS'));
|
||||
$maintenanceIp = trim(Tools::getValue('PS_MAINTENANCE_IP'));
|
||||
|
||||
// validations
|
||||
if (!$shopEnable && $allowEmp) {
|
||||
if ($allowEmpMaxAttempts == '') {
|
||||
$this->errors[] = $this->l('Maximum Login Attempts is a required field.');
|
||||
} elseif (!Validate::isUnsignedInt($allowEmpMaxAttempts)) {
|
||||
$this->errors[] = $this->l('Maximum Login Attempts is invalid. Please enter a value greater than or equal to 0.');
|
||||
}
|
||||
}
|
||||
|
||||
// update values
|
||||
if (!count($this->errors)) {
|
||||
Configuration::updateValue('PS_SHOP_ENABLE', $shopEnable);
|
||||
Configuration::updateValue('PS_MAINTENANCE_IP', $maintenanceIp);
|
||||
|
||||
if (!$shopEnable) {
|
||||
Configuration::updateValue('PS_ALLOW_EMP', $allowEmp);
|
||||
|
||||
if ($allowEmp) {
|
||||
Configuration::updateValue('PS_ALLOW_EMP_MAX_ATTEMPTS', $allowEmpMaxAttempts);
|
||||
}
|
||||
}
|
||||
|
||||
Tools::redirectAdmin(self::$currentIndex.'&token='.$this->token.'&conf=6');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function setMedia()
|
||||
{
|
||||
parent::setMedia();
|
||||
$this->addJS(_PS_JS_DIR_.'maintenance.js');
|
||||
$this->addJS(_PS_JS_DIR_.'/admin/maintenance.js');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,19 +186,17 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
|
||||
$id_shop = Shop::isFeatureActive() && Shop::getContext() == Shop::CONTEXT_SHOP? (int)$this->context->shop->id : 'a.id_shop_default';
|
||||
$this->_join .= ' JOIN `'._DB_PREFIX_.'product_shop` sa ON (a.`id_product` = sa.`id_product` AND sa.id_shop = '.$id_shop.')
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type` hrt ON (a.`id_product` = hrt.`id_product`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_branch_info` hb ON (hrt.`id_hotel` = hb.`id`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_branch_info_lang` hbl ON (hb.`id` = hbl.`id` AND b.`id_lang` = hbl.`id_lang`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON ('.$alias.'.`id_category_default` = cl.`id_category` AND b.`id_lang` = cl.`id_lang` AND cl.id_shop = '.$id_shop.')
|
||||
LEFT JOIN `'._DB_PREFIX_.'shop` shop ON (shop.id_shop = '.$id_shop.')
|
||||
LEFT JOIN `'._DB_PREFIX_.'image_shop` image_shop ON (image_shop.`id_product` = a.`id_product` AND image_shop.`cover` = 1 AND image_shop.id_shop = '.$id_shop.')
|
||||
LEFT JOIN `'._DB_PREFIX_.'image` i ON (i.`id_image` = image_shop.`id_image`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_download` pd ON (pd.`id_product` = a.`id_product` AND pd.`active` = 1)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type_service_product` rsp ON (rsp.`id_product` = a.`id_product`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'address` aa ON (aa.`id_hotel` = hb.`id`)';
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type` hrt ON (rsp.`id_element` = hrt.`id_product` AND rsp.`element_type` = '.(int)RoomTypeServiceProduct::WK_ELEMENT_TYPE_ROOM_TYPE.')
|
||||
'.HotelBranchInformation::addHotelRestriction(false, 'hrt');
|
||||
|
||||
$this->_select .= ' IF(a.`auto_add_to_cart`, "'.$this->l('Yes').'", "'.$this->l('No').'") as auto_added, IF(a.`auto_add_to_cart`, 1, 0) as badge_success, IF(a.`show_at_front`, "'.$this->l('Yes').'", "'.$this->l('No').'") as show_at_front_txt, IF(a.`price_calculation_method` = '.(int)Product::PRICE_CALCULATION_METHOD_PER_DAY.', "'.$this->l('Per Day').'", "'.$this->l('Per Booking').'") as price_calculation_method_txt, (SELECT COUNT(hri.`id`) FROM `'._DB_PREFIX_.'htl_room_information` hri WHERE hri.`id_product` = a.`id_product`) as num_rooms, ';
|
||||
$this->_select .= ' COUNT(rsp.`id_product`) as products_associated, hrt.`adults`, hrt.`children`, hb.`id` as id_hotel, aa.`city`, hbl.`hotel_name`, ';
|
||||
$this->_select .= ' COUNT(hrt.`id_product`) as products_associated, ';
|
||||
$this->_select .= 'shop.`name` AS `shopname`, a.`id_shop_default`, ';
|
||||
$this->_select .= $alias_image.'.`id_image` AS `id_image`, cl.`name` AS `name_category`, '.$alias.'.`price`, 0 AS `price_final`, a.`is_virtual`, pd.`nb_downloadable`, sav.`quantity` AS `sav_quantity`, '.$alias.'.`active`, IF(sav.`quantity`<=0, 1, 0) AS `badge_danger`';
|
||||
|
||||
@@ -280,7 +278,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
$idServiceCategory = Configuration::get('PS_SERVICE_CATEGORY');
|
||||
$this->objLocationsCategory = new Category($idServiceCategory, $this->context->language->id);
|
||||
$nestedCategories = Category::getNestedCategories($idServiceCategory);
|
||||
if ($nestedCategories) {
|
||||
if (isset($nestedCategories[$idServiceCategory]['children']) && $nestedCategories[$idServiceCategory]['children']) {
|
||||
foreach ($nestedCategories[$idServiceCategory]['children'] as $childCategory) {
|
||||
$this->buildCategoryOptions($childCategory);
|
||||
}
|
||||
@@ -2994,7 +2992,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
->setUseSearch(false)
|
||||
->setFullTree(0)
|
||||
->setSelectedCategories($categories)
|
||||
->setUseBulkActions(false);
|
||||
->setUseBulkActions(true);
|
||||
|
||||
$data->assign(array('default_category' => $default_category,
|
||||
'selected_cat_ids' => implode(',', array_keys($selected_cat)),
|
||||
@@ -3510,7 +3508,7 @@ class AdminNormalProductsControllerCore extends AdminController
|
||||
->setRoomsOnly(false)
|
||||
->setSelectedHotels($selectedElements['hotels'])
|
||||
->setSelectedRoomTypes($selectedElements['room_types'])
|
||||
->setUseBulkActions(false)
|
||||
->setUseBulkActions(true)
|
||||
->setAccessedHotels(HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1, 0));
|
||||
|
||||
$data->assign('hotel_tree', $tree->render());
|
||||
|
||||
@@ -82,6 +82,7 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
)
|
||||
);
|
||||
|
||||
$maxOrderDate = Tools::getValue('MAX_GLOBAL_BOOKING_DATE', Configuration::get('MAX_GLOBAL_BOOKING_DATE'));
|
||||
$this->fields_options = array(
|
||||
'order_restrict' => array(
|
||||
'title' => $this->l('Order Restrict'),
|
||||
@@ -92,11 +93,13 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
'hint' => $this->l('Maximum date of check-out for which rooms of your hotels can be booked.'),
|
||||
'type' => 'text',
|
||||
'id' => 'max_global_book_date',
|
||||
'auto_value' => false,
|
||||
'value' => date('d-m-Y', strtotime($maxOrderDate)),
|
||||
'class' => 'fixed-width-xxl readonly',
|
||||
),
|
||||
'GLOBAL_PREPARATION_TIME' => array(
|
||||
'title' => $this->l('Preparation time'),
|
||||
'hint' => $this->l('Number of days required to prepare a room for a guest\'s stay. For example, if you set this value to 3 and someone is booking on 2nd of March he can only book rooms for dates from and after 3 days, i.e, 5th of March.'),
|
||||
'title' => $this->l('Minimum booking offset'),
|
||||
'hint' => $this->l('The minimum booking offset is the minimum number of days before the check-in date that a guest must book a room. For example, if you set this value to 3 and someone is booking on 2nd of March he can only book rooms for dates from and after 3 days, i.e, 5th of March.'),
|
||||
'desc' => $this->l('Set to 0 to disable this feature.'),
|
||||
'type' => 'text',
|
||||
'class' => 'fixed-width-xl',
|
||||
@@ -329,6 +332,7 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
$this->errors[] = Tools::displayError('Please assign a valid CMS page for Terms and Conditions.');
|
||||
}
|
||||
|
||||
$_POST['MAX_GLOBAL_BOOKING_DATE'] = date('Y-m-d', strtotime(Tools::getValue('MAX_GLOBAL_BOOKING_DATE')));
|
||||
$maxGlobalBookingDate = Tools::getValue('MAX_GLOBAL_BOOKING_DATE');
|
||||
$globalPreparationTime = Tools::getValue('GLOBAL_PREPARATION_TIME');
|
||||
$maxGlobalBookingDateFormatted = date('Y-m-d', strtotime($maxGlobalBookingDate));
|
||||
@@ -342,9 +346,9 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
}
|
||||
|
||||
if ($globalPreparationTime === '') {
|
||||
$this->errors[] = Tools::displayError('Field \'Preparation time\' can not be empty.');
|
||||
$this->errors[] = Tools::displayError('Field \'Minimum booking offset\' can not be empty.');
|
||||
} elseif ($globalPreparationTime !== '0' && !Validate::isUnsignedInt($globalPreparationTime)) {
|
||||
$this->errors[] = Tools::displayError('Field \'Preparation time\' is invalid.');
|
||||
$this->errors[] = Tools::displayError('Field \'Minimum booking offset\' is invalid.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -376,11 +376,11 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$cart_order_exists = $cart->orderExists();
|
||||
if (!$cart_order_exists) {
|
||||
$this->context->cart = $cart;
|
||||
$this->context->currency = new Currency((int)$cart->id_currency);
|
||||
|
||||
// validate cart for removing invalid data from cart before new order creation
|
||||
$this->errors = array_merge($this->errors, HotelCartBookingData::validateCartBookings());
|
||||
|
||||
$this->context->currency = new Currency((int)$cart->id_currency);
|
||||
$cart_detail_data = array();
|
||||
$cart_detail_data_obj = new HotelCartBookingData();
|
||||
$objHotelServiceProductCartDetail = new HotelServiceProductCartDetail();
|
||||
@@ -494,11 +494,14 @@ class AdminOrdersControllerCore extends AdminController
|
||||
);
|
||||
|
||||
if (((int) $order->isReturnable()) && !$order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_OR_REFUND_REQUEST_FLAG)) {
|
||||
$orderTotalPaid = $order->getTotalPaid();
|
||||
$orderDiscounts = $order->getCartRules();
|
||||
$hasOrderDiscountOrPayment = ((float)$orderTotalPaid > 0 || $orderDiscounts) ? true : false;
|
||||
$this->toolbar_btn['cancel'] = array(
|
||||
'short' => ((float) $order->getTotalPaid()) ? $this->l('Refund') : $this->l('Cancel'),
|
||||
'short' => ($hasOrderDiscountOrPayment) ? $this->l('Refund') : $this->l('Cancel'),
|
||||
'href' => '#refundForm',
|
||||
'id' => 'desc-order-standard_refund',
|
||||
'desc' => ((float) $order->getTotalPaid()) ? $this->l('Initiate refund') : $this->l('Cancel bookings'),
|
||||
'desc' => ($hasOrderDiscountOrPayment) ? $this->l('Initiate refund') : $this->l('Cancel bookings'),
|
||||
'class' => 'icon-exchange',
|
||||
'target' => true,
|
||||
);
|
||||
@@ -772,7 +775,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
array(
|
||||
'order' => $objOrder,
|
||||
'currency' => new Currency($objOrder->id_currency),
|
||||
'current_index' => self::$currentIndex,
|
||||
'reallocate_form_action' => $this->context->link->getAdminLink('AdminOrders').'&vieworder&id_order='.$objOrder->id,
|
||||
)
|
||||
);
|
||||
$modal = array(
|
||||
@@ -938,7 +941,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
// get booking information by order
|
||||
$objBookingDetail = new HotelBookingDetail();
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($objOrder->id, 0, 1);
|
||||
$refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($objOrder->id, 0, 1, 0, 1);
|
||||
if ($bookingOrderInfo = $objBookingDetail->getBookingDataByOrderId($objOrder->id)) {
|
||||
foreach($bookingOrderInfo as $key => $booking) {
|
||||
if ((in_array($booking['id'], $refundReqBookings)) || $booking['is_refunded']) {
|
||||
@@ -946,6 +949,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'order' => $objOrder,
|
||||
@@ -958,15 +962,18 @@ class AdminOrdersControllerCore extends AdminController
|
||||
'modal_class' => 'modal-md order_detail_modal',
|
||||
'modal_title' => '<i class="icon icon-exchange"></i>  '.$this->l('Cancel Bookings'),
|
||||
'modal_content' => $this->context->smarty->fetch('controllers/orders/modals/_cancel_room_bookings.tpl'),
|
||||
'modal_actions' => array(
|
||||
);
|
||||
|
||||
if ($bookingOrderInfo) {
|
||||
$modal['modal_actions'] = array(
|
||||
array(
|
||||
'type' => 'button',
|
||||
'value' => 'submitCancelBooking',
|
||||
'class' => 'submitCancelBooking btn-primary pull-right',
|
||||
'label' => '<i class="icon-exchange"></i> '.$this->l('Cancel Bookings'),
|
||||
),
|
||||
),
|
||||
);
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
$this->context->smarty->assign($modal);
|
||||
$response['hasError'] = 0;
|
||||
@@ -985,6 +992,8 @@ class AdminOrdersControllerCore extends AdminController
|
||||
|
||||
if ($this->tabAccess['edit'] == 1 && $this->display == 'view') {
|
||||
$this->addJS(_PS_JS_DIR_.'admin/orders.js');
|
||||
// add js for reallocation process
|
||||
$this->addJS(_PS_JS_DIR_.'admin/reallocation.js');
|
||||
// $this->addJS(_PS_JS_DIR_.'admin/orders-product-event.js');
|
||||
// $this->addJS(_PS_JS_DIR_.'admin/orders-room-event.js');
|
||||
$this->addJS(_PS_JS_DIR_.'tools.js');
|
||||
@@ -1375,19 +1384,22 @@ class AdminOrdersControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('You do not have permission to delete this.');
|
||||
$this->errors[] = Tools::displayError('You do not have permission to edit this.');
|
||||
}
|
||||
}
|
||||
|
||||
/* booking refunds from order */
|
||||
elseif (Tools::isSubmit('initiateRefund') && isset($order)) {
|
||||
if ($this->tabAccess['delete'] === '1') {
|
||||
if ($this->tabAccess['edit'] === '1') {
|
||||
$bookings = Tools::getValue('id_htl_booking');
|
||||
if ($bookings && count($bookings)) {
|
||||
foreach ($bookings as $idHtlBooking) {
|
||||
if (OrderReturn::getOrdersReturnDetail($order->id, 0, $idHtlBooking)) {
|
||||
$this->errors[] = Tools::displayError('Wrong bookings found for booking cancelation.');
|
||||
break;
|
||||
if ($bookingRefundDetail = OrderReturn::getOrdersReturnDetail($order->id, 0, $idHtlBooking)) {
|
||||
$bookingRefundDetail = reset($bookingRefundDetail);
|
||||
if (!$bookingRefundDetail['refunded']) {
|
||||
$this->errors[] = Tools::displayError('Wrong bookings found for booking cancelation.');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -1399,51 +1411,66 @@ class AdminOrdersControllerCore extends AdminController
|
||||
}
|
||||
|
||||
if (!count($this->errors)) {
|
||||
// if amount paid is > 0 then create refund request else cancel the booking directly
|
||||
if ($order->getTotalPaid() > 0) {
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$objOrderReturn->id_customer = $order->id_customer;
|
||||
$objOrderReturn->id_order = $order->id;
|
||||
$objOrderReturn->state = Configuration::get('PS_ORS_PENDING');
|
||||
$objOrderReturn->by_admin = 1;
|
||||
$objOrderReturn->question = $refundReason;
|
||||
$objOrderReturn->save();
|
||||
if ($objOrderReturn->id) {
|
||||
foreach ($bookings as $idHtlBooking) {
|
||||
$objHtlBooking = new HotelBookingDetail($idHtlBooking);
|
||||
$numDays = $objHtlBooking->getNumberOfDays(
|
||||
$objHtlBooking->date_from,
|
||||
$objHtlBooking->date_to
|
||||
);
|
||||
$objOrderReturnDetail = new OrderReturnDetail();
|
||||
$objOrderReturnDetail->id_order_return = $objOrderReturn->id;
|
||||
$objOrderReturnDetail->id_order_detail = $objHtlBooking->id_order_detail;
|
||||
$objOrderReturnDetail->product_quantity = $numDays;
|
||||
$objOrderReturnDetail->id_htl_booking = $idHtlBooking;
|
||||
$objOrderReturnDetail->save();
|
||||
// create refund request
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$objOrderReturn->id_customer = $order->id_customer;
|
||||
$objOrderReturn->id_order = $order->id;
|
||||
$objOrderReturn->state = 0;
|
||||
$objOrderReturn->by_admin = 1;
|
||||
$objOrderReturn->question = $refundReason;
|
||||
$objOrderReturn->refunded_amount = 0;
|
||||
$objOrderReturn->save();
|
||||
if ($objOrderReturn->id) {
|
||||
foreach ($bookings as $idHtlBooking) {
|
||||
$objHtlBooking = new HotelBookingDetail($idHtlBooking);
|
||||
$numDays = $objHtlBooking->getNumberOfDays(
|
||||
$objHtlBooking->date_from,
|
||||
$objHtlBooking->date_to
|
||||
);
|
||||
$objOrderReturnDetail = new OrderReturnDetail();
|
||||
$objOrderReturnDetail->id_order_return = $objOrderReturn->id;
|
||||
$objOrderReturnDetail->id_order_detail = $objHtlBooking->id_order_detail;
|
||||
$objOrderReturnDetail->product_quantity = $numDays;
|
||||
$objOrderReturnDetail->id_htl_booking = $idHtlBooking;
|
||||
$objOrderReturnDetail->refunded_amount = 0;
|
||||
if (!$order->getCartRules() && $order->getTotalPaid() <= 0) {
|
||||
$objOrderReturnDetail->id_customization = 1;
|
||||
}
|
||||
$objOrderReturnDetail->save();
|
||||
}
|
||||
} else {
|
||||
// cancel the booking directly
|
||||
}
|
||||
|
||||
// Change order refund state
|
||||
// Emails to customer, superadmin and employees on refund request state change
|
||||
$objOrderReturn->changeIdOrderReturnState(Configuration::get('PS_ORS_PENDING'));
|
||||
|
||||
// process direct cancellations
|
||||
if (!$order->getCartRules() && $order->getTotalPaid() <= 0) {
|
||||
// Process refund in booking tables
|
||||
foreach ($bookings as $idHtlBooking) {
|
||||
$objHtlBooking = new HotelBookingDetail($idHtlBooking);
|
||||
if (!$objHtlBooking->processRefundInBookingTables()) {
|
||||
$this->errors[] = Tools::displayError('An error occurred while cancelling the booking.');
|
||||
} else {
|
||||
// set the message for the cancellation
|
||||
$message = $this->l('Room').': '.$objHtlBooking->room_num.', '.$objHtlBooking->room_type_name.' '.$this->l('has been cancelled by the hotel.');
|
||||
$message .= PHP_EOL.$this->l('Reasonn').': '.$refundReason;
|
||||
$objHtlBooking->setBookingCancellationMessage($message, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// if all bookings are getting cancelled then cancel the order also
|
||||
if ($order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_FLAG)) {
|
||||
// As object order is already changed in processRefundInBookingTables
|
||||
$order = new Order($order->id);
|
||||
// complete the booking refund directly in the refund request
|
||||
$objOrderReturn->changeIdOrderReturnState(Configuration::get('PS_ORS_REFUNDED'));
|
||||
|
||||
// if all bookings are getting cancelled/Refunded then Cancel/Refund the order also
|
||||
$idOrderState = 0;
|
||||
if ($order->hasCompletelyRefunded(Order::ORDER_COMPLETE_REFUND_FLAG)) {
|
||||
$idOrderState = Configuration::get('PS_OS_REFUND');
|
||||
} elseif ($order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_FLAG)) {
|
||||
$idOrderState = Configuration::get('PS_OS_CANCELED');
|
||||
}
|
||||
|
||||
if ($idOrderState) {
|
||||
$objOrderHistory = new OrderHistory();
|
||||
$objOrderHistory->id_order = (int)$order->id;
|
||||
|
||||
$idOrderState = Configuration::get('PS_OS_CANCELED');
|
||||
|
||||
$useExistingPayment = false;
|
||||
if (!$order->hasInvoice()) {
|
||||
$useExistingPayment = true;
|
||||
@@ -1460,7 +1487,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=3&token='.$this->token);
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('You do not have permission to delete this.');
|
||||
$this->errors[] = Tools::displayError('You do not have permission to edit this.');
|
||||
}
|
||||
} elseif (Tools::isSubmit('messageReaded')) {
|
||||
Message::markAsReaded(Tools::getValue('messageReaded'), $this->context->employee->id);
|
||||
@@ -1555,6 +1582,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$objCart = new Cart($id_cart);
|
||||
if (Validate::isLoadedObject($objCart)) {
|
||||
$this->context->cart = $objCart;
|
||||
$this->context->currency = new Currency((int)$objCart->id_currency);
|
||||
|
||||
$this->errors = HotelCartBookingData::validateCartBookings();
|
||||
$orderTotal = $objCart->getOrderTotal(true, Cart::BOTH);
|
||||
@@ -2225,24 +2253,56 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-order-date';
|
||||
$helper->icon = 'icon-calendar';
|
||||
$helper->color = 'color3';
|
||||
$helper->color = 'color1';
|
||||
$helper->title = $this->l('Order Date');
|
||||
$helper->tooltip = $this->l('The date when the order was placed.');
|
||||
$helper->value = Tools::displayDate($objOrder->date_add);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-order-total';
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color4';
|
||||
$helper->title = $this->l('Total');
|
||||
$helper->color = 'color3';
|
||||
$helper->title = $this->l('Bookings Total');
|
||||
$helper->tooltip = $this->l('Total booking amount of this order.');
|
||||
$helper->value = Tools::displayPrice($objOrder->total_paid_tax_incl, new Currency($objOrder->id_currency));
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-total-paid';
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color4';
|
||||
$helper->title = $this->l('Total Paid');
|
||||
$helper->tooltip = $this->l('Total paid is the amount which customer has already paid for this order.');
|
||||
$helper->value = Tools::displayPrice($objOrder->total_paid_real, new Currency($objOrder->id_currency));
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-total-due';
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color2';
|
||||
$helper->title = $this->l('Total Due');
|
||||
$helper->tooltip = $this->l('Total due is the amount which customer has to pay for this order.');
|
||||
$helper->value = Tools::displayPrice(($objOrder->total_paid_tax_incl - $objOrder->total_paid_real), new Currency($objOrder->id_currency));
|
||||
$kpis[] = $helper;
|
||||
|
||||
$orderHistory = array_reverse($objOrder->getHistory($this->context->language->id));
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-order-source';
|
||||
$helper->icon = 'icon-globe';
|
||||
$helper->color = 'color1';
|
||||
$helper->title = $this->l('Order Source');
|
||||
$helper->tooltip = $this->l('Order source shows from which source the order was placed.');
|
||||
$helper->subtitle = $orderHistory[0]['id_employee'] ? $this->l('Back office') : $this->l('Front office');
|
||||
$helper->value = $objOrder->source;
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-messages';
|
||||
$helper->icon = 'icon-comments';
|
||||
$helper->color = 'color2';
|
||||
$helper->title = $this->l('Messages');
|
||||
$helper->tooltip = $this->l('Messages is the number of customer messages for this order.');
|
||||
$helper->href = $this->context->link->getAdminLink('AdminCustomerThreads').'&id_order='.$objOrder->id;
|
||||
$helper->value = count(CustomerThread::getCustomerMessages($objOrder->id_customer, null, $objOrder->id));
|
||||
$kpis[] = $helper;
|
||||
@@ -2254,13 +2314,43 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$helper->icon = 'icon-home';
|
||||
$helper->color = 'color1';
|
||||
$helper->title = $this->l('Total Rooms');
|
||||
$helper->tooltip = $this->l('Total rooms is the number of rooms booked in this order.');
|
||||
$helper->href = '#start_products';
|
||||
$helper->value = $numRooms;
|
||||
$kpis[] = $helper;
|
||||
|
||||
Hook::exec('action'.$this->controller_name.'KPIListingModifier', array(
|
||||
'kpis' => &$kpis,
|
||||
));
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-payment-type';
|
||||
$helper->icon = 'icon-home';
|
||||
$helper->color = 'color3';
|
||||
$helper->title = $this->l('Payment Type');
|
||||
$helper->tooltip = $this->l('The payment type refers to the type of payment that customer selected while placing this order.');
|
||||
$helper->value = $objOrder->is_advance_payment ? $this->l('Partial Payment') : $this->l('Full Payment');
|
||||
$kpis[] = $helper;
|
||||
|
||||
if ($objOrder->is_advance_payment) {
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-partial-payment-amount';
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color4';
|
||||
$helper->title = $this->l('Partial Payment Amount');
|
||||
$helper->tooltip = $this->l('Partial payment amount refers to the amount that customer has to pay as advance payment, if payment type selected as partial payment while placing this order.');
|
||||
$helper->value = Tools::displayPrice($objOrder->advance_paid_amount, new Currency($objOrder->id_currency));
|
||||
$kpis[] = $helper;
|
||||
}
|
||||
|
||||
$objOrderReturn = new OrderReturn();
|
||||
if ($refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($objOrder->id, 0, 1)) {
|
||||
$refundedAmount = $objOrderReturn->getRefundedAmount($objOrder->id);
|
||||
$helper = new HelperKpi();
|
||||
$helper->id = 'box-payment-type';
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color3';
|
||||
$helper->title = $this->l('Refunded Amount');
|
||||
$helper->tooltip = $this->l('Refunded amount refers to the amount that has been refunded for this order.');
|
||||
$helper->value = Tools::displayPrice($refundedAmount, new Currency($objOrder->id_currency));
|
||||
$kpis[] = $helper;
|
||||
}
|
||||
} else {
|
||||
$time = time();
|
||||
$kpis = array();
|
||||
@@ -2375,6 +2465,10 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$kpis[] = $helper;
|
||||
}
|
||||
|
||||
Hook::exec('action'.$this->controller_name.'KPIListingModifier', array(
|
||||
'kpis' => &$kpis,
|
||||
));
|
||||
|
||||
$helper = new HelperKpiRow();
|
||||
$helper->kpis = $kpis;
|
||||
return $helper->generate();
|
||||
@@ -2546,7 +2640,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$totalConvenienceFeeTI = 0;
|
||||
$totalDemandsPriceTE = 0;
|
||||
$totalDemandsPriceTI = 0;
|
||||
|
||||
$totalRefundedRooms = 0;
|
||||
if ($order_detail_data = $objBookingDetail->getOrderFormatedBookinInfoByIdOrder($order->id)) {
|
||||
$objBookingDemand = new HotelBookingDemands();
|
||||
$objHotelRoomType = new HotelRoomType();
|
||||
@@ -2707,6 +2801,15 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$order_detail_data[$key]['amt_with_qty_tax_incl'] = $value['total_price_tax_incl'];
|
||||
$order_detail_data[$key]['room_type_info'] = $objHotelRoomType->getRoomTypeInfoByIdProduct($value['id_product']);
|
||||
$order_detail_data[$key]['total_room_tax'] = $order_detail_data[$key]['total_room_price_ti'] - $order_detail_data[$key]['total_room_price_te'];
|
||||
|
||||
if (isset($value['refund_info'])
|
||||
&& $value['refund_info']['refunded']
|
||||
&& $value['refund_info']['id_customization']
|
||||
&& $value['is_refunded']
|
||||
&& !$value['is_cancelled']
|
||||
) {
|
||||
$totalRefundedRooms += 1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$order_detail_data = array();
|
||||
@@ -2714,19 +2817,25 @@ class AdminOrdersControllerCore extends AdminController
|
||||
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$refundedAmount = 0;
|
||||
if ($refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($order->id, 0, 1)) {
|
||||
if ($refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($order->id, 0, 1, 0, 1)) {
|
||||
$refundedAmount = $objOrderReturn->getRefundedAmount($order->id);
|
||||
}
|
||||
|
||||
// get booking information by order
|
||||
$bookingOrderInfo = $objBookingDetail->getBookingDataByOrderId($order->id);
|
||||
foreach ($bookingOrderInfo as &$bookingOrderRoomInfo) {
|
||||
// Get last refund request for booking
|
||||
if ($bookingRefundDetail = OrderReturn::getOrdersReturnDetail($bookingOrderRoomInfo['id_order'], 0, $bookingOrderRoomInfo['id'])) {
|
||||
$bookingRefundDetail = reset($bookingRefundDetail);
|
||||
if (!$bookingRefundDetail['id_customization']) {
|
||||
$bookingOrderRoomInfo['is_refunded'] = 0;
|
||||
}
|
||||
}
|
||||
$bookingOrderRoomInfo['num_checkin_documents'] = HotelBookingDocument::getCountByIdHtlBooking($bookingOrderRoomInfo['id']);
|
||||
}
|
||||
|
||||
$objHotelBookingDetail = new HotelBookingDetail();
|
||||
$htlBookingDetail = $objHotelBookingDetail->getOrderCurrentDataByOrderId($order->id);
|
||||
$isCancelledRoom = in_array(1, array_column($htlBookingDetail, 'is_cancelled'));
|
||||
|
||||
// hotel booking statuses
|
||||
$htlOrderStatus = HotelBookingDetail::getAllHotelOrderStatus();
|
||||
@@ -2745,15 +2854,13 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$orderOverBookings = $objHotelBookingDetail->getOverbookedRooms($order->id, 0, '', '', 0, 0, 1);
|
||||
|
||||
$this->tpl_view_vars = array(
|
||||
// refund info
|
||||
'totalRefundedRooms' => $totalRefundedRooms,
|
||||
'orderOverBookings' => $orderOverBookings,
|
||||
'refund_allowed' => (int) $order->isReturnable(),
|
||||
'applicable_refund_policies' => $applicableRefundPolicies,
|
||||
'returns' => OrderReturn::getOrdersReturn($order->id_customer, $order->id),
|
||||
'refundReqBookings' => $refundReqBookings,
|
||||
'completeRefundRequestOrCancel' => $order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_OR_REFUND_REQUEST_FLAG),
|
||||
'allBookingsRefunded' => $order->hasCompletelyRefunded(Order::ORDER_COMPLETE_REFUND_FLAG),
|
||||
'allBookingsCancelled' => $order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_FLAG),
|
||||
'refundedAmount' => $refundedAmount,
|
||||
'totalDemandsPriceTI' => $totalDemandsPriceTI,
|
||||
'totalDemandsPriceTE' => $totalDemandsPriceTE,
|
||||
@@ -2840,7 +2947,6 @@ class AdminOrdersControllerCore extends AdminController
|
||||
'products' => $products,
|
||||
'customer' => $customer)
|
||||
),
|
||||
'isCancelledRoom' => $isCancelledRoom,
|
||||
'orderDocuments' => $order->getDocuments(),
|
||||
'ROOM_STATUS_ALLOTED' => HotelBookingDetail::STATUS_ALLOTED,
|
||||
'ROOM_STATUS_CHECKED_IN' => HotelBookingDetail::STATUS_CHECKED_IN,
|
||||
@@ -3027,44 +3133,52 @@ class AdminOrdersControllerCore extends AdminController
|
||||
public function ajaxProcessUpdateGuestDetails()
|
||||
{
|
||||
$response = array(
|
||||
'success' => false
|
||||
'hasError' => false,
|
||||
'errors' => array(),
|
||||
);
|
||||
if (Validate::isLoadedObject($order = new Order(Tools::getValue('id_order')))) {
|
||||
if ($id_customer_guest_detail = OrderCustomerGuestDetail::isCustomerGuestBooking($order->id)) {
|
||||
if (Validate::isLoadedObject($objCustomerGuestDetail = new OrderCustomerGuestDetail($id_customer_guest_detail))) {
|
||||
$id_gender = Tools::getValue('id_gender');
|
||||
$firstname = Tools::getValue('firstname');
|
||||
$lastname = Tools::getValue('lastname');
|
||||
$email = Tools::getValue('email');
|
||||
$phone = Tools::getValue('phone');
|
||||
$objCustomerGuestDetail->id_gender = $id_gender;
|
||||
$objCustomerGuestDetail->firstname = $firstname;
|
||||
$objCustomerGuestDetail->lastname = $lastname;
|
||||
$objCustomerGuestDetail->email = $email;
|
||||
$objCustomerGuestDetail->phone = $phone;
|
||||
if ($objCustomerGuestDetail->validateGuestInfo()) {
|
||||
$objCustomerGuestDetail = new OrderCustomerGuestDetail();
|
||||
$response['errors'] = $objCustomerGuestDetail->validateController();
|
||||
if (!$response['errors']) {
|
||||
if ($id_customer_guest_detail = OrderCustomerGuestDetail::isCustomerGuestBooking($order->id)) {
|
||||
if (Validate::isLoadedObject($objCustomerGuestDetail = new OrderCustomerGuestDetail($id_customer_guest_detail))) {
|
||||
$id_gender = Tools::getValue('id_gender');
|
||||
$firstname = Tools::getValue('firstname');
|
||||
$lastname = Tools::getValue('lastname');
|
||||
$email = Tools::getValue('email');
|
||||
$phone = Tools::getValue('phone');
|
||||
$objCustomerGuestDetail->id_gender = $id_gender;
|
||||
$objCustomerGuestDetail->firstname = $firstname;
|
||||
$objCustomerGuestDetail->lastname = $lastname;
|
||||
$objCustomerGuestDetail->email = $email;
|
||||
$objCustomerGuestDetail->phone = $phone;
|
||||
if ($objCustomerGuestDetail->save()) {
|
||||
$response['success'] = true;
|
||||
$gender = new Gender($objCustomerGuestDetail->id_gender, $this->context->language->id);
|
||||
$response['data']['gender_name'] = $gender->name;
|
||||
$response['data']['guest_name'] = $objCustomerGuestDetail->firstname.' '.$objCustomerGuestDetail->lastname ;
|
||||
$response['data']['guest_email'] = $objCustomerGuestDetail->email;
|
||||
$response['data']['guest_phone'] = $objCustomerGuestDetail->phone;
|
||||
|
||||
$response['msg'] = $this->l('Guest details are updated.');
|
||||
} else {
|
||||
$response['errors'][] = $this->l('Unable to save guest details.');
|
||||
}
|
||||
} else {
|
||||
$response['errors'][] = $this->l('Invalid guest details, please check and try again.');
|
||||
$response['errors'][] = $this->l('Guest details not found.');
|
||||
}
|
||||
} else {
|
||||
$response['errors'][] = $this->l('Guest details not found.');
|
||||
}
|
||||
} else {
|
||||
$response['errors'][] = $this->l('Guest details not found.');
|
||||
}
|
||||
}
|
||||
|
||||
if ($response['errors']) {
|
||||
$response['hasError'] = true;
|
||||
$this->context->smarty->assign('errors', $response['errors']);
|
||||
|
||||
$response['errorsHtml'] = $this->context->smarty->fetch('alerts.tpl');
|
||||
}
|
||||
|
||||
$this->ajaxDie(json_encode($response));
|
||||
}
|
||||
|
||||
@@ -3953,7 +4067,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
if ($createFeaturePrice) {
|
||||
$featurePriceParams['id_room'] = $room_info['id_room'];
|
||||
$featurePriceParams = array_merge($featurePriceParams, array('date_from' => $date_from, 'date_to' => $date_to));
|
||||
$this->createFeaturePrice($featurePriceParams);
|
||||
HotelRoomTypeFeaturePricing::createAutoFeaturePrice($featurePriceParams);
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
@@ -4407,32 +4521,6 @@ class AdminOrdersControllerCore extends AdminController
|
||||
)));
|
||||
}
|
||||
|
||||
protected function createFeaturePrice($params)
|
||||
{
|
||||
$feature_price_name = array();
|
||||
foreach (Language::getIDs(true) as $id_lang) {
|
||||
$feature_price_name[$id_lang] = 'Auto-generated';
|
||||
}
|
||||
|
||||
$hrt_feature_price = new HotelRoomTypeFeaturePricing();
|
||||
$hrt_feature_price->id_product = (int) $params['id_product'];
|
||||
$hrt_feature_price->id_cart = (int) $params['id_cart'];
|
||||
$hrt_feature_price->id_guest = (int) $params['id_guest'];
|
||||
$hrt_feature_price->id_room = (int) $params['id_room'];
|
||||
$hrt_feature_price->feature_price_name = $feature_price_name;
|
||||
$hrt_feature_price->date_selection_type = HotelRoomTypeFeaturePricing::DATE_SELECTION_TYPE_RANGE;
|
||||
$hrt_feature_price->date_from = date('Y-m-d', strtotime($params['date_from']));
|
||||
$hrt_feature_price->date_to = date('Y-m-d', strtotime($params['date_to']));
|
||||
$hrt_feature_price->is_special_days_exists = 0;
|
||||
$hrt_feature_price->special_days = json_encode(false);
|
||||
$hrt_feature_price->impact_way = HotelRoomTypeFeaturePricing::IMPACT_WAY_FIX_PRICE;
|
||||
$hrt_feature_price->impact_type = HotelRoomTypeFeaturePricing::IMPACT_TYPE_FIXED_PRICE;
|
||||
$hrt_feature_price->impact_value = $params['price'];
|
||||
$hrt_feature_price->active = 1;
|
||||
$hrt_feature_price->groupBox = array_column(Group::getGroups($this->context->language->id), 'id_group');
|
||||
$hrt_feature_price->add();
|
||||
}
|
||||
|
||||
public function ajaxProcessEditRoomOnOrder()
|
||||
{
|
||||
// Return value
|
||||
@@ -4494,7 +4582,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
if (Validate::isLoadedObject($objProduct = new Product($roomInfo['id_product']))) {
|
||||
// If room type is NOT DELETED then use current room type price calculation
|
||||
$params = array_merge($params, array('date_from' => $new_date_from, 'date_to' => $new_date_to));
|
||||
$this->createFeaturePrice($params);
|
||||
HotelRoomTypeFeaturePricing::createAutoFeaturePrice($params);
|
||||
|
||||
$roomTotalPrice = HotelRoomTypeFeaturePricing::getRoomTypeTotalPrice(
|
||||
$roomInfo['id_product'],
|
||||
@@ -5190,20 +5278,23 @@ class AdminOrdersControllerCore extends AdminController
|
||||
// update order detail for selected aditional services
|
||||
foreach ($selectedAdditonalServices['additional_services'] as $service) {
|
||||
$serviceOrderDetail = new OrderDetail($service['id_order_detail']);
|
||||
if ($service['quantity'] >= $serviceOrderDetail->product_quantity) {
|
||||
|
||||
$cart_quantity = $service['quantity'];
|
||||
if ($service['product_price_calculation_method'] == Product::PRICE_CALCULATION_METHOD_PER_DAY) {
|
||||
$cart_quantity = $cart_quantity * $product_quantity;
|
||||
}
|
||||
if ($cart_quantity >= $serviceOrderDetail->product_quantity) {
|
||||
$serviceOrderDetail->delete();
|
||||
} else {
|
||||
$order_detail->total_price_tax_incl -= Tools::ps_round($service['total_price_tax_incl'], 6);
|
||||
$order_detail->total_price_tax_excl -= Tools::ps_round($service['total_price_tax_excl'], 6);
|
||||
|
||||
$serviceOldQuantity = $serviceOrderDetail->product_quantity;
|
||||
$serviceOrderDetail->product_quantity = $serviceOldQuantity - $service['quantity'];
|
||||
$serviceOrderDetail->total_price_tax_incl -= Tools::ps_round($service['total_price_tax_incl'], 6);
|
||||
$serviceOrderDetail->total_price_tax_excl -= Tools::ps_round($service['total_price_tax_excl'], 6);
|
||||
$serviceOrderDetail->product_quantity -= $cart_quantity;
|
||||
|
||||
// update taxes
|
||||
$res &= $order_detail->updateTaxAmount($order);
|
||||
$res &= $serviceOrderDetail->updateTaxAmount($order);
|
||||
|
||||
// Save order detail
|
||||
$res &= $order_detail->update();
|
||||
$res &= $serviceOrderDetail->update();
|
||||
}
|
||||
}
|
||||
/*End*/
|
||||
@@ -5247,7 +5338,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$res &= $order->update();
|
||||
|
||||
// Reinject quantity in stock
|
||||
$this->reinjectQuantity($order_detail, $order_detail->product_quantity, $delete);
|
||||
$order_detail->reinjectQuantity($order_detail, $order_detail->product_quantity, $delete);
|
||||
|
||||
// Update weight SUM
|
||||
$order_carrier = new OrderCarrier((int) $order->getIdOrderCarrier());
|
||||
@@ -5337,7 +5428,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$res &= $order->update();
|
||||
|
||||
// Reinject quantity in stock
|
||||
$this->reinjectQuantity($order_detail, $order_detail->product_quantity, true);
|
||||
$order_detail->reinjectQuantity($order_detail, $order_detail->product_quantity, true);
|
||||
|
||||
// Update weight SUM
|
||||
$order_carrier = new OrderCarrier((int)$order->getIdOrderCarrier());
|
||||
@@ -5737,101 +5828,6 @@ class AdminOrdersControllerCore extends AdminController
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param OrderDetail $order_detail
|
||||
* @param int $qty_cancel_product
|
||||
* @param bool $delete
|
||||
*/
|
||||
protected function reinjectQuantity($order_detail, $qty_cancel_product, $delete = false)
|
||||
{
|
||||
// Reinject product
|
||||
$reinjectable_quantity = (int)$order_detail->product_quantity - (int)$order_detail->product_quantity_reinjected;
|
||||
$quantity_to_reinject = $qty_cancel_product > $reinjectable_quantity ? $reinjectable_quantity : $qty_cancel_product;
|
||||
// @since 1.5.0 : Advanced Stock Management
|
||||
$product_to_inject = new Product($order_detail->product_id, false, (int)$this->context->language->id, (int)$order_detail->id_shop);
|
||||
|
||||
$product = new Product($order_detail->product_id, false, (int)$this->context->language->id, (int)$order_detail->id_shop);
|
||||
|
||||
if (Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') && $product->advanced_stock_management && $order_detail->id_warehouse != 0) {
|
||||
$manager = StockManagerFactory::getManager();
|
||||
$movements = StockMvt::getNegativeStockMvts(
|
||||
$order_detail->id_order,
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
$quantity_to_reinject
|
||||
);
|
||||
$left_to_reinject = $quantity_to_reinject;
|
||||
foreach ($movements as $movement) {
|
||||
if ($left_to_reinject > $movement['physical_quantity']) {
|
||||
$quantity_to_reinject = $movement['physical_quantity'];
|
||||
}
|
||||
|
||||
$left_to_reinject -= $quantity_to_reinject;
|
||||
if (Pack::isPack((int)$product->id)) {
|
||||
// Gets items
|
||||
if ($product->pack_stock_type == 1 || $product->pack_stock_type == 2 || ($product->pack_stock_type == 3 && Configuration::get('PS_PACK_STOCK_TYPE') > 0)) {
|
||||
$products_pack = Pack::getItems((int)$product->id, (int)Configuration::get('PS_LANG_DEFAULT'));
|
||||
// Foreach item
|
||||
foreach ($products_pack as $product_pack) {
|
||||
if ($product_pack->advanced_stock_management == 1) {
|
||||
$manager->addProduct(
|
||||
$product_pack->id,
|
||||
$product_pack->id_pack_product_attribute,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$product_pack->pack_quantity * $quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($product->pack_stock_type == 0 || $product->pack_stock_type == 2 ||
|
||||
($product->pack_stock_type == 3 && (Configuration::get('PS_PACK_STOCK_TYPE') == 0 || Configuration::get('PS_PACK_STOCK_TYPE') == 2))) {
|
||||
$manager->addProduct(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$manager->addProduct(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
new Warehouse($movement['id_warehouse']),
|
||||
$quantity_to_reinject,
|
||||
null,
|
||||
$movement['price_te'],
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$id_product = $order_detail->product_id;
|
||||
if ($delete) {
|
||||
$order_detail->delete();
|
||||
}
|
||||
StockAvailable::synchronize($id_product);
|
||||
} elseif ($order_detail->id_warehouse == 0) {
|
||||
StockAvailable::updateQuantity(
|
||||
$order_detail->product_id,
|
||||
$order_detail->product_attribute_id,
|
||||
$quantity_to_reinject,
|
||||
$order_detail->id_shop
|
||||
);
|
||||
|
||||
if ($delete) {
|
||||
$order_detail->delete();
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('This product cannot be re-stocked.');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param OrderInvoice $order_invoice
|
||||
* @param float $value_tax_incl
|
||||
@@ -6899,14 +6895,23 @@ class AdminOrdersControllerCore extends AdminController
|
||||
// if room is changing in the reallocation
|
||||
if ($objHotelBooking->id_product != $idNewRoomType) {
|
||||
$result['has_room_type_change'] = 1;
|
||||
// set context currency So that we can get prices in the order currency
|
||||
$objOrder = new Order($objHotelBooking->id_order);
|
||||
$this->context->currency = new Currency($objOrder->id_currency);
|
||||
$newRoomTotalPrice = HotelRoomTypeFeaturePricing::getRoomTypeTotalPrice(
|
||||
$idNewRoomType,
|
||||
$objHotelBooking->date_from,
|
||||
$objHotelBooking->date_to
|
||||
$objHotelBooking->date_to,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
);
|
||||
if ($objHotelBooking->total_price_tax_excl != $newRoomTotalPrice['total_price_tax_excl']) {
|
||||
$result['has_price_changes'] = 1;
|
||||
$result['price_diff'] = $newRoomTotalPrice['total_price_tax_excl'] - $objHotelBooking->total_price_tax_excl;
|
||||
$result['price_diff'] = Tools::ps_round(($newRoomTotalPrice['total_price_tax_excl'] - $objHotelBooking->total_price_tax_excl), 6);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -201,13 +201,15 @@ class AdminProductsControllerCore extends AdminController
|
||||
LEFT JOIN `'._DB_PREFIX_.'address` aa ON (aa.`id_hotel` = hb.`id`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'feature_product` fp ON (fp.`id_product` = a.`id_product`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type_demand` hrtd ON (hrtd.`id_product` = a.`id_product`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type_service_product` hrtsp ON ((hrtsp.`element_type` = '.(int) RoomTypeServiceProduct::WK_ELEMENT_TYPE_HOTEL.' AND hrtsp.`id_element` = hrt.`id_hotel`) OR (hrtsp.`element_type` = '.(int) RoomTypeServiceProduct::WK_ELEMENT_TYPE_ROOM_TYPE.' AND hrtsp.`id_element` = a.`id_product`))';
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_type_service_product` hrtsp ON ((hrtsp.`element_type` = '.(int) RoomTypeServiceProduct::WK_ELEMENT_TYPE_HOTEL.' AND hrtsp.`id_element` = hrt.`id_hotel`) OR (hrtsp.`element_type` = '.(int) RoomTypeServiceProduct::WK_ELEMENT_TYPE_ROOM_TYPE.' AND hrtsp.`id_element` = a.`id_product`))
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_advance_payment` hap ON (hap.`id_product` = a.`id_product`)';
|
||||
|
||||
$this->_select .= ' (SELECT COUNT(hri.`id`) FROM `'._DB_PREFIX_.'htl_room_information` hri WHERE hri.`id_product` = a.`id_product`) as num_rooms, ';
|
||||
$this->_select .= ' a.`show_at_front`, (SELECT COUNT(hri.`id`) FROM `'._DB_PREFIX_.'htl_room_information` hri WHERE hri.`id_product` = a.`id_product`) as num_rooms, ';
|
||||
$this->_select .= 'hrt.`adults`, hrt.`children`, hrt.`max_guests`, hb.`id` as id_hotel, aa.`city`, hbl.`hotel_name`, ';
|
||||
$this->_select .= 'shop.`name` AS `shopname`, a.`id_shop_default`, ';
|
||||
$this->_select .= $alias_image.'.`id_image` AS `id_image`, cl.`name` AS `name_category`, '.$alias.'.`price`, 0 AS `price_final`, a.`is_virtual`, pd.`nb_downloadable`, sav.`quantity` AS `sav_quantity`, '.$alias.'.`active`, IF(sav.`quantity`<=0, 1, 0) AS `badge_danger`';
|
||||
$this->_select .= ', IFNULL((SELECT hap.`active` FROM `'._DB_PREFIX_.'htl_advance_payment` hap WHERE hap.`id_product` = a.`id_product`), 0) AS advance_payment';
|
||||
$this->_select .= ', IFNULL(hap.`active`, 0) AS advance_payment';
|
||||
$this->_select .= ', IF(IFNULL(hap.`active`, 0), 1, 0) badge_success, IF(IFNULL(hap.`active`, 0), 0, 1) badge_danger ';
|
||||
|
||||
if ($join_category) {
|
||||
$this->_join .= ' INNER JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_product` = a.`id_product` AND cp.`id_category` = '.(int)$this->_category->id.') ';
|
||||
@@ -245,9 +247,10 @@ class AdminProductsControllerCore extends AdminController
|
||||
);
|
||||
} else {
|
||||
$hotels = HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1);
|
||||
$hotelsArray = array();
|
||||
foreach ($hotels as $hotel) {
|
||||
$addressInfo = HotelBranchInformation::getAddress($hotel['id_hotel']);
|
||||
$this->hotelsArray[$hotel['id_hotel']] = $hotel['hotel_name'].', '.$addressInfo['city'];
|
||||
$hotelsArray[$hotel['id_hotel']] = $hotel['hotel_name'].', '.$addressInfo['city'];
|
||||
}
|
||||
|
||||
$this->fields_list['hotel_name'] = array(
|
||||
@@ -256,7 +259,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
'multiple' => true,
|
||||
'operator' => 'or',
|
||||
'filter_key' => 'hrt!id_hotel',
|
||||
'list' => $this->hotelsArray,
|
||||
'list' => $hotelsArray,
|
||||
'optional' => true,
|
||||
'class' => 'chosen',
|
||||
'visible_default' => true,
|
||||
@@ -318,10 +321,23 @@ class AdminProductsControllerCore extends AdminController
|
||||
'optional' => true,
|
||||
);
|
||||
|
||||
$this->fields_list['show_at_front'] = array(
|
||||
'title' => $this->l('Show at front'),
|
||||
'align' => 'text-center',
|
||||
'type' => 'bool',
|
||||
'active' => 'show_at_front',
|
||||
'optional' => true,
|
||||
'havingFilter' => true,
|
||||
'visible_default' => true,
|
||||
'orderby' => false,
|
||||
);
|
||||
|
||||
if (Configuration::get('WK_ALLOW_ADVANCED_PAYMENT')) {
|
||||
$this->fields_list['advance_payment'] = array(
|
||||
'title' => $this->l('Advance Payment'),
|
||||
'active' => 'advance_payment',
|
||||
'callback' => 'getAdvancePaymentStatus',
|
||||
'badge_success' => true,
|
||||
'badge_danger' => true,
|
||||
'align' => 'text-center',
|
||||
'type' => 'bool',
|
||||
'optional' => true,
|
||||
@@ -399,7 +415,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$idLocationsCategory = Configuration::get('PS_LOCATIONS_CATEGORY');
|
||||
$this->objLocationsCategory = new Category($idLocationsCategory, $this->context->language->id);
|
||||
$nestedCategories = Category::getNestedCategories($idLocationsCategory);
|
||||
if ($nestedCategories) {
|
||||
if (isset($nestedCategories[$idLocationsCategory]['children']) && $nestedCategories[$idLocationsCategory]['children']) {
|
||||
foreach ($nestedCategories[$idLocationsCategory]['children'] as $childCategory) {
|
||||
$this->buildCategoryOptions($childCategory);
|
||||
}
|
||||
@@ -430,6 +446,18 @@ class AdminProductsControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
|
||||
public function getAdvancePaymentStatus($val, $row)
|
||||
{
|
||||
if ($val) {
|
||||
$str_return = $this->l('Yes');
|
||||
} else {
|
||||
$str_return = $this->l('No');
|
||||
}
|
||||
|
||||
return $str_return;
|
||||
}
|
||||
|
||||
|
||||
private function buildCategoryOptions($category)
|
||||
{
|
||||
$space = str_repeat(' ', 5 * (($category['level_depth'] - $this->objLocationsCategory->level_depth) - 1));
|
||||
@@ -815,6 +843,13 @@ class AdminProductsControllerCore extends AdminController
|
||||
if (!$id_hotel_new) {
|
||||
$id_hotel_new = $room_type_info['id_hotel'];
|
||||
}
|
||||
|
||||
if ($product->hasAttributes()) {
|
||||
Product::updateDefaultAttribute($product->id);
|
||||
} else {
|
||||
Product::duplicateSpecificPrices($id_product_old, $product->id);
|
||||
}
|
||||
|
||||
$id_room_type_new = HotelRoomType::duplicateRoomType(
|
||||
$id_product_old,
|
||||
$product->id,
|
||||
@@ -838,11 +873,6 @@ class AdminProductsControllerCore extends AdminController
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('An error occurred while duplicating room type.');
|
||||
}
|
||||
if ($product->hasAttributes()) {
|
||||
Product::updateDefaultAttribute($product->id);
|
||||
} else {
|
||||
Product::duplicateSpecificPrices($id_product_old, $product->id);
|
||||
}
|
||||
|
||||
if (!Tools::getValue('noimage') && !Image::duplicateProductImages($id_product_old, $product->id, $combination_images)) {
|
||||
$this->errors[] = Tools::displayError('An error occurred while copying images.');
|
||||
@@ -1335,10 +1365,10 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->errors[] = Tools::displayError('You do not have permission to add this.');
|
||||
}
|
||||
}
|
||||
// Toggle Advance Payment
|
||||
elseif (Tools::getIsset('advance_payment'.$this->table)) {
|
||||
// Toggle Show at front
|
||||
elseif (Tools::getIsset('show_at_front'.$this->table)) {
|
||||
if ($this->tabAccess['edit'] === '1') {
|
||||
$this->action = 'toggleAdvancePayment';
|
||||
$this->action = 'toggleShowAtFront';
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('You do not have permission to edit this.');
|
||||
}
|
||||
@@ -1895,38 +1925,21 @@ class AdminProductsControllerCore extends AdminController
|
||||
return $res;
|
||||
}
|
||||
|
||||
public function processToggleAdvancePayment()
|
||||
public function processToggleShowAtFront()
|
||||
{
|
||||
if (Configuration::get('WK_ALLOW_ADVANCED_PAYMENT')) {
|
||||
$this->loadObject(true);
|
||||
if (!Validate::isLoadedObject($this->object)) {
|
||||
return false;
|
||||
}
|
||||
if (!$this->loadObject()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!Product::isBookingProduct($this->object->id)) {
|
||||
return false;
|
||||
}
|
||||
if (!Product::isBookingProduct($this->object->id)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$objHotelAdvancedPayment = new HotelAdvancedPayment();
|
||||
$roomTypeAdvancePaymentInfo = $objHotelAdvancedPayment->getIdAdvPaymentByIdProduct($this->object->id);
|
||||
if ($roomTypeAdvancePaymentInfo) {
|
||||
$objHotelAdvancedPayment = new HotelAdvancedPayment($roomTypeAdvancePaymentInfo['id']);
|
||||
$objHotelAdvancedPayment->active = !$objHotelAdvancedPayment->active;
|
||||
} else {
|
||||
$objHotelAdvancedPayment->id_product = $this->object->id;
|
||||
$objHotelAdvancedPayment->payment_type = '';
|
||||
$objHotelAdvancedPayment->value = '';
|
||||
$objHotelAdvancedPayment->id_currency = '';
|
||||
$objHotelAdvancedPayment->tax_include = '';
|
||||
$objHotelAdvancedPayment->calculate_from = 0;
|
||||
$objHotelAdvancedPayment->active = 1;
|
||||
}
|
||||
|
||||
if ($objHotelAdvancedPayment->save()) {
|
||||
Tools::redirectAdmin(self::$currentIndex.'&token='.$this->token.'&conf=4');
|
||||
} else {
|
||||
$this->errors[] = $this->l('Something went wrong while updating Advance payment status.');
|
||||
}
|
||||
$this->object->show_at_front = !$this->object->show_at_front;
|
||||
if ($this->object->save()) {
|
||||
Tools::redirectAdmin(self::$currentIndex.'&token='.$this->token.'&conf=4');
|
||||
} else {
|
||||
$this->errors[] = $this->l('An error occurred while updating "show at front".');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2201,10 +2214,14 @@ class AdminProductsControllerCore extends AdminController
|
||||
}
|
||||
|
||||
if (!$res) {
|
||||
$this->errors[] = sprintf(
|
||||
Tools::displayError('The %s field is invalid.'),
|
||||
call_user_func(array($className, 'displayFieldName'), $field, $className)
|
||||
);
|
||||
if (Tools::strtolower($field) == 'wholesale_price') {
|
||||
$this->errors[] = Tools::displayError('The Pre-tax operating cost field is invalid.');
|
||||
} else {
|
||||
$this->errors[] = sprintf(
|
||||
Tools::displayError('The %s field is invalid.'),
|
||||
call_user_func(array($className, 'displayFieldName'), $field, $className)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2458,7 +2475,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Occupied Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=occupied_rooms';
|
||||
$helper->tooltip = $this->l('The current count of rooms that are currently occupied by guests.', null, null, false);
|
||||
$helper->tooltip = $this->l('The count of rooms that are currently occupied by guests.', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -2468,7 +2485,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Vacant Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=vacant_rooms';
|
||||
$helper->tooltip = $this->l('The count of rooms that are currently unoccupied and available for booking.', null, null, false);
|
||||
$helper->tooltip = $this->l('The count of rooms that are either booked but currently unoccupied or available for booking', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -2478,7 +2495,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Booked Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=booked_rooms';
|
||||
$helper->tooltip = $this->l('The number of rooms that are currently booked but not yet occupied.', null, null, false);
|
||||
$helper->tooltip = $this->l('The total number of rooms that are currently booked and and awaiting guest check-in', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -2488,7 +2505,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Disabled Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=disabled_rooms';
|
||||
$helper->tooltip = $this->l('The number of rooms that are currently disabled.', null, null, false);
|
||||
$helper->tooltip = $this->l('The total number of rooms that are currently disabled.', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -2498,7 +2515,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Online Bookable Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=online_bookable_rooms';
|
||||
$helper->tooltip = $this->l('The total number of rooms that can be booked only using website.', null, null, false);
|
||||
$helper->tooltip = $this->l('The total number of rooms that can be booked directly from the front office.', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -2508,7 +2525,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$helper->title = $this->l('Offline Bookable Rooms', null, null, false);
|
||||
$helper->subtitle = $this->l('Today', null, null, false);
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=offline_bookable_rooms';
|
||||
$helper->tooltip = $this->l('The number of rooms that can be booked either through website or offline channels (e.g., phone or in-person).', null, null, false);
|
||||
$helper->tooltip = $this->l('The total number of rooms available for booking through the back office.', null, null, false);
|
||||
$kpis[] = $helper;
|
||||
|
||||
$helper = new HelperKpi();
|
||||
@@ -3272,22 +3289,26 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->errors[] = Tools::displayError('Invalid base children');
|
||||
} else if (Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
if ($baseChildren > Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
$this->errors[] = sprintf(Tools::displayError('Base children cannot be greater than max childern allowed on your website (Max: %s)'), Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM'));
|
||||
$this->errors[] = sprintf(Tools::displayError('Base children cannot be greater than max childern allowed in the room of this room type (Max: %s)'), Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM'));
|
||||
}
|
||||
}
|
||||
if (!$maxAdults || !Validate::isUnsignedInt($maxAdults)) {
|
||||
$this->errors[] = Tools::displayError('Invalid maximum number of adults');
|
||||
} elseif ($maxAdults < $baseAdults) {
|
||||
$this->errors[] = Tools::displayError('Maximum number of adults cannot be less than base adults');
|
||||
} elseif ($maxAdults > $maxGuests) {
|
||||
$this->errors[] = Tools::displayError('Maximum number of adults cannot be more than maximum number of guests');
|
||||
}
|
||||
if ($maxChildren == '' || !Validate::isUnsignedInt($maxChildren)) {
|
||||
$this->errors[] = Tools::displayError('Invalid maximum number of children');
|
||||
} else if (Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
if ($maxChildren > Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
$this->errors[] = sprintf(Tools::displayError('Maximum number of children cannot be greater than max childern allowed on your website (Max: %s)'), Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM'));
|
||||
}
|
||||
} elseif ($maxChildren < $baseChildren) {
|
||||
$this->errors[] = Tools::displayError('Maximum number of children cannot be less than base children');
|
||||
} elseif ($maxChildren >= $maxGuests) {
|
||||
$this->errors[] = Tools::displayError('Maximum number of children cannot be more or equal than maximum number of guests.(1 adult is mandatory in a room)');
|
||||
} else if (Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
if ($maxChildren > Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM')) {
|
||||
$this->errors[] = sprintf(Tools::displayError('Maximum number of children cannot be greater than max childern allowed in the room of this room type (Max: %s)'), Configuration::get('WK_GLOBAL_MAX_CHILD_IN_ROOM'));
|
||||
}
|
||||
}
|
||||
if (!$maxGuests || !Validate::isUnsignedInt($maxGuests)) {
|
||||
$this->errors[] = Tools::displayError('Invalid maximum number of guests');
|
||||
@@ -3670,6 +3691,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
public function processAdditionalFacilities()
|
||||
{
|
||||
if ($idProduct = Tools::getValue('id_product')) {
|
||||
$errors = array();
|
||||
$objRoomTypeDemand = new HotelRoomTypeDemand();
|
||||
$objRoomTypeDemandPrice = new HotelRoomTypeDemandPrice();
|
||||
// first delete all the previously saved prices and demands of this room type
|
||||
@@ -3697,7 +3719,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$objRoomTypeDemandPrice->save();
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Invalid demand price of facility.').
|
||||
$errors[] = Tools::displayError('Invalid demand price of facility.').
|
||||
' : '.$objGlobalDemand->name[$this->context->language->id];
|
||||
}
|
||||
if ($advOptions = $objAdvOption->getGlobalDemandAdvanceOptions($idGlobalDemand)) {
|
||||
@@ -3714,15 +3736,16 @@ class AdminProductsControllerCore extends AdminController
|
||||
$objRoomTypeDemandPrice->save();
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('Invalid price of advanced option: ').$objAdvOption->name[$this->context->language->id];
|
||||
$errors[] = Tools::displayError('Invalid price of advanced option: ').$objAdvOption->name[$this->context->language->id];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (count($this->errors)) {
|
||||
$this->warnings[] = Tools::displayError('Invalid price values are not saved. Please correct them and save again.');
|
||||
if (count($errors)) {
|
||||
$this->warnings[] = Tools::displayError('Invalid price values for additional facilities were not saved. Please correct them and try again.');
|
||||
$this->errors = array_merge($this->errors, $errors);
|
||||
}
|
||||
|
||||
$objCartBookingData = new HotelCartBookingData();
|
||||
|
||||
@@ -172,6 +172,7 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
|
||||
'name' => 'name',
|
||||
'maxlength' => 32,
|
||||
'required' => true,
|
||||
'col' => 3,
|
||||
'hint' => $this->l('Forbidden characters').' <>;=#{}'
|
||||
),
|
||||
array(
|
||||
@@ -222,8 +223,8 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
|
||||
'name' => 'price',
|
||||
'disabled' => ($this->object->price == -1 ? 1 : 0),
|
||||
'maxlength' => 10,
|
||||
'suffix' => $this->context->currency->getSign('right'),
|
||||
|
||||
'suffix' => $this->context->currency->sign,
|
||||
'col' => 3,
|
||||
),
|
||||
array(
|
||||
'type' => 'checkbox',
|
||||
@@ -279,6 +280,7 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Reduction'),
|
||||
'name' => 'reduction',
|
||||
'col' => 3,
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
@@ -297,16 +299,12 @@ class AdminSpecificPriceRuleControllerCore extends AdminController
|
||||
);
|
||||
|
||||
$price = $this->getFieldValue($this->object, 'price');
|
||||
if ($price != -1 && Validate::isPrice($price)) {
|
||||
$price = number_format($price, 6);
|
||||
} else {
|
||||
if ($price == -1 || !Validate::isPrice($price)) {
|
||||
$price = '';
|
||||
}
|
||||
|
||||
$reduction = $this->getFieldValue($this->object, 'reduction');
|
||||
if (Validate::isPrice($reduction)) {
|
||||
$reduction = number_format($reduction, 6);
|
||||
} else {
|
||||
if (!Validate::isPrice($reduction)) {
|
||||
$reduction = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -573,20 +573,20 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
{
|
||||
$sql = 'SELECT p.`id_product`,
|
||||
(
|
||||
SELECT IFNULL(SUM(ROUND((DATEDIFF(LEAST(hbd.`date_to`, "'.pSQL($dateTo).'"), GREATEST(hbd.`date_from`, "'.pSQL($dateFrom).'")) / DATEDIFF(hbd.`date_to`, hbd.`date_from`)) * hbd.`total_price_tax_excl`, 2)), 0)
|
||||
SELECT count(hbd.`id_product`)
|
||||
FROM `'._DB_PREFIX_.'htl_booking_detail` hbd
|
||||
LEFT JOIN `'._DB_PREFIX_.'orders` o
|
||||
ON (o.`id_order` = hbd.`id_order`)
|
||||
WHERE hbd.`id_product` = p.`id_product` AND o.`valid` = 1
|
||||
AND hbd.`date_to` > "'.pSQL($dateFrom).'" AND hbd.`date_from` < "'.pSQL($dateTo).'"
|
||||
) AS totalRevenue
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
) as total_booked FROM `'._DB_PREFIX_.'product` p
|
||||
INNER JOIN `'._DB_PREFIX_.'htl_room_type` hrt
|
||||
ON (hrt.`id_product` = p.`id_product`)
|
||||
WHERE p.`active` = 1 AND p.`booking_product` = 1'.
|
||||
WHERE p.`active` = 1 AND p.`booking_product` = 1 '.
|
||||
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hrt') : '').'
|
||||
HAVING totalRevenue > 0
|
||||
ORDER BY totalRevenue DESC';
|
||||
GROUP By p.`id_product`
|
||||
HAVING total_booked > 0
|
||||
ORDER BY total_booked DESC';
|
||||
|
||||
return Db::getInstance()->getValue($sql);
|
||||
}
|
||||
@@ -856,20 +856,36 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
break;
|
||||
|
||||
case 'occupied_rooms':
|
||||
$value = AdminStatsController::getOccupiedRooms(0);
|
||||
$value = AdminStatsController::getDistinctRoomBookingsCount(
|
||||
date('Y-m-d', strtotime('-1 day')),
|
||||
date('Y-m-d'),
|
||||
0,
|
||||
HotelBookingDetail::STATUS_CHECKED_IN
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
case 'vacant_rooms':
|
||||
$totalAvailableRooms = AdminStatsController::getAvailableRoomsForDiscreteDates(date('Y-m-d'), null, 0);
|
||||
$totalAvailableRooms = $totalAvailableRooms[strtotime(date('Y-m-d'))];
|
||||
$totalOccupiedRooms = AdminStatsController::getOccupiedRooms(0);
|
||||
$value = $totalAvailableRooms - $totalOccupiedRooms;
|
||||
$totalUnAvailRooms = AdminStatsController::getDisabledRoomsForDiscreteDates(date('Y-m-d'), null, 0);
|
||||
$totalUnAvailRooms = $totalUnAvailRooms[strtotime(date('Y-m-d'))];
|
||||
$totalRooms = AdminStatsController::getTotalRooms(0);
|
||||
$totalOccupiedRooms = AdminStatsController::getDistinctRoomBookingsCount(
|
||||
date('Y-m-d', strtotime('-1 day')),
|
||||
date('Y-m-d'),
|
||||
0,
|
||||
HotelBookingDetail::STATUS_CHECKED_IN
|
||||
);
|
||||
$value = $totalRooms - ($totalUnAvailRooms + $totalOccupiedRooms);
|
||||
|
||||
break;
|
||||
|
||||
case 'booked_rooms':
|
||||
$value = AdminStatsController::getBookedRooms(0);
|
||||
$value = AdminStatsController::getDistinctRoomBookingsCount(
|
||||
date('Y-m-d'),
|
||||
date('Y-m-d', strtotime('+1 day')),
|
||||
0,
|
||||
HotelBookingDetail::STATUS_ALLOTED
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
@@ -965,6 +981,12 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
case 'average_lead_time':
|
||||
$dateToday = date('Y-m-d');
|
||||
$value = Tools::ps_round(AdminStatsController::getAverageLeadTime(), 2);
|
||||
if ($value && $value <= 1) {
|
||||
$value .= ' '.$this->l('day');
|
||||
} else {
|
||||
$value .= ' '.$this->l('days');
|
||||
}
|
||||
|
||||
break;
|
||||
case 'average_guest_in_booking':
|
||||
$dateToday = date('Y-m-d');
|
||||
@@ -1103,13 +1125,14 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
);
|
||||
}
|
||||
|
||||
public static function getTotalRooms($idHotel = null)
|
||||
public static function getTotalRooms($idHotel = null, $active = null)
|
||||
{
|
||||
$sql = 'SELECT COUNT(hri.`id`)
|
||||
FROM `'._DB_PREFIX_.'htl_room_information` hri
|
||||
INNER JOIN `'._DB_PREFIX_.'product` p
|
||||
ON (p.`id_product` = hri.`id_product`)
|
||||
WHERE p.`booking_product` = 1 '.
|
||||
(!is_null($active) ? ' AND p.`active` ='.(int) $active : ' ').
|
||||
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hri') : '');
|
||||
|
||||
return Db::getInstance()->getValue($sql);
|
||||
@@ -1123,16 +1146,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
|
||||
$occupancyData = array('count_total' => 0, 'count_occupied' => 0, 'count_available' => 0, 'count_unavailable' => 0);
|
||||
|
||||
$countTotal = Db::getInstance()->getValue(
|
||||
'SELECT COUNT(hri.`id`)
|
||||
FROM `'._DB_PREFIX_.'htl_room_information` hri
|
||||
INNER JOIN `'._DB_PREFIX_.'htl_branch_info` hbi
|
||||
ON (hbi.`id` = hri.`id_hotel`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'product` p
|
||||
ON (p.`id_product` = hri.`id_product`)
|
||||
WHERE p.`active` = 1'.
|
||||
HotelBranchInformation::addHotelRestriction($idsHotel, 'hri')
|
||||
);
|
||||
$countTotal = self::getTotalRooms($idsHotel, true);
|
||||
$occupancyData['count_total'] = $countTotal;
|
||||
|
||||
// Occupied rooms are booked rooms that are not refunded in the date range
|
||||
@@ -1417,7 +1431,27 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
return $result;
|
||||
}
|
||||
|
||||
public static function getTotalOccupiedRooms($dateFrom, $dateTo, $idHotel = null)
|
||||
public static function getDistinctRoomBookingsCount($dateFrom = false, $dateTo = false, $idHotel = null, $roomBookingStatus = null)
|
||||
{
|
||||
$sql = 'SELECT COUNT(DISTINCT hbd.`id_room`)
|
||||
FROM `'._DB_PREFIX_.'htl_booking_detail` hbd
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_information` hri
|
||||
ON (hri.`id` = hbd.`id_room`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'product` p
|
||||
ON (p.`id_product` = hri.`id_product`)
|
||||
WHERE p.`active` = 1
|
||||
AND hbd.`is_refunded` = 0
|
||||
AND hbd.`is_cancelled` = 0 '.
|
||||
(($dateFrom && $dateTo) ? ' AND hbd.`date_from` <= "'.pSQL($dateTo).' 00:00:00" AND hbd.`date_to` > "'.pSQL($dateFrom).' 00:00:00" ': ' ').
|
||||
(!is_null($roomBookingStatus) ? ' AND hbd.`id_status` = '.(int) $roomBookingStatus : ' ').
|
||||
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hbd') : '');
|
||||
$result = Db::getInstance()->getValue($sql);
|
||||
|
||||
return $result ? $result : 0;
|
||||
|
||||
}
|
||||
|
||||
public static function getTotalBookedRooms($dateFrom, $dateTo, $idHotel = null)
|
||||
{
|
||||
$sql = 'SELECT COUNT(hbd.`id_room`)
|
||||
FROM `'._DB_PREFIX_.'htl_booking_detail` hbd
|
||||
@@ -1795,46 +1829,6 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of rooms that have been checked-in.
|
||||
*/
|
||||
public static function getOccupiedRooms($idHotel = null)
|
||||
{
|
||||
$sql = 'SELECT COUNT(DISTINCT hbd.`id_room`)
|
||||
FROM `'._DB_PREFIX_.'htl_booking_detail` hbd
|
||||
LEFT JOIN `'._DB_PREFIX_.'htl_room_information` hri
|
||||
ON (hri.`id` = hbd.`id_room`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'product` p
|
||||
ON (p.`id_product` = hri.`id_product`)
|
||||
WHERE p.`active` = 1
|
||||
AND hbd.`is_refunded` = 0
|
||||
AND hbd.`is_cancelled` = 0
|
||||
AND hbd.`id_status` = '.(int) HotelBookingDetail::STATUS_CHECKED_IN.
|
||||
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hbd') : '');
|
||||
$result = Db::getInstance()->getValue($sql);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of rooms that have been booked but not checked-in yet.
|
||||
*/
|
||||
public static function getBookedRooms($idHotel = null)
|
||||
{
|
||||
$dateToday = date('Y-m-d');
|
||||
|
||||
$sql = 'SELECT COUNT(DISTINCT hbd.`id_room`)
|
||||
FROM `'._DB_PREFIX_.'htl_booking_detail` hbd
|
||||
WHERE hbd.`is_refunded` = 0
|
||||
AND hbd.`is_cancelled` = 0
|
||||
AND hbd.`id_status` = '.(int) HotelBookingDetail::STATUS_ALLOTED.'
|
||||
AND hbd.`date_from` = "'.pSQL($dateToday).' 00:00:00"'.
|
||||
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hbd') : '');
|
||||
$result = Db::getInstance()->getValue($sql);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public static function getTotalFrequentCustomers($nbOrders = 5, $idHotel = null)
|
||||
{
|
||||
$sql = 'SELECT COUNT(t.`id_customer`)
|
||||
@@ -1891,7 +1885,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
|
||||
public static function getTotalNewCustomers($nbDaysNewCustomers)
|
||||
{
|
||||
$maxDateAdd = date('Y-m-d H:i:s', strtotime('-'.$nbDaysNewCustomers.' day'));
|
||||
$maxDateAdd = date('Y-m-d', strtotime('-'.$nbDaysNewCustomers.' day'));
|
||||
$sql = 'SELECT COUNT(c.`id_customer`)
|
||||
FROM `'._DB_PREFIX_.'customer` c
|
||||
WHERE c.`date_add` >= "'.pSQL($maxDateAdd).'" AND c.`deleted` = 0';
|
||||
@@ -1976,7 +1970,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
|
||||
$nightsBookedByDate = self::getRoomNightsData($dateFrom, $dateTo, $idHotel);
|
||||
|
||||
$totalNightsBooked = array_sum($nightsBookedByDate);
|
||||
$totalOccupiedRoom = self::getTotalOccupiedRooms($dateFrom, $dateTo, $idHotel);
|
||||
$totalOccupiedRoom = self::getTotalBookedRooms($dateFrom, $dateTo, $idHotel);
|
||||
|
||||
return $totalOccupiedRoom ? ($totalNightsBooked / $totalOccupiedRoom) : 0;
|
||||
}
|
||||
|
||||
@@ -677,6 +677,8 @@ class AdminThemesControllerCore extends AdminController
|
||||
|
||||
if (!count($this->errors)) {
|
||||
Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminThemes').'&conf=6');
|
||||
} else {
|
||||
$this->redirect_after = '';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1981,7 +1983,7 @@ class AdminThemesControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
if ($xml_version_too_old && !$this->_checkConfigForFeatures(array_keys(AdminThemes::$check_features))) {
|
||||
$this->errors[] .= Tools::displayError('The config.xml file has not been created for this version of PrestaShop.');
|
||||
$this->errors[] = Tools::displayError('The config.xml file has not been created for this version of QloApps.');
|
||||
$return = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -101,16 +101,8 @@ class CategoryControllerCore extends FrontController
|
||||
// validate dates if available
|
||||
$dateFrom = Tools::getValue('date_from');
|
||||
$dateTo = Tools::getValue('date_to');
|
||||
|
||||
$currentTimestamp = strtotime(date('Y-m-d'));
|
||||
$dateFromTimestamp = strtotime($dateFrom);
|
||||
$dateToTimestamp = strtotime($dateTo);
|
||||
|
||||
if ($dateFrom != '' && ($dateFromTimestamp === false || ($dateFromTimestamp < $currentTimestamp))) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
}
|
||||
|
||||
if ($dateTo != '' && ($dateToTimestamp === false || ($dateToTimestamp < $currentTimestamp))) {
|
||||
$idHotel = HotelBranchInformation::getHotelIdByIdCategory($id_category);
|
||||
if (!HotelHelper::validateDateRangeForHotel($dateFrom, $dateTo, $idHotel)) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
}
|
||||
|
||||
@@ -165,6 +157,16 @@ class CategoryControllerCore extends FrontController
|
||||
$currency = new Currency($this->context->currency->id);
|
||||
|
||||
if ($id_hotel = HotelBranchInformation::getHotelIdByIdCategory($id_category)) {
|
||||
$preparationTime = (int) HotelOrderRestrictDate::getPreparationTime($id_hotel);
|
||||
if ($preparationTime
|
||||
&& strtotime('+ '.$preparationTime.' day') >= strtotime($date_from)
|
||||
) {
|
||||
$date_from = date('Y-m-d', strtotime('+ '.$preparationTime.' day'));
|
||||
if (strtotime($date_from) >= strtotime($date_to)) {
|
||||
$date_to = date('Y-m-d', strtotime($date_from) + 86400);
|
||||
}
|
||||
}
|
||||
|
||||
$id_cart = $this->context->cart->id;
|
||||
$id_guest = $this->context->cookie->id_guest;
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class ContactControllerCore extends FrontController
|
||||
SELECT cm.id_customer_thread FROM '._DB_PREFIX_.'customer_thread cm
|
||||
WHERE cm.id_customer_thread = '.(int)$id_customer_thread.' AND cm.id_shop = '.(int)$this->context->shop->id.' AND token = \''.pSQL(Tools::getValue('token')).'\'')
|
||||
) || (
|
||||
$id_customer_thread = CustomerThread::getIdCustomerThreadByEmailAndIdOrder($from, $id_order)
|
||||
$id_customer_thread = CustomerThread::getIdCustomerThreadByEmailAndIdOrder($from, $id_order, $id_contact)
|
||||
))) {
|
||||
$fields = Db::getInstance()->executeS('
|
||||
SELECT cm.id_customer_thread, cm.id_contact, cm.id_customer, cm.id_order, cm.id_product, cm.email
|
||||
@@ -115,99 +115,112 @@ class ContactControllerCore extends FrontController
|
||||
WHERE cc.id_customer_thread = '.(int)$id_customer_thread.' AND cc.id_shop = '.(int)$this->context->shop->id.'
|
||||
ORDER BY cm.date_add DESC');
|
||||
if ($old_message == $message) {
|
||||
$this->context->smarty->assign('alreadySent', 1);
|
||||
$this->errors[] = Tools::displayError('Your message has already been sent.');
|
||||
$_POST = array();
|
||||
$contact->email = '';
|
||||
$contact->customer_service = 0;
|
||||
}
|
||||
|
||||
if ($contact->customer_service) {
|
||||
if ((int)$id_customer_thread) {
|
||||
$ct = new CustomerThread($id_customer_thread);
|
||||
$ct->status = 'open';
|
||||
$ct->id_lang = (int)$this->context->language->id;
|
||||
$ct->id_contact = (int)$id_contact;
|
||||
$ct->id_order = (int)$id_order;
|
||||
if ($id_product = (int)Tools::getValue('id_product')) {
|
||||
$ct->id_product = $id_product;
|
||||
} else {
|
||||
if ($contact->customer_service) {
|
||||
if ((int)$id_customer_thread) {
|
||||
$ct = new CustomerThread($id_customer_thread);
|
||||
$ct->status = 'open';
|
||||
$ct->id_lang = (int)$this->context->language->id;
|
||||
$ct->id_contact = (int)$id_contact;
|
||||
$ct->id_order = (int)$id_order;
|
||||
if ($id_product = (int)Tools::getValue('id_product')) {
|
||||
$ct->id_product = $id_product;
|
||||
}
|
||||
$ct->update();
|
||||
} else {
|
||||
$ct = new CustomerThread();
|
||||
if (isset($customer->id)) {
|
||||
$ct->id_customer = (int)$customer->id;
|
||||
}
|
||||
$ct->id_shop = (int)$this->context->shop->id;
|
||||
$ct->id_order = (int)$id_order;
|
||||
if ($id_product = (int)Tools::getValue('id_product')) {
|
||||
$ct->id_product = $id_product;
|
||||
}
|
||||
$ct->id_contact = (int)$id_contact;
|
||||
$ct->id_lang = (int)$this->context->language->id;
|
||||
$ct->email = $from;
|
||||
$ct->status = 'open';
|
||||
$ct->token = Tools::passwdGen(12);
|
||||
$ct->add();
|
||||
}
|
||||
$ct->update();
|
||||
} else {
|
||||
$ct = new CustomerThread();
|
||||
if (isset($customer->id)) {
|
||||
$ct->id_customer = (int)$customer->id;
|
||||
}
|
||||
$ct->id_shop = (int)$this->context->shop->id;
|
||||
$ct->id_order = (int)$id_order;
|
||||
if ($id_product = (int)Tools::getValue('id_product')) {
|
||||
$ct->id_product = $id_product;
|
||||
}
|
||||
$ct->id_contact = (int)$id_contact;
|
||||
$ct->id_lang = (int)$this->context->language->id;
|
||||
$ct->email = $from;
|
||||
$ct->status = 'open';
|
||||
$ct->token = Tools::passwdGen(12);
|
||||
$ct->add();
|
||||
}
|
||||
|
||||
if ($ct->id) {
|
||||
$cm = new CustomerMessage();
|
||||
$cm->id_customer_thread = $ct->id;
|
||||
$cm->message = $message;
|
||||
if (isset($file_attachment['rename']) && !empty($file_attachment['rename']) && rename($file_attachment['tmp_name'], _PS_UPLOAD_DIR_.basename($file_attachment['rename']))) {
|
||||
$cm->file_name = $file_attachment['rename'];
|
||||
@chmod(_PS_UPLOAD_DIR_.basename($file_attachment['rename']), 0664);
|
||||
}
|
||||
$cm->ip_address = (int)ip2long(Tools::getRemoteAddr());
|
||||
$cm->user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
if (!$cm->add()) {
|
||||
$this->errors[] = Tools::displayError('An error occurred while sending the message.');
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('An error occurred while sending the message.');
|
||||
}
|
||||
}
|
||||
|
||||
if (!count($this->errors)) {
|
||||
$var_list = array(
|
||||
'{order_name}' => '-',
|
||||
'{attached_file}' => '-',
|
||||
'{message}' => Tools::nl2br(stripslashes($message)),
|
||||
'{email}' => $from,
|
||||
'{product_name}' => '',
|
||||
);
|
||||
|
||||
if (isset($file_attachment['name'])) {
|
||||
$var_list['{attached_file}'] = $file_attachment['name'];
|
||||
}
|
||||
|
||||
$id_product = (int)Tools::getValue('id_product');
|
||||
|
||||
if (isset($ct) && Validate::isLoadedObject($ct) && $ct->id_order) {
|
||||
$order = new Order((int)$ct->id_order);
|
||||
$var_list['{order_name}'] = $order->getUniqReference();
|
||||
$var_list['{id_order}'] = (int)$order->id;
|
||||
}
|
||||
|
||||
if ($id_product) {
|
||||
$product = new Product((int)$id_product);
|
||||
if (Validate::isLoadedObject($product) && isset($product->name[Context::getContext()->language->id])) {
|
||||
$var_list['{product_name}'] = $product->name[Context::getContext()->language->id];
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($contact->email)) {
|
||||
if (!Mail::Send($this->context->language->id, 'contact', Mail::l('Message from contact form').' [no_sync]',
|
||||
$var_list, $contact->email, $contact->name, null, null,
|
||||
$file_attachment, null, _PS_MAIL_DIR_, false, null, null, $from)) {
|
||||
if ($ct->id) {
|
||||
$cm = new CustomerMessage();
|
||||
$cm->id_customer_thread = $ct->id;
|
||||
$cm->message = $message;
|
||||
if (isset($file_attachment['rename']) && !empty($file_attachment['rename']) && rename($file_attachment['tmp_name'], _PS_UPLOAD_DIR_.basename($file_attachment['rename']))) {
|
||||
$cm->file_name = $file_attachment['rename'];
|
||||
@chmod(_PS_UPLOAD_DIR_.basename($file_attachment['rename']), 0664);
|
||||
}
|
||||
$cm->ip_address = (int)ip2long(Tools::getRemoteAddr());
|
||||
$cm->user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
if (!$cm->add()) {
|
||||
$this->errors[] = Tools::displayError('An error occurred while sending the message.');
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('An error occurred while sending the message.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (count($this->errors) > 1) {
|
||||
array_unique($this->errors);
|
||||
} elseif (!count($this->errors)) {
|
||||
$this->context->smarty->assign('confirmation', 1);
|
||||
if (!count($this->errors)) {
|
||||
$var_list = array(
|
||||
'{order_name}' => '-',
|
||||
'{attached_file}' => '-',
|
||||
'{message}' => Tools::nl2br(stripslashes($message)),
|
||||
'{email}' => $from,
|
||||
'{product_name}' => '',
|
||||
);
|
||||
|
||||
if (isset($file_attachment['name'])) {
|
||||
$var_list['{attached_file}'] = $file_attachment['name'];
|
||||
}
|
||||
|
||||
$id_product = (int)Tools::getValue('id_product');
|
||||
|
||||
if (isset($ct) && Validate::isLoadedObject($ct) && $ct->id_order) {
|
||||
$order = new Order((int)$ct->id_order);
|
||||
$var_list['{order_name}'] = $order->getUniqReference();
|
||||
$var_list['{id_order}'] = (int)$order->id;
|
||||
}
|
||||
|
||||
if ($id_product) {
|
||||
$product = new Product((int)$id_product);
|
||||
if (Validate::isLoadedObject($product) && isset($product->name[Context::getContext()->language->id])) {
|
||||
$var_list['{product_name}'] = $product->name[Context::getContext()->language->id];
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($contact->email)) {
|
||||
Mail::Send(
|
||||
$this->context->language->id,
|
||||
'contact',
|
||||
Mail::l('Message from contact form').' [no_sync]',
|
||||
$var_list,
|
||||
$contact->email,
|
||||
$contact->name,
|
||||
null,
|
||||
null,
|
||||
$file_attachment,
|
||||
null,
|
||||
_PS_MAIL_DIR_,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
$from
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (count($this->errors) > 1) {
|
||||
array_unique($this->errors);
|
||||
} elseif (!count($this->errors)) {
|
||||
Tools::redirect($this->context->link->getPageLink('contact', null, null, array('confirm' => 1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -295,6 +308,7 @@ class ContactControllerCore extends FrontController
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'hotelsInfo' => $hotelsInfo,
|
||||
'viewOnMap' => Configuration::get('WK_GOOGLE_ACTIVE_MAP'),
|
||||
'gblHtlPhone' => $gblHtlPhone,
|
||||
'gblHtlEmail' => $gblHtlEmail,
|
||||
'gblHtlAddress' => $gblHtlAddress,
|
||||
@@ -312,6 +326,7 @@ class ContactControllerCore extends FrontController
|
||||
}
|
||||
}
|
||||
//End
|
||||
|
||||
$this->setTemplate(_PS_THEME_DIR_.'contact-form.tpl');
|
||||
}
|
||||
|
||||
|
||||
@@ -249,6 +249,7 @@ class GuestTrackingControllerCore extends FrontController
|
||||
$total_demands_price_ti = 0;
|
||||
$total_convenience_fee_te = 0;
|
||||
$total_convenience_fee_ti = 0;
|
||||
|
||||
foreach ($orderProducts as $type_key => $type_value) {
|
||||
if (in_array($type_value['product_id'], $processedProducts)) {
|
||||
continue;
|
||||
@@ -306,13 +307,6 @@ class GuestTrackingControllerCore extends FrontController
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
if ($data_v['is_refunded']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] -= 1;
|
||||
}
|
||||
} else {
|
||||
$num_days = $objBookingDetail->getNumberOfDays($data_v['date_from'], $data_v['date_to']);
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'] = 1;
|
||||
@@ -332,15 +326,6 @@ class GuestTrackingControllerCore extends FrontController
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] = 0;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] = 0;
|
||||
if ($data_v['is_refunded']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_refunded'] = $data_v['is_refunded'];
|
||||
@@ -629,7 +614,9 @@ class GuestTrackingControllerCore extends FrontController
|
||||
if ($idHotel = HotelBookingDetail::getIdHotelByIdOrder($objOrder->id)) {
|
||||
$objHotelBranchInformation = new HotelBranchInformation($idHotel, $this->context->language->id);
|
||||
if (Validate::isLoadedObject($objHotelBranchInformation)) {
|
||||
if ($apiKey = Configuration::get('PS_API_KEY')) {
|
||||
if (($apiKey = Configuration::get('PS_API_KEY'))
|
||||
&& Configuration::get('WK_GOOGLE_ACTIVE_MAP')
|
||||
) {
|
||||
if (floatval($objHotelBranchInformation->latitude) != 0
|
||||
&& floatval($objHotelBranchInformation->longitude) != 0
|
||||
) {
|
||||
|
||||
@@ -175,6 +175,7 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
$order_bk_data = $obj_htl_bk_dtl->getOnlyOrderBookingData($idOrder, $customer->id_guest, $type_value['product_id']);
|
||||
}
|
||||
if ($rm_dtl = $obj_rm_type->getRoomTypeInfoByIdProduct($type_value['product_id'])) {
|
||||
$cart_htl_data[$type_key]['id_order'] = $idOrder;
|
||||
$cart_htl_data[$type_key]['id_product'] = $type_value['product_id'];
|
||||
$cart_htl_data[$type_key]['cover_img'] = $cover_img;
|
||||
$cart_htl_data[$type_key]['adults'] = $rm_dtl['adults'];
|
||||
@@ -366,9 +367,6 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($cart_htl_data)) {
|
||||
$this->context->smarty->assign('cart_htl_data', $cart_htl_data);
|
||||
}
|
||||
if (!empty($cart_service_products)) {
|
||||
$this->context->smarty->assign('cart_service_products', $cart_service_products);
|
||||
}
|
||||
@@ -399,6 +397,10 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
$this->context->smarty->assign('orders_has_invoice', $orders_has_invoice);
|
||||
}
|
||||
|
||||
if (!empty($cart_htl_data)) {
|
||||
$this->context->smarty->assign('cart_htl_data', $cart_htl_data);
|
||||
}
|
||||
|
||||
$shw_bo_msg = Configuration::get('WK_SHOW_MSG_ON_BO');
|
||||
$bo_msg = Configuration::get('WK_BO_MESSAGE');
|
||||
$this->context->smarty->assign(
|
||||
@@ -469,6 +471,8 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'history.css');
|
||||
$this->addJS(_THEME_JS_DIR_.'history.js');
|
||||
$this->addJS(_THEME_JS_DIR_.'order-confirmation.js');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'order-confirmation.css');
|
||||
$this->addJqueryPlugin(array('fancybox')); //fancybox not found for some client theme
|
||||
$this->addJqueryUI('ui.tooltip', 'base', true);
|
||||
}
|
||||
|
||||
@@ -83,339 +83,350 @@ class OrderDetailControllerCore extends FrontController
|
||||
}
|
||||
|
||||
|
||||
//by webkul to show order details properly on order history page
|
||||
|
||||
// if (Module::isInstalled('hotelreservationsystem')) {
|
||||
// include_once _PS_MODULE_DIR_.'hotelreservationsystem/define.php';
|
||||
// $objHtlBranchInfo = new HotelBranchInformation();
|
||||
$objBookingDetail = new HotelBookingDetail();
|
||||
$objRoomType = new HotelRoomType();
|
||||
$objBookingDemand = new HotelBookingDemands();
|
||||
$objRoomTypeServiceProductOrderDetail = new RoomTypeServiceProductOrderDetail();
|
||||
$anyBackOrder = 0;
|
||||
$processedProducts = array();
|
||||
$cartHotelData = array();
|
||||
$cartServiceProducts = array();
|
||||
$total_demands_price_te = 0;
|
||||
$total_demands_price_ti = 0;
|
||||
$total_convenience_fee_te = 0;
|
||||
$total_convenience_fee_ti = 0;
|
||||
if (!empty($products)) {
|
||||
foreach ($products as $type_key => $type_value) {
|
||||
if (in_array($type_value['product_id'], $processedProducts)) {
|
||||
continue;
|
||||
}
|
||||
if ($type_value['is_booking_product']) {
|
||||
$processedProducts[] = $type_value['product_id'];
|
||||
|
||||
$product = new Product($type_value['product_id'], false, $this->context->language->id);
|
||||
$cover_image_arr = $product->getCover($type_value['product_id']);
|
||||
|
||||
if (!empty($cover_image_arr)) {
|
||||
$cover_img = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.$cover_image_arr['id_image'], 'home_default');
|
||||
} else {
|
||||
$cover_img = $this->context->link->getImageLink($product->link_rewrite, $this->context->language->iso_code.'-default', 'home_default');
|
||||
}
|
||||
|
||||
if (isset($customer->id)) {
|
||||
$obj_cart = new Cart($order->id_cart);
|
||||
$order_bk_data = $objBookingDetail->getOnlyOrderBookingData($order->id, $obj_cart->id_guest, $type_value['product_id'], $customer->id);
|
||||
} else {
|
||||
$order_bk_data = $objBookingDetail->getOnlyOrderBookingData($order->id, $customer->id_guest, $type_value['product_id']);
|
||||
}
|
||||
$cartHotelData[$type_key]['id_product'] = $type_value['product_id'];
|
||||
$cartHotelData[$type_key]['cover_img'] = $cover_img;
|
||||
|
||||
|
||||
$objBookingDemand = new HotelBookingDemands();
|
||||
foreach ($order_bk_data as $data_k => $data_v) {
|
||||
$date_join = strtotime($data_v['date_from']).strtotime($data_v['date_to']);
|
||||
|
||||
$cartHotelData[$type_key]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['children'] = $data_v['children'];
|
||||
/*Product price when order was created*/
|
||||
$order_details_obj = new OrderDetail($data_v['id_order_detail']);
|
||||
$cartHotelData[$type_key]['name'] = $order_details_obj->product_name;
|
||||
$cartHotelData[$type_key]['paid_unit_price_tax_excl'] = ($order_details_obj->total_price_tax_excl)/$order_details_obj->product_quantity;
|
||||
$cartHotelData[$type_key]['paid_unit_price_tax_incl'] = ($order_details_obj->total_price_tax_incl)/$order_details_obj->product_quantity;
|
||||
|
||||
if (isset($cartHotelData[$type_key]['date_diff'][$date_join])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'] += 1;
|
||||
|
||||
$num_days = $cartHotelData[$type_key]['date_diff'][$date_join]['num_days'];
|
||||
$var_quant = (int) $cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['adults'] += $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['children'] += $data_v['children'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'] = $data_v['total_price_tax_excl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'] = $data_v['total_price_tax_incl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_excl'] += $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_incl'] += $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_incl'] += $data_v['total_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_excl'] += $data_v['total_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_backorder'] = $data_v['is_back_order'];
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
if ($data_v['is_refunded']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] -= 1;
|
||||
}
|
||||
} else {
|
||||
$num_days = $objBookingDetail->getNumberOfDays($data_v['date_from'], $data_v['date_to']);
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'] = 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['data_form'] = $data_v['date_from'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['data_to'] = $data_v['date_to'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_days'] = $num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['children'] = $data_v['children'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'] = $data_v['total_price_tax_excl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'] = $data_v['total_price_tax_incl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_excl'] = $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_incl'] = $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_incl'] = $data_v['total_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_excl'] = $data_v['total_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_backorder'] = $data_v['is_back_order'];
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] = 0;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] = 0;
|
||||
if ($data_v['is_refunded']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['id_htl_booking'] = $data_v['id'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['id_room'] = $data_v['id_room'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['children'] = $data_v['children'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['child_ages'] = $data_v['child_ages'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['is_refunded'] = $data_v['is_refunded'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['is_cancelled'] = $data_v['is_cancelled'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_refunded'] = $data_v['is_refunded'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['ids_htl_booking_detail'][] = $data_v['id'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['ids_rooms'][] = $data_v['id_room'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands'] = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to']
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'] += $extraDemandPriceTI = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
$data_v['id_room'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
0,
|
||||
1,
|
||||
1
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'] += $extraDemandPriceTE = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
$data_v['id_room'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
0,
|
||||
1,
|
||||
0
|
||||
);
|
||||
$total_demands_price_ti += $extraDemandPriceTI;
|
||||
$total_demands_price_te += $extraDemandPriceTE;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_tax_excl'] = $order_details_obj->unit_price_tax_excl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_tax_incl'] = $order_details_obj->unit_price_tax_incl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_excl'] = $order_details_obj->unit_price_tax_excl + $order_details_obj->reduction_amount_tax_excl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] = $order_details_obj->unit_price_tax_incl + $order_details_obj->reduction_amount_tax_incl;
|
||||
|
||||
$feature_price_diff = (float)($cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] - $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl']);
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['feature_price_diff'] = $feature_price_diff;
|
||||
|
||||
$cartHotelData[$type_key]['hotel_name'] = $data_v['hotel_name'];
|
||||
// add additional services products in hotel detail.
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services'] = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to']
|
||||
);
|
||||
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'] += $additionalServicesPriceTI = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
1
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'] += $additionalServicesPriceTE = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
0
|
||||
);
|
||||
// get auto added price to be displayed with room price
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'] += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
Product::PRICE_ADDITION_TYPE_WITH_ROOM
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'] += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
Product::PRICE_ADDITION_TYPE_WITH_ROOM
|
||||
);
|
||||
}
|
||||
// calculate averages now
|
||||
foreach ($cartHotelData[$type_key]['date_diff'] as $key => &$value) {
|
||||
$value['avg_paid_unit_price_tax_excl'] = Tools::ps_round($value['avg_paid_unit_price_tax_excl'] / $value['num_rm'], 6);
|
||||
$value['avg_paid_unit_price_tax_incl'] = Tools::ps_round($value['avg_paid_unit_price_tax_incl'] / $value['num_rm'], 6);
|
||||
|
||||
$value['avg_price_diff_tax_excl'] = abs(Tools::ps_round($value['avg_paid_unit_price_tax_excl'] - $value['product_price_tax_excl'], 6));
|
||||
$value['avg_price_diff_tax_incl'] = abs(Tools::ps_round($value['avg_paid_unit_price_tax_incl'] - $value['product_price_tax_incl'], 6));
|
||||
}
|
||||
} else if ($type_value['product_service_type'] == Product::SERVICE_PRODUCT_WITH_ROOMTYPE) {
|
||||
if ($type_value['product_auto_add'] && $type_value['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_INDEPENDENT) {
|
||||
$total_convenience_fee_ti += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
);
|
||||
$total_convenience_fee_te += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// get all products that are independent.
|
||||
if ($type_value['product_service_type'] == Product::SERVICE_PRODUCT_WITHOUT_ROOMTYPE) {
|
||||
$product = new Product($type_value['product_id'], false, $this->context->language->id);
|
||||
$cover_image_arr = $product->getCover($type_value['product_id']);
|
||||
|
||||
if (!empty($cover_image_arr)) {
|
||||
$type_value['cover_img'] = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.$cover_image_arr['id_image'], 'small_default');
|
||||
} else {
|
||||
$type_value['cover_img'] = $this->context->link->getImageLink($product->link_rewrite, $this->context->language->iso_code.'-default', 'small_default');
|
||||
}
|
||||
$cartServiceProducts[] = $type_value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
$redirectTermsLink = $this->context->link->getCMSLink(new CMS(3, $this->context->language->id), null, $this->context->language->id);
|
||||
}
|
||||
|
||||
$objHotelBookingDetail = new HotelBookingDetail();
|
||||
$htlBookingDetail = $objHotelBookingDetail->getOrderCurrentDataByOrderId($order->id);
|
||||
$idHotel = HotelBookingDetail::getIdHotelByIdOrder($order->id);
|
||||
$objHotelBranchInformation = new HotelBranchInformation($idHotel, $this->context->language->id);
|
||||
$hotelAddressInfo = HotelBranchInformation::getAddress($idHotel);
|
||||
|
||||
$objHotelBranchRefundRules = new HotelBranchRefundRules();
|
||||
$hotelRefundRules = $objHotelBranchRefundRules->getHotelRefundRules($idHotel, 0, 1);
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'id_cms_refund_policy' => Configuration::get('WK_GLOBAL_REFUND_POLICY_CMS'),
|
||||
'THEME_DIR' => _THEME_DIR_,
|
||||
'total_convenience_fee_ti' => $total_convenience_fee_ti,
|
||||
'total_convenience_fee_te' => $total_convenience_fee_te,
|
||||
'total_demands_price_ti' => $total_demands_price_ti,
|
||||
'total_demands_price_te' => $total_demands_price_te,
|
||||
'any_back_order' => $anyBackOrder,
|
||||
'shw_bo_msg' => Configuration::get('WK_SHOW_MSG_ON_BO'),
|
||||
'back_ord_msg' => Configuration::get('WK_BO_MESSAGE'),
|
||||
'order_has_invoice' => $order->hasInvoice(),
|
||||
'cart_htl_data' => $cartHotelData,
|
||||
'cart_service_products' => $cartServiceProducts,
|
||||
'obj_hotel_branch_information' => $objHotelBranchInformation,
|
||||
'hotel_address_info' => $hotelAddressInfo,
|
||||
'hotel_refund_rules' => $hotelRefundRules,
|
||||
)
|
||||
);
|
||||
// }
|
||||
|
||||
//To show order details properly on order history page
|
||||
$objBookingDetail = new HotelBookingDetail();
|
||||
$objRoomType = new HotelRoomType();
|
||||
$objBookingDemand = new HotelBookingDemands();
|
||||
$objRoomTypeServiceProductOrderDetail = new RoomTypeServiceProductOrderDetail();
|
||||
$anyBackOrder = 0;
|
||||
$processedProducts = array();
|
||||
$cartHotelData = array();
|
||||
$cartServiceProducts = array();
|
||||
$total_demands_price_te = 0;
|
||||
$total_demands_price_ti = 0;
|
||||
$total_convenience_fee_te = 0;
|
||||
$total_convenience_fee_ti = 0;
|
||||
$roomTypes = array();
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$refundedAmount = 0;
|
||||
if ($refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($order->id, 0, 1)) {
|
||||
$refundedAmount = $objOrderReturn->getRefundedAmount($order->id);
|
||||
}
|
||||
|
||||
if (!empty($products)) {
|
||||
foreach ($products as $type_key => $type_value) {
|
||||
if (in_array($type_value['product_id'], $processedProducts)) {
|
||||
continue;
|
||||
}
|
||||
if ($type_value['is_booking_product']) {
|
||||
$processedProducts[] = $type_value['product_id'];
|
||||
|
||||
$product = new Product($type_value['product_id'], false, $this->context->language->id);
|
||||
$cover_image_arr = $product->getCover($type_value['product_id']);
|
||||
|
||||
if (!empty($cover_image_arr)) {
|
||||
$cover_img = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.$cover_image_arr['id_image'], 'home_default');
|
||||
} else {
|
||||
$cover_img = $this->context->link->getImageLink($product->link_rewrite, $this->context->language->iso_code.'-default', 'home_default');
|
||||
}
|
||||
|
||||
if (isset($customer->id)) {
|
||||
$obj_cart = new Cart($order->id_cart);
|
||||
$order_bk_data = $objBookingDetail->getOnlyOrderBookingData($order->id, $obj_cart->id_guest, $type_value['product_id'], $customer->id);
|
||||
} else {
|
||||
$order_bk_data = $objBookingDetail->getOnlyOrderBookingData($order->id, $customer->id_guest, $type_value['product_id']);
|
||||
}
|
||||
$cartHotelData[$type_key]['id_product'] = $type_value['product_id'];
|
||||
$cartHotelData[$type_key]['cover_img'] = $cover_img;
|
||||
|
||||
|
||||
$objBookingDemand = new HotelBookingDemands();
|
||||
foreach ($order_bk_data as $data_k => $data_v) {
|
||||
$date_join = strtotime($data_v['date_from']).strtotime($data_v['date_to']);
|
||||
|
||||
$cartHotelData[$type_key]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['children'] = $data_v['children'];
|
||||
/*Product price when order was created*/
|
||||
$order_details_obj = new OrderDetail($data_v['id_order_detail']);
|
||||
$cartHotelData[$type_key]['name'] = $order_details_obj->product_name;
|
||||
$cartHotelData[$type_key]['paid_unit_price_tax_excl'] = ($order_details_obj->total_price_tax_excl)/$order_details_obj->product_quantity;
|
||||
$cartHotelData[$type_key]['paid_unit_price_tax_incl'] = ($order_details_obj->total_price_tax_incl)/$order_details_obj->product_quantity;
|
||||
|
||||
// Get last refund request for booking
|
||||
if ($bookingRefundDetail = OrderReturn::getOrdersReturnDetail($data_v['id_order'], 0, $data_v['id'])) {
|
||||
$bookingRefundDetail = reset($bookingRefundDetail);
|
||||
}
|
||||
|
||||
if (isset($cartHotelData[$type_key]['date_diff'][$date_join])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'] += 1;
|
||||
|
||||
$num_days = $cartHotelData[$type_key]['date_diff'][$date_join]['num_days'];
|
||||
$var_quant = (int) $cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['adults'] += $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['children'] += $data_v['children'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'] = $data_v['total_price_tax_excl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'] = $data_v['total_price_tax_incl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_excl'] += $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_incl'] += $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_incl'] += $data_v['total_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_excl'] += $data_v['total_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_backorder'] = $data_v['is_back_order'];
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
|
||||
if ($refundReqBookings && in_array($data_v['id'], $refundReqBookings) && $data_v['is_refunded']) {
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
} elseif ($bookingRefundDetail && $bookingRefundDetail['refunded'] && $bookingRefundDetail['id_customization']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$num_days = $objBookingDetail->getNumberOfDays($data_v['date_from'], $data_v['date_to']);
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_rm'] = 1;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['data_form'] = $data_v['date_from'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['data_to'] = $data_v['date_to'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['num_days'] = $num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['children'] = $data_v['children'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'] = $data_v['total_price_tax_excl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'] = $data_v['total_price_tax_incl']/$num_days;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_excl'] = $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['avg_paid_unit_price_tax_incl'] = $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_incl'] = $data_v['total_price_tax_incl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['amount_tax_excl'] = $data_v['total_price_tax_excl'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_backorder'] = $data_v['is_back_order'];
|
||||
if ($data_v['is_back_order']) {
|
||||
$anyBackOrder = 1;
|
||||
}
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] = 0;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] = 0;
|
||||
if ($refundReqBookings && in_array($data_v['id'], $refundReqBookings) && $data_v['is_refunded']) {
|
||||
if ($data_v['is_cancelled']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_cancelled'] += 1;
|
||||
} elseif ($bookingRefundDetail && $bookingRefundDetail['refunded'] && $bookingRefundDetail['id_customization']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['count_refunded'] += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['id_htl_booking'] = $data_v['id'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['id_room'] = $data_v['id_room'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['adults'] = $data_v['adults'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['children'] = $data_v['children'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['child_ages'] = $data_v['child_ages'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['is_refunded'] = $data_v['is_refunded'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['is_cancelled'] = $data_v['is_cancelled'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['id_status'] = $data_v['id_status'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['refund_denied'] = 0;
|
||||
if ($bookingRefundDetail && $bookingRefundDetail['refunded'] && !$bookingRefundDetail['id_customization']) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['hotel_booking_details'][$data_v['id']]['refund_denied'] = 1;
|
||||
}
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['is_refunded'] = $data_v['is_refunded'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['ids_htl_booking_detail'][] = $data_v['id'];
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['ids_rooms'][] = $data_v['id_room'];
|
||||
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands'] = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to']
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_ti'] += $extraDemandPriceTI = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
$data_v['id_room'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
0,
|
||||
1,
|
||||
1
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['extra_demands_price_te'] += $extraDemandPriceTE = $objBookingDemand->getRoomTypeBookingExtraDemands(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
$data_v['id_room'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
0,
|
||||
1,
|
||||
0
|
||||
);
|
||||
$total_demands_price_ti += $extraDemandPriceTI;
|
||||
$total_demands_price_te += $extraDemandPriceTE;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_tax_excl'] = $order_details_obj->unit_price_tax_excl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_tax_incl'] = $order_details_obj->unit_price_tax_incl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_excl'] = $order_details_obj->unit_price_tax_excl + $order_details_obj->reduction_amount_tax_excl;
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] = $order_details_obj->unit_price_tax_incl + $order_details_obj->reduction_amount_tax_incl;
|
||||
|
||||
$feature_price_diff = (float)($cartHotelData[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] - $cartHotelData[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl']);
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['feature_price_diff'] = $feature_price_diff;
|
||||
|
||||
$cartHotelData[$type_key]['hotel_name'] = $data_v['hotel_name'];
|
||||
// add additional services products in hotel detail.
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services'] = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to']
|
||||
);
|
||||
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_ti'] += $additionalServicesPriceTI = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
1
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_te'] += $additionalServicesPriceTE = $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
0
|
||||
);
|
||||
// get auto added price to be displayed with room price
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_ti'] += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
Product::PRICE_ADDITION_TYPE_WITH_ROOM
|
||||
);
|
||||
if (empty($cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'])) {
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'] = 0;
|
||||
}
|
||||
$cartHotelData[$type_key]['date_diff'][$date_join]['additional_services_price_auto_add_te'] += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
0,
|
||||
0,
|
||||
$type_value['product_id'],
|
||||
$data_v['date_from'],
|
||||
$data_v['date_to'],
|
||||
$data_v['id_room'],
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
Product::PRICE_ADDITION_TYPE_WITH_ROOM
|
||||
);
|
||||
}
|
||||
|
||||
// calculate averages now
|
||||
foreach ($cartHotelData[$type_key]['date_diff'] as $key => &$value) {
|
||||
$value['avg_paid_unit_price_tax_excl'] = Tools::ps_round($value['avg_paid_unit_price_tax_excl'] / $value['num_rm'], 6);
|
||||
$value['avg_paid_unit_price_tax_incl'] = Tools::ps_round($value['avg_paid_unit_price_tax_incl'] / $value['num_rm'], 6);
|
||||
|
||||
$value['avg_price_diff_tax_excl'] = abs(Tools::ps_round($value['avg_paid_unit_price_tax_excl'] - $value['product_price_tax_excl'], 6));
|
||||
$value['avg_price_diff_tax_incl'] = abs(Tools::ps_round($value['avg_paid_unit_price_tax_incl'] - $value['product_price_tax_incl'], 6));
|
||||
}
|
||||
} else if ($type_value['product_service_type'] == Product::SERVICE_PRODUCT_WITH_ROOMTYPE) {
|
||||
if ($type_value['product_auto_add'] && $type_value['product_price_addition_type'] == Product::PRICE_ADDITION_TYPE_INDEPENDENT) {
|
||||
$total_convenience_fee_ti += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
);
|
||||
$total_convenience_fee_te += $objRoomTypeServiceProductOrderDetail->getroomTypeServiceProducts(
|
||||
$id_order,
|
||||
$type_value['product_id'],
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// get all products that are independent.
|
||||
if ($type_value['product_service_type'] == Product::SERVICE_PRODUCT_WITHOUT_ROOMTYPE) {
|
||||
$product = new Product($type_value['product_id'], false, $this->context->language->id);
|
||||
$cover_image_arr = $product->getCover($type_value['product_id']);
|
||||
|
||||
if (!empty($cover_image_arr)) {
|
||||
$type_value['cover_img'] = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.$cover_image_arr['id_image'], 'small_default');
|
||||
} else {
|
||||
$type_value['cover_img'] = $this->context->link->getImageLink($product->link_rewrite, $this->context->language->iso_code.'-default', 'small_default');
|
||||
}
|
||||
$cartServiceProducts[] = $type_value;
|
||||
}
|
||||
}
|
||||
|
||||
$roomTypes[$type_value['id_product']] = $type_value;
|
||||
}
|
||||
|
||||
$redirectTermsLink = $this->context->link->getCMSLink(new CMS(3, $this->context->language->id), null, $this->context->language->id);
|
||||
}
|
||||
|
||||
$objHotelBookingDetail = new HotelBookingDetail();
|
||||
$htlBookingDetail = $objHotelBookingDetail->getOrderCurrentDataByOrderId($order->id);
|
||||
$idHotel = HotelBookingDetail::getIdHotelByIdOrder($order->id);
|
||||
$objHotelBranchInformation = new HotelBranchInformation($idHotel, $this->context->language->id);
|
||||
$hotelAddressInfo = HotelBranchInformation::getAddress($idHotel);
|
||||
|
||||
$objHotelBranchRefundRules = new HotelBranchRefundRules();
|
||||
$hotelRefundRules = $objHotelBranchRefundRules->getHotelRefundRules($idHotel, 0, 1);
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'id_cms_refund_policy' => Configuration::get('WK_GLOBAL_REFUND_POLICY_CMS'),
|
||||
'THEME_DIR' => _THEME_DIR_,
|
||||
'total_convenience_fee_ti' => $total_convenience_fee_ti,
|
||||
'total_convenience_fee_te' => $total_convenience_fee_te,
|
||||
'total_demands_price_ti' => $total_demands_price_ti,
|
||||
'total_demands_price_te' => $total_demands_price_te,
|
||||
'any_back_order' => $anyBackOrder,
|
||||
'shw_bo_msg' => Configuration::get('WK_SHOW_MSG_ON_BO'),
|
||||
'back_ord_msg' => Configuration::get('WK_BO_MESSAGE'),
|
||||
'order_has_invoice' => $order->hasInvoice(),
|
||||
'cart_htl_data' => $cartHotelData,
|
||||
'cart_service_products' => $cartServiceProducts,
|
||||
'obj_hotel_branch_information' => $objHotelBranchInformation,
|
||||
'hotel_address_info' => $hotelAddressInfo,
|
||||
'hotel_refund_rules' => $hotelRefundRules,
|
||||
'view_on_map' => Configuration::get('WK_GOOGLE_ACTIVE_MAP'),
|
||||
)
|
||||
);
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'hasOrderPaid' => $order->hasBeenPaid(),
|
||||
@@ -423,7 +434,7 @@ class OrderDetailControllerCore extends FrontController
|
||||
'refund_allowed' => (int) $order->isReturnable(),
|
||||
'returns' => OrderReturn::getOrdersReturn($order->id_customer, $order->id),
|
||||
'refundReqBookings' => $refundReqBookings,
|
||||
'completeRefundRequestOrCancel' => $order->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_OR_REFUND_REQUEST_FLAG),
|
||||
'completeRefundRequestOrCancel' => $order->hasCompletelyRefunded(0, 1),
|
||||
'refundedAmount' => $refundedAmount,
|
||||
'shop_name' => strval(Configuration::get('PS_SHOP_NAME')),
|
||||
'order' => $order,
|
||||
@@ -437,6 +448,7 @@ class OrderDetailControllerCore extends FrontController
|
||||
'order_history' => $order->getHistory($this->context->language->id, false, true),
|
||||
'overbooking_order_states' => OrderState::getOverBookingStates(),
|
||||
'products' => $products,
|
||||
'roomTypes' => $roomTypes,
|
||||
'discounts' => $order->getCartRules(),
|
||||
'carrier' => $carrier,
|
||||
'address_invoice' => $addressInvoice,
|
||||
@@ -455,6 +467,9 @@ class OrderDetailControllerCore extends FrontController
|
||||
'use_tax' => Configuration::get('PS_TAX'),
|
||||
'group_use_tax' => (Group::getPriceDisplayMethod($customer->id_default_group) == PS_TAX_INC),
|
||||
'reorderingAllowed' => !(bool) Configuration::get('PS_DISALLOW_HISTORY_REORDERING'),
|
||||
'ROOM_STATUS_ALLOTED' => HotelBookingDetail::STATUS_ALLOTED,
|
||||
'ROOM_STATUS_CHECKED_IN' => HotelBookingDetail::STATUS_CHECKED_IN,
|
||||
'ROOM_STATUS_CHECKED_OUT' => HotelBookingDetail::STATUS_CHECKED_OUT,
|
||||
)
|
||||
);
|
||||
|
||||
@@ -561,6 +576,12 @@ class OrderDetailControllerCore extends FrontController
|
||||
break;
|
||||
}
|
||||
|
||||
// the room has already been checked in/checked out, room will not be able to be cancelled by the customer
|
||||
if ($objHotelBookingDetail->id_status != HotelBookingDetail::STATUS_ALLOTED) {
|
||||
$this->errors[] = Tools::displayError('Some selected rooms have already been checked-in/checked-out.');
|
||||
break;
|
||||
}
|
||||
|
||||
if (OrderReturn::getOrdersReturnDetail($objOrder->id, 0, $idHtlBooking)) {
|
||||
$this->errors[] = Tools::displayError('Some selected rooms have already been requested for cancellation.');
|
||||
break;
|
||||
@@ -569,66 +590,61 @@ class OrderDetailControllerCore extends FrontController
|
||||
}
|
||||
|
||||
if (!count($this->errors)) {
|
||||
if ((int) $objOrder->total_paid_real == 0) {
|
||||
// create refund request
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$objOrderReturn->id_customer = $objOrder->id_customer;
|
||||
$objOrderReturn->id_order = $objOrder->id;
|
||||
$objOrderReturn->state = 0;
|
||||
$objOrderReturn->by_admin = 0;
|
||||
$objOrderReturn->question = $cancellationReason;
|
||||
$objOrderReturn->refunded_amount = 0;
|
||||
$objOrderReturn->save();
|
||||
if ($objOrderReturn->id) {
|
||||
foreach ($idsHtlBooking as $idHtlBooking) {
|
||||
$objHtlBooking = new HotelBookingDetail($idHtlBooking);
|
||||
$objHtlBooking->save();
|
||||
$numDays = $objHtlBooking->getNumberOfDays(
|
||||
$objHtlBooking->date_from,
|
||||
$objHtlBooking->date_to
|
||||
);
|
||||
$objOrderReturnDetail = new OrderReturnDetail();
|
||||
$objOrderReturnDetail->id_order_return = $objOrderReturn->id;
|
||||
$objOrderReturnDetail->id_order_detail = $objHtlBooking->id_order_detail;
|
||||
$objOrderReturnDetail->product_quantity = $numDays;
|
||||
$objOrderReturnDetail->id_htl_booking = $idHtlBooking;
|
||||
$objOrderReturnDetail->refunded_amount = 0;
|
||||
if (!$objOrder->getCartRules() && $objOrder->getTotalPaid() <= 0) {
|
||||
$objOrderReturnDetail->id_customization = 1;
|
||||
}
|
||||
$objOrderReturnDetail->save();
|
||||
}
|
||||
}
|
||||
|
||||
// if amount paid is > 0 then create refund request else cancel the booking directly
|
||||
if ($objOrder->getTotalPaid() > 0) {
|
||||
$objOrderReturn = new OrderReturn();
|
||||
$objOrderReturn->id_customer = $objOrder->id_customer;
|
||||
$objOrderReturn->id_order = $objOrder->id;
|
||||
$objOrderReturn->state = 0;
|
||||
$objOrderReturn->by_admin = 0;
|
||||
$objOrderReturn->question = $cancellationReason;
|
||||
$objOrderReturn->save();
|
||||
if ($objOrderReturn->id) {
|
||||
foreach ($idsHtlBooking as $idHtlBooking) {
|
||||
$objHotelBookingDetail = new HotelBookingDetail($idHtlBooking);
|
||||
$numDays = $objHotelBookingDetail->getNumberOfDays(
|
||||
$objHotelBookingDetail->date_from,
|
||||
$objHotelBookingDetail->date_to
|
||||
);
|
||||
// Emails to customer, superadmin and employees on refund request state change
|
||||
$objOrderReturn->changeIdOrderReturnState(Configuration::get('PS_ORS_PENDING'));
|
||||
|
||||
$objOrderReturnDetail = new OrderReturnDetail();
|
||||
$objOrderReturnDetail->id_order_return = $objOrderReturn->id;
|
||||
$objOrderReturnDetail->id_order_detail = $objHotelBookingDetail->id_order_detail;
|
||||
$objOrderReturnDetail->product_quantity = $numDays;
|
||||
$objOrderReturnDetail->id_htl_booking = $idHtlBooking;
|
||||
$objOrderReturnDetail->save();
|
||||
}
|
||||
}
|
||||
|
||||
// Emails to customer, superadmin and employees on refund request state change
|
||||
$objOrderReturn->changeIdOrderReturnState(Configuration::get('PS_ORS_PENDING'));
|
||||
} else {
|
||||
// cancel the booking directly
|
||||
if (!$objOrder->getCartRules() && $objOrder->getTotalPaid() <= 0) {
|
||||
// Process refund in booking tables
|
||||
foreach ($idsHtlBooking as $idHtlBooking) {
|
||||
$objHotelBookingDetail = new HotelBookingDetail($idHtlBooking);
|
||||
if (!$objHotelBookingDetail->processRefundInBookingTables()) {
|
||||
$this->errors[] = Tools::displayError('Something went wrong. Please try later.');
|
||||
} else {
|
||||
// set the message for the cancellation
|
||||
$message = Tools::displayError(sprintf(
|
||||
"1 room from %s has been cancelled by hotel.\nReason: %s",
|
||||
$objHotelBookingDetail->room_type_name,
|
||||
$cancellationReason
|
||||
));
|
||||
|
||||
$objHotelBookingDetail->setBookingCancellationMessage($message);
|
||||
$objHtlBooking = new HotelBookingDetail($idHtlBooking);
|
||||
if (!$objHtlBooking->processRefundInBookingTables()) {
|
||||
$this->errors[] = Tools::displayError('An error occurred while cancelling the booking.');
|
||||
}
|
||||
}
|
||||
// complete the booking refund directly in the refund request
|
||||
$objOrderReturn->changeIdOrderReturnState(Configuration::get('PS_ORS_REFUNDED'));
|
||||
|
||||
// if all bookings are getting cancelled then cancel the order also
|
||||
if ($objOrder->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_FLAG)) {
|
||||
// if all bookings are getting cancelled/Refunded then Cancel/Refund the order also
|
||||
$idOrderState = 0;
|
||||
if ($objOrder->hasCompletelyRefunded(Order::ORDER_COMPLETE_REFUND_FLAG)) {
|
||||
$idOrderState = Configuration::get('PS_OS_REFUND');
|
||||
} elseif ($objOrder->hasCompletelyRefunded(Order::ORDER_COMPLETE_CANCELLATION_FLAG)) {
|
||||
$idOrderState = Configuration::get('PS_OS_CANCELED');
|
||||
}
|
||||
|
||||
if ($idOrderState) {
|
||||
$objOrderHistory = new OrderHistory();
|
||||
$objOrderHistory->id_order = (int)$objOrder->id;
|
||||
|
||||
$idOrderState = Configuration::get('PS_OS_CANCELED');
|
||||
|
||||
$useExistingPayment = false;
|
||||
if (!$objOrder->hasInvoice()) {
|
||||
$useExistingPayment = true;
|
||||
@@ -782,7 +798,9 @@ class OrderDetailControllerCore extends FrontController
|
||||
if ($idHotel = HotelBookingDetail::getIdHotelByIdOrder(Tools::getValue('id_order'))) {
|
||||
$objHotelBranchInformation = new HotelBranchInformation($idHotel, $this->context->language->id);
|
||||
if (Validate::isLoadedObject($objHotelBranchInformation)) {
|
||||
if ($apiKey = Configuration::get('PS_API_KEY')) {
|
||||
if (($apiKey = Configuration::get('PS_API_KEY'))
|
||||
&& Configuration::get('WK_GOOGLE_ACTIVE_MAP')
|
||||
) {
|
||||
if (floatval($objHotelBranchInformation->latitude) != 0
|
||||
&& floatval($objHotelBranchInformation->longitude) != 0
|
||||
) {
|
||||
@@ -805,4 +823,4 @@ class OrderDetailControllerCore extends FrontController
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -426,7 +426,9 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
public function initContent()
|
||||
{
|
||||
// validate room types before payment by customer
|
||||
$this->errors = HotelCartBookingData::validateCartBookings();
|
||||
if ($orderRestrictErr = HotelCartBookingData::validateCartBookings()) {
|
||||
$this->errors = array_merge($this->errors, $orderRestrictErr);
|
||||
}
|
||||
|
||||
parent::initContent();
|
||||
|
||||
@@ -494,7 +496,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
// $objCurrency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
'orderRestrictErr' => count($this->errors) ? 1 : 0,
|
||||
'orderRestrictErr' => count($orderRestrictErr) ? 1 : 0,
|
||||
// 'allDemands' => $allDemands,
|
||||
// 'defaultcurrencySign' => $objCurrency->sign,
|
||||
'THEME_DIR' => _THEME_DIR_,
|
||||
@@ -591,7 +593,6 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
if (!empty($cartProducts)) {
|
||||
|
||||
if ($cartBookingInfo = HotelCartBookingData::getHotelCartBookingData()) {
|
||||
// ddd($cartBookingInfo);
|
||||
$this->context->smarty->assign('cart_htl_data', $cartBookingInfo);
|
||||
}
|
||||
$objHotelServiceProductCartDetail = new HotelServiceProductCartDetail();
|
||||
@@ -1078,21 +1079,52 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
$customerGuestDetailLastname = Tools::getValue('customer_guest_detail_lastname');
|
||||
$customerGuestDetailEmail = Tools::getValue('customer_guest_detail_email');
|
||||
$customerGuestDetailPhone = Tools::getValue('customer_guest_detail_phone');
|
||||
|
||||
$className = 'CartCustomerGuestDetail';
|
||||
$rules = call_user_func(array($className, 'getValidationRules'), $className);
|
||||
|
||||
if (trim($customerGuestDetailGender) && Validate::isUnsignedInt($customerGuestDetailGender)) {
|
||||
$objCustomerGuestDetail->id_gender = $customerGuestDetailGender;
|
||||
} else {
|
||||
$result['errors']['customer_guest_detail_gender'] = Tools::displayError('Invalid gender');
|
||||
}
|
||||
if (trim($customerGuestDetailFirstname) && Validate::isName($customerGuestDetailFirstname)) {
|
||||
|
||||
if (trim($customerGuestDetailFirstname)
|
||||
&& Validate::isName($customerGuestDetailFirstname)
|
||||
&& (!isset($rules['size']['firstname'])
|
||||
|| (isset($rules['size']['firstname']) && (Tools::strlen(trim($customerGuestDetailFirstname)) <= $rules['size']['firstname']))
|
||||
)
|
||||
) {
|
||||
$objCustomerGuestDetail->firstname = $customerGuestDetailFirstname;
|
||||
}
|
||||
if (trim($customerGuestDetailLastname) && Validate::isName($customerGuestDetailLastname)) {
|
||||
|
||||
if (trim($customerGuestDetailLastname)
|
||||
&& Validate::isName($customerGuestDetailLastname)
|
||||
&& (!isset($rules['size']['lastname'])
|
||||
|| (isset($rules['size']['lastname']) && (Tools::strlen(trim($customerGuestDetailLastname)) <= $rules['size']['lastname']))
|
||||
)
|
||||
) {
|
||||
$objCustomerGuestDetail->lastname = $customerGuestDetailLastname;
|
||||
}
|
||||
if (trim($customerGuestDetailEmail) && Validate::isEmail($customerGuestDetailEmail)) {
|
||||
|
||||
if (trim($customerGuestDetailEmail)
|
||||
&& Validate::isEmail($customerGuestDetailEmail)
|
||||
&& (!isset($rules['size']['email'])
|
||||
|| (isset($rules['size']['email']) && (Tools::strlen(trim($customerGuestDetailEmail)) <= $rules['size']['email']))
|
||||
)
|
||||
) {
|
||||
$objCustomerGuestDetail->email = $customerGuestDetailEmail;
|
||||
}
|
||||
if (trim($customerGuestDetailPhone) && Validate::isPhoneNumber($customerGuestDetailPhone)) {
|
||||
|
||||
if (trim($customerGuestDetailPhone)
|
||||
&& Validate::isPhoneNumber($customerGuestDetailPhone)
|
||||
&& (!isset($rules['size']['phone'])
|
||||
|| (isset($rules['size']['phone']) && (Tools::strlen(trim($customerGuestDetailPhone)) <= $rules['size']['phone']))
|
||||
)
|
||||
) {
|
||||
$objCustomerGuestDetail->phone = $customerGuestDetailPhone;
|
||||
}
|
||||
|
||||
$objCustomerGuestDetail->id_cart = $this->context->cart->id;
|
||||
$objCustomerGuestDetail->save();
|
||||
} else {
|
||||
@@ -1102,6 +1134,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->context->cart->save();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,22 +50,23 @@ class OrderReturnControllerCore extends FrontController
|
||||
$objOrder = new Order($objOrderReturn->id_order);
|
||||
$orderCurrency = new Currency($objOrder->id_currency);
|
||||
|
||||
$refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($objOrderReturn->id_order, $objOrderReturn->id, 0, 1);
|
||||
$isCanceled = false;
|
||||
$refundReqBookings = $objOrderReturn->getOrderRefundRequestedBookings($objOrderReturn->id_order, $objOrderReturn->id);
|
||||
$isCanceledBookings = false;
|
||||
if (count(array_unique(array_column($refundReqBookings, 'is_cancelled'))) === 1
|
||||
&& array_unique(array_column($refundReqBookings, 'is_cancelled'))[0] != 0
|
||||
) {
|
||||
$isCanceled = true;
|
||||
$isCanceledBookings = true;
|
||||
}
|
||||
$voucher = '';
|
||||
if (Validate::isLoadedObject($objCartRule = new CartRule($objOrderReturn->id_return_type))) {
|
||||
$voucher = $objCartRule->name[$this->context->language->id];
|
||||
}
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array (
|
||||
'orderReturnInfo' => (array)$objOrderReturn,
|
||||
'refundReqBookings' => $refundReqBookings,
|
||||
'isCanceled' => $isCanceled,
|
||||
'isCanceledBookings' => $isCanceledBookings,
|
||||
'orderInfo' => (array) $objOrder,
|
||||
'orderCurrency' => (array) $orderCurrency,
|
||||
'currentStateInfo' => (array) new OrderReturnState($objOrderReturn->state,
|
||||
|
||||
@@ -109,26 +109,18 @@ class ProductControllerCore extends FrontController
|
||||
// validate dates if available
|
||||
$dateFrom = Tools::getValue('date_from');
|
||||
$dateTo = Tools::getValue('date_to');
|
||||
|
||||
$currentTimestamp = strtotime(date('Y-m-d'));
|
||||
$dateFromTimestamp = strtotime($dateFrom);
|
||||
$dateToTimestamp = strtotime($dateTo);
|
||||
|
||||
if ($dateFrom != '' && ($dateFromTimestamp === false || ($dateFromTimestamp < $currentTimestamp))) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
}
|
||||
|
||||
if ($dateTo != '' && ($dateToTimestamp === false || ($dateToTimestamp < $currentTimestamp))) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
}
|
||||
|
||||
parent::init();
|
||||
|
||||
if ($id_product = (int) Tools::getValue('id_product')) {
|
||||
$this->product = new Product($id_product, true, $this->context->language->id, $this->context->shop->id);
|
||||
}
|
||||
|
||||
if (!$this->product->booking_product || ($this->product->booking_product && !$this->product->show_at_front)) {
|
||||
$objHotelRoomType = new HotelRoomType();
|
||||
$hotelRoomInfo = $objHotelRoomType->getRoomTypeInfoByIdProduct($this->product->id);
|
||||
$idHotel = (int) $hotelRoomInfo['id_hotel'];
|
||||
if (!HotelHelper::validateDateRangeForHotel($dateFrom, $dateTo, $idHotel)) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
} else if (!$this->product->booking_product || ($this->product->booking_product && !$this->product->show_at_front)) {
|
||||
Tools::redirect($this->context->link->getPageLink('pagenotfound'));
|
||||
}
|
||||
|
||||
@@ -341,6 +333,7 @@ class ProductControllerCore extends FrontController
|
||||
$date_from = Tools::getValue('date_from');
|
||||
$date_to = Tools::getValue('date_to');
|
||||
|
||||
$preparationTime = (int) HotelOrderRestrictDate::getPreparationTime($hotel_id);
|
||||
if (!($date_from = Tools::getValue('date_from'))) {
|
||||
$date_from = date('Y-m-d');
|
||||
// set date to according to los
|
||||
@@ -355,6 +348,17 @@ class ProductControllerCore extends FrontController
|
||||
$date_to = date('Y-m-d', strtotime('+'.$los['min_los'].' day', strtotime($date_from)));
|
||||
}
|
||||
|
||||
if ($preparationTime
|
||||
&& strtotime('+ '.$preparationTime.' day') >= strtotime($date_from)
|
||||
) {
|
||||
$date_from = date('Y-m-d', strtotime('+ '.$preparationTime.' day'));
|
||||
if (strtotime($date_from) >= strtotime($date_to)) {
|
||||
$objHotelRoomTypeRestrictionDateRange = new HotelRoomTypeRestrictionDateRange();
|
||||
$los = $objHotelRoomTypeRestrictionDateRange->getRoomTypeLengthOfStay($this->product->id, $date_from);
|
||||
$date_to = date('Y-m-d', strtotime('+'.$los['min_los'].' day', strtotime($date_from)));
|
||||
}
|
||||
}
|
||||
|
||||
$hotel_branch_obj = new HotelBranchInformation($hotel_id);
|
||||
/*Max date of ordering for order restrict*/
|
||||
$order_date_restrict = false;
|
||||
@@ -368,9 +372,6 @@ class ProductControllerCore extends FrontController
|
||||
}
|
||||
}
|
||||
/*End*/
|
||||
// booking preparation time
|
||||
$preparationTime = (int) HotelOrderRestrictDate::getPreparationTime($hotel_id);
|
||||
|
||||
$objHotelImage = new HotelImage();
|
||||
$hotelImageLink = null;
|
||||
if ($coverImage = HotelImage::getCover($hotel_id)) {
|
||||
|
||||
@@ -1 +1,10 @@
|
||||
Deny from ALL
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
@@ -1 +1,10 @@
|
||||
Allow from ALL
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order allow,deny
|
||||
Allow from ALL
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all granted
|
||||
</IfModule>
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
16
img/.htaccess
Normal file
16
img/.htaccess
Normal file
@@ -0,0 +1,16 @@
|
||||
# Apache 2.2
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|avif)$">
|
||||
Allow from all
|
||||
</Files>
|
||||
</IfModule>
|
||||
|
||||
# Apache 2.4
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico|webp|avif)$">
|
||||
Require all granted
|
||||
</Files>
|
||||
</IfModule>
|
||||
@@ -1,8 +0,0 @@
|
||||
<IfModule mod_php5.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
deny from all
|
||||
<Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm)$">
|
||||
order deny,allow
|
||||
allow from all
|
||||
</Files>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 175 KiB |
@@ -92,6 +92,12 @@
|
||||
<configuration id="PS_SHOP_ENABLE" name="PS_SHOP_ENABLE">
|
||||
<value>1</value>
|
||||
</configuration>
|
||||
<configuration id="PS_ALLOW_EMP" name="PS_ALLOW_EMP">
|
||||
<value>0</value>
|
||||
</configuration>
|
||||
<configuration id="PS_ALLOW_EMP_MAX_ATTEMPTS" name="PS_ALLOW_EMP_MAX_ATTEMPTS">
|
||||
<value>3</value>
|
||||
</configuration>
|
||||
<configuration id="PS_NB_DAYS_NEW_PRODUCT" name="PS_NB_DAYS_NEW_PRODUCT">
|
||||
<value>20</value>
|
||||
</configuration>
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<entity_order_return_state>
|
||||
<order_return_state id="Pending">
|
||||
<name>Pending</name>
|
||||
<name>В очакване</name>
|
||||
<customer_template>order_refund_pending_customer</customer_template>
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>Отказано</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>Завършено</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
@@ -1,214 +1,227 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Възникна SQL грешка за обект <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Не може да бъде създадено изображение "%1$s" за обекта "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Не може да бъде създадено изображение "%1$s" (грешни права за папка "%2$s")',
|
||||
'Cannot create image "%s"' => 'Не може да бъде създадено изображение "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'SQL грешка за заявка <i>%s</i>',
|
||||
'%s Login information' => '%s Информация за вход',
|
||||
'Field required' => 'Полето е задължително',
|
||||
'Invalid shop name' => 'Невалидно име на магазин',
|
||||
'The field %s is limited to %d characters' => 'Полето %s е ограничено до %d символа',
|
||||
'Your firstname contains some invalid characters' => 'Вашето име съдържа непозволени символи',
|
||||
'Your lastname contains some invalid characters' => 'Вашата фамилия съдържа непозволени символи',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Невалидна парола (поредица от букви и цифри, минимум 8 символа)',
|
||||
'Password and its confirmation are different' => 'Паролата е различна от потвърждението ѝ',
|
||||
'This e-mail address is invalid' => 'Невалиден e-mail',
|
||||
'Image folder %s is not writable' => 'Не може да се записва в папката за изображения %s',
|
||||
'An error occurred during logo copy.' => 'Възникна грешка при копирането на логото.',
|
||||
'An error occurred during logo upload.' => 'Възникна грешка при качването на логото.',
|
||||
'Lingerie and Adult' => 'Дамско бельо и за пълнолетни',
|
||||
'Animals and Pets' => 'Животни и домашни любимци',
|
||||
'Art and Culture' => 'Изкуство и култура',
|
||||
'Babies' => 'Бебета',
|
||||
'Beauty and Personal Care' => 'Продукти за разкрасяване',
|
||||
'Cars' => 'Коли',
|
||||
'Computer Hardware and Software' => 'Компютри и хардуер',
|
||||
'Download' => 'За сваляне',
|
||||
'Fashion and accessories' => 'Мода и аксесоари',
|
||||
'Flowers, Gifts and Crafts' => 'Цветя, подаръци и картички',
|
||||
'Food and beverage' => 'Храни и напитки',
|
||||
'HiFi, Photo and Video' => 'HiFi, фото и видео',
|
||||
'Home and Garden' => 'Дом и градина',
|
||||
'Home Appliances' => 'Домакински уреди',
|
||||
'Jewelry' => 'Бижута',
|
||||
'Mobile and Telecom' => 'Мобилни устройства',
|
||||
'Services' => 'Услуги',
|
||||
'Shoes and accessories' => 'Обувки и аксесоари',
|
||||
'Sports and Entertainment' => 'Спорт и забавления',
|
||||
'Travel' => 'Пътувания',
|
||||
'Database is connected' => 'Има връзка с базата данни',
|
||||
'Database is created' => 'Базата данни е създадена',
|
||||
'Cannot create the database automatically' => 'Базата данни не може да бъде създадена автоматично',
|
||||
'Create settings.inc file' => 'Създаване на файла settings.inc',
|
||||
'Create database tables' => 'Създаване на таблиците в базата от данни',
|
||||
'Create default shop and languages' => 'Създаване на основния магазин и езиците',
|
||||
'Populate database tables' => 'Запълване на таблиците в базата данни',
|
||||
'Configure shop information' => 'Настройка на информацията за магазина',
|
||||
'Install demonstration data' => 'Инсталиране на демонстрационни данни',
|
||||
'Install modules' => 'Инсталиране на модули',
|
||||
'Install Addons modules' => 'Инсталиране на разширителни модули',
|
||||
'Install theme' => 'Инсталиране на тема',
|
||||
'Required PHP parameters' => 'Необходими параметри на PHP',
|
||||
'PHP 5.1.2 or later is not enabled' => 'PHP 5.1.2 или по-късна версия не е налично',
|
||||
'Cannot upload files' => 'Не могат да бъдат качени файлове',
|
||||
'Cannot create new files and folders' => 'Не могат да бъдат създадени файлове и папки',
|
||||
'GD library is not installed' => 'Библиотеката GD не е инсталирана',
|
||||
'MySQL support is not activated' => 'Поддръжката на MySQL не е активирана',
|
||||
'Files' => 'Файлове',
|
||||
'Not all files were successfully uploaded on your server' => 'Не всички файлове са успешно качени на вашият сървър',
|
||||
'Permissions on files and folders' => 'Права на файлове и папки',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Рекурсивни права за писане за потребител %1$s на %2$s',
|
||||
'Recommended PHP parameters' => 'Препоръчвани PHP параметри',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!' => 'Вие имате инсталиран PHP версия %s. Скоро минималната поддържана версия от PrestaShop ще бъде PHP 5.4. За нормалната работа в бъдеще, препоръчваме да обновите версията си до PHP 5.4 сега!',
|
||||
'Cannot open external URLs' => 'Невъзможни за отваряне външни адреси (URL)',
|
||||
'PHP register_globals option is enabled' => 'Опцията PHP register_globals е разрешена',
|
||||
'GZIP compression is not activated' => 'GZIP компресията не е активирана',
|
||||
'Mcrypt extension is not enabled' => 'Разширението Mcrypt не е разрешено',
|
||||
'Mbstring extension is not enabled' => 'Разширението Mbstring не е разрешено',
|
||||
'PHP magic quotes option is enabled' => 'Разрешено е PHP magic quotes',
|
||||
'Dom extension is not loaded' => 'Dom разширението не е заредено',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQL разширението не е заредено',
|
||||
'Server name is not valid' => 'Невалидно име на сървъра',
|
||||
'You must enter a database name' => 'Трябва да въведете име на базата данни',
|
||||
'You must enter a database login' => 'Трябва да въведете данни за вход в базата данни',
|
||||
'Tables prefix is invalid' => 'Невалиден префикс за таблиците',
|
||||
'Cannot convert database data to utf-8' => 'Не могат да се конвертират данните от базата данни към utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Поне една таблица със същия префикс вече беше създадена, моля променете вашият префикс или изтрийте вашата база данни',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Стойността за увеличаване и намаляване на auto_increment трябва да бъде 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Сървъра на базата данни не може да бъде намерен. Моля проверете полетата вход, парола и сървър',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Свързването към MySQL сървъра е успешно, но базата данни "%s" не е намерена',
|
||||
'Attempt to create the database automatically' => 'Опит за автоматично създаване на базата данни',
|
||||
'%s file is not writable (check permissions)' => 'Файлът %s не е достъпен за запис (проверете правата)',
|
||||
'%s folder is not writable (check permissions)' => 'Папката %s не е достъпна за запис (проверете правата)',
|
||||
'Cannot write settings file' => 'Файлът с настройките не може да бъде записан',
|
||||
'Database structure file not found' => 'Не е открита структура на базата данни',
|
||||
'Cannot create group shop' => 'Не може да бъде създадена група магазин',
|
||||
'Cannot create shop' => 'Не може да бъде създаден магазин',
|
||||
'Cannot create shop URL' => 'Не може да бъде създаден адрес на магазина (URL)',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Файлът "language.xml" не е намерен в iso на езика "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Файлът "language.xml" не е валиден за iso на езика "%s"',
|
||||
'Cannot install language "%s"' => 'Не може да се инсталира "%s" език',
|
||||
'Cannot copy flag language "%s"' => 'Не може да се копира флага за "%s" език',
|
||||
'Cannot create admin account' => 'Не може да бъде създаден администраторски профил',
|
||||
'Cannot install module "%s"' => 'Модулът "%s" не може да бъде инсталиран',
|
||||
'Fixtures class "%s" not found' => 'Закрепващият клас "%s" не е открит',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" трябва да бъде инстанция на "InstallXmlLoader"',
|
||||
'Information about your Store' => 'Информация за вашия магазин',
|
||||
'Shop name' => 'Име на магазина',
|
||||
'Main activity' => 'Основна дейност',
|
||||
'Please choose your main activity' => 'Моля, изберете вашата основна дейност',
|
||||
'Other activity...' => 'Други дейности...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Помогнете ни да научим повече за Вашият магазин, за да Ви предложим оптимално упътване за най-добрите опции за Вашият бизнес!',
|
||||
'Install demo products' => 'Инсталиране на демонстрационни продукти',
|
||||
'Yes' => 'Да',
|
||||
'No' => 'Не',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'Демонстрационните продукти са добър начин да научите как да ползвате PrestaShop. Трябва да ги инсталирате ако не сте запознати с него.',
|
||||
'Country' => 'Държава',
|
||||
'Select your country' => 'Изберете вашата държава',
|
||||
'Shop timezone' => 'Часова зона на магазина',
|
||||
'Select your timezone' => 'Изберете вашата часова зона',
|
||||
'Shop logo' => 'Лого на магазина',
|
||||
'Optional - You can add you logo at a later time.' => 'По желание - можете да добавите Ваше лого по всяко време.',
|
||||
'Your Account' => 'Вашият профил',
|
||||
'First name' => 'Име',
|
||||
'Last name' => 'Фамилия',
|
||||
'E-mail address' => 'Имейл адрес',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Този имейл ще бъде вашето потребителско име за достъп до административната част на магазина.',
|
||||
'Shop password' => 'Парола за магазина',
|
||||
'Must be at least 8 characters' => 'Трябва да бъде поне 8 символа',
|
||||
'Re-type to confirm' => 'Повторете я за потвърждение',
|
||||
'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'Всяка предоставена от вас информация се съхранява, използва се за анализ и статистическа обработка и е необходима на нашия екип за да отговори на въпросите ви. Вашите лични данни могат да бъдат предоставяни на доставчици на услуги или на наши партньори, като част от отношенията ни с тях. Съгласно действащият "Act on Data Processing, Data Files and Individual Liberties" имате право на достъп, промяна или заличаване на личните данни чрез <a href="%s" onclick="return !window.open(this.href)">тази връзка</a>.',
|
||||
'Configure your database by filling out the following fields' => 'Конфигурирайте Вашата база данни като попълните следните полета',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'За да използвате PrestaShop, трябва да <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">създадете база данни</a>, за да събирате всички свързани с дейността на магазина Ви данни.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Моля, попълнете полетата по-долу, за да се свърже PrestaShop с Вашата база данни. ',
|
||||
'Database server address' => 'Адрес на сървъра на базата данни',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Портът по подразбиране е 3306. За да използвате различен порт, добавете номера на порта след адреса на сървъра Ви, например: ":4242".',
|
||||
'Database name' => 'Име на базата от данни',
|
||||
'Database login' => 'Потребителско име',
|
||||
'Database password' => 'Парола',
|
||||
'Database Engine' => 'Енджин на базата данни',
|
||||
'Tables prefix' => 'Префикс на таблици',
|
||||
'Drop existing tables (mode dev)' => 'Изтриване на съществуващите таблици (режим разработване)',
|
||||
'Test your database connection now!' => 'Тествайте връзката си с базата данни сега!',
|
||||
'Next' => 'Напред',
|
||||
'Back' => 'Назад',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Ако ви е нужна помощ, можете да я <a href="%1$s" onclick="return !window.open(this.href);">получите</a> от нашия екип по поддръжката. Също така, можете да се възползвате от <a href="%2$s" onclick="return !window.open(this.href);">официалната документация</a>.',
|
||||
'Official forum' => 'Официален форум',
|
||||
'Support' => 'Поддръжка',
|
||||
'Documentation' => 'Документация',
|
||||
'Contact us' => 'Контакти',
|
||||
'PrestaShop Installation Assistant' => 'Асистент за инсталиране на PrestaShop',
|
||||
'Forum' => 'Форум',
|
||||
'Blog' => 'Блог',
|
||||
'Contact us!' => 'Свържете се с нас!',
|
||||
'menu_welcome' => 'Изберете вашият език',
|
||||
'menu_license' => 'Лицензионни споразумения',
|
||||
'menu_system' => 'Съвместимост на системата',
|
||||
'menu_configure' => 'Информация за магазина',
|
||||
'menu_database' => 'Системна конфигурация',
|
||||
'menu_process' => 'Инсталиране на магазина',
|
||||
'Installation Assistant' => 'Асистент за инсталиране',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'За да инсталирате PrestaShop трябва да активирате JavaScript на вашият браузър.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Лицензионни споразумения',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'За да се насладите на безбройните опции, които предлага безплатно PrestaShop, моля прочетете лицензното споразумение по-долу. Ядрото на PrestaShop е лицензирано под OSL 3.0, докато модулите и темите са лицензирани под AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Съгласен съм с по-горните общи условия.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Съгласен съм да участвам в подобряванията чрез изпращане на анонимна информация за моята конфигурация.',
|
||||
'Done!' => 'Готово!',
|
||||
'An error occurred during installation...' => 'По време на инсталацията възникна грешка...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Можете да използвате линковете в лявата колона, за да се върнете към предходните стъпки или да рестартирате процеса като <a href="%s">натиснете тук</a>.',
|
||||
'Your installation is finished!' => 'Инсталацията ви приключи!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Току-що приключихте с инсталирането на вашият магазин. Благодарим Ви, че използвате PrestaShop!',
|
||||
'Please remember your login information:' => 'Моля запомнете вашата информация за вход:',
|
||||
'E-mail' => 'E-mail',
|
||||
'Print my login information' => 'Разпечатване на моята информация за вход',
|
||||
'Password' => 'Парола',
|
||||
'Display' => 'Показване',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Във връзка със сигурността, трябва да изтриете папката "install".',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'Административен панел',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Управлявайте Вашият магазин, като ползвате Вашият Административен панел. Управлявайте поръчките и клиентите, добавяйте модули, променяйте теми и т.н.',
|
||||
'Manage your store' => 'Управление на магазина',
|
||||
'Front Office' => 'Фронт-сайт',
|
||||
'Discover your store as your future customers will see it!' => 'Вижте Вашият магазин както бъдещите Ви клиенти!',
|
||||
'Discover your store' => 'Разгледайте магазина си',
|
||||
'Share your experience with your friends!' => 'Споделете Вашият опит с Ваши приятели!',
|
||||
'I just built an online store with PrestaShop!' => 'Току-що направих електронен магазин с PrestaShop!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Гледайте това ободряващо изживяване: http://vimeo.com/89298199',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Споделяне',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'Разгледайте PrestaShop Addons, за да добавите допълнителна функционалност към вашият магазин!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'Проверяваме съвместимостта на PrestaShop с Вашата система',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Моля, обърнете се към нашата <a href="%1$s" target="_blank">документация</a> и <a href="%2$s" target="_blank">форум</a> ако имате някакви въпроси.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'Съвместимостта на PrestaShop с вашата система беше потвърдена!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Моля, коригирайте артикула(ите) по-долу и натиснете на "Опресняване на информацията", за да тествате съвместимостта на Вашата нова система.',
|
||||
'Refresh these settings' => 'Опресняване на тези настройки',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'За да работи, PrestaShop изисква поне 32 МБ памет: моля проверете директивата memory_limit във Вашият файл php.ini или се свържете с хостинг доставчика си.',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Внимание: повече не можете да ползвате този инструмент, за да обновявате Вашият магазин.</b><br /><br />Вече разполагате с <b>инсталиран PrestaShop версия %1$s</b>.<br /><br />Ако желаете да обновите до последната версия, моля прочетете нашата документация: <a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'Добре дошли в инсталатора на PrestaShop %s',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 230,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'Инсталацията на PrestaShop е бърза и лесна. Съвсем скоро, ще станете част от общността, състояща се от повече от 230000 търговци. На път сте да създадете свой собствен уникален онлайн магазин, който можете да управлявате лесно всеки ден.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Ако ви е нужна помощ, не се притеснявайте да погледене в <a href="%1$s" target="_blank">това ръководство</a> или да проверите в <a href="%2$s" target="_blank">официалната документация</a>.',
|
||||
'Continue the installation in:' => 'Продължаване на инсталацията на:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'Избраният по-горе език важи само за инсталационният помощник. След като магазинът Ви е инсталиран, можете да изберете езика на Вашият магазин от над %d превода, напълно безплатни!',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'Инсталацията на PrestaShop е бърза и лесна. Съвсем скоро, ще станете част от общността, състояща се от повече от 250000 търговци. На път сте да създадете свой собствен уникален онлайн магазин, който можете да управлявате лесно всеки ден.',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Възникна SQL грешка за обект <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Не може да се създаде изображение „%1$s“ за обект „%2$s“',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Не може да се създаде изображение „%1$s“ (лоши разрешения за папка „%2$s“)',
|
||||
'Cannot create image "%s"' => 'Не може да се създаде изображение „%s“',
|
||||
'SQL error on query <i>%s</i>' => 'SQL грешка при заявка <i>%s</i>',
|
||||
'%s Login information' => '%s Информация за вход',
|
||||
'Field required' => 'Полето е задължително',
|
||||
'Invalid shop name' => 'Невалидно име на магазин',
|
||||
'The field %s is limited to %d characters' => 'Полето %s е ограничено до %d знака',
|
||||
'Your firstname contains some invalid characters' => 'Името ви съдържа някои невалидни знаци',
|
||||
'Your lastname contains some invalid characters' => 'Вашето фамилно име съдържа някои невалидни знаци',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Паролата е неправилна (буквено-цифров низ с поне 8 знака)',
|
||||
'Password and its confirmation are different' => 'Паролата и нейното потвърждение са различни',
|
||||
'This e-mail address is invalid' => 'Този имейл адрес е невалиден',
|
||||
'Image folder %s is not writable' => 'Папката с изображения %s не може да се записва',
|
||||
'An error occurred during logo copy.' => 'Възникна грешка по време на копирането на логото.',
|
||||
'An error occurred during logo upload.' => 'Възникна грешка по време на качване на лого.',
|
||||
'Lingerie and Adult' => 'Бельо и възрастни',
|
||||
'Animals and Pets' => 'Животни и домашни любимци',
|
||||
'Art and Culture' => 'Изкуство и култура',
|
||||
'Babies' => 'Бебета',
|
||||
'Beauty and Personal Care' => 'Красота и лична грижа',
|
||||
'Cars' => 'автомобили',
|
||||
'Computer Hardware and Software' => 'Компютърен хардуер и софтуер',
|
||||
'Download' => 'Изтегли',
|
||||
'Fashion and accessories' => 'Мода и аксесоари',
|
||||
'Flowers, Gifts and Crafts' => 'Цветя, подаръци и занаяти',
|
||||
'Food and beverage' => 'Храни и напитки',
|
||||
'HiFi, Photo and Video' => 'HiFi, фото и видео',
|
||||
'Home and Garden' => 'Дом и градина',
|
||||
'Home Appliances' => 'Битова техника',
|
||||
'Jewelry' => 'Бижута',
|
||||
'Mobile and Telecom' => 'Мобилен и телеком',
|
||||
'Services' => 'Услуги',
|
||||
'Shoes and accessories' => 'Обувки и аксесоари',
|
||||
'Sports and Entertainment' => 'Спорт и развлечения',
|
||||
'Travel' => 'Пътуване',
|
||||
'Database is connected' => 'Базата данни е свързана',
|
||||
'Database is created' => 'Създадена е база данни',
|
||||
'Cannot create the database automatically' => 'Базата данни не може да се създаде автоматично',
|
||||
'Create settings.inc file' => 'Създайте файл settings.inc',
|
||||
'Create database tables' => 'Създаване на таблици от бази данни',
|
||||
'Create default website and languages' => 'Създайте уебсайт и езици по подразбиране',
|
||||
'Populate database tables' => 'Попълване на таблици на база данни',
|
||||
'Configure website information' => 'Конфигуриране на информация за уебсайта',
|
||||
'Install demonstration data' => 'Инсталирайте демонстрационни данни',
|
||||
'Install modules' => 'Инсталирайте модули',
|
||||
'Install Addons modules' => 'Инсталирайте модули Addons',
|
||||
'Install theme' => 'Инсталиране на тема',
|
||||
'Required PHP parameters' => 'Необходими PHP параметри',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'Необходимата версия на PHP е между 5.6 и 7.4',
|
||||
'Cannot upload files' => 'Не могат да се качват файлове',
|
||||
'Cannot create new files and folders' => 'Не могат да се създават нови файлове и папки',
|
||||
'GD library is not installed' => 'GD библиотеката не е инсталирана',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQL разширението не е заредено',
|
||||
'Curl extension is not loaded' => 'Разширението за къдрици не е заредено',
|
||||
'SOAP extension is not loaded' => 'SOAP разширението не е заредено',
|
||||
'SimpleXml extension is not loaded' => 'Разширението SimpleXml не е заредено',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'В конфигурацията на PHP задайте memory_limit на минимум 128M',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'В конфигурацията на PHP задайте max_execution_time на минимум 500',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'В конфигурацията на PHP задайте upload_max_filesize на минимум 16M',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'Не могат да се отварят външни URL адреси (изисква enable_url_fopen като On).',
|
||||
'ZIP extension is not enabled' => 'ZIP разширението не е активирано',
|
||||
'Files' => 'файлове',
|
||||
'Not all files were successfully uploaded on your server' => 'Не всички файлове са качени успешно на вашия сървър',
|
||||
'Permissions on files and folders' => 'Разрешения за файлове и папки',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Рекурсивни разрешения за запис за %1$s потребител на %2$s',
|
||||
'Recommended PHP parameters' => 'Препоръчителни PHP параметри',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'Вие използвате PHP %s версия. Скоро най-новата версия на PHP, поддържана от QloApps, ще бъде PHP 5.6. За да сте сигурни, че сте готови за бъдещето, препоръчваме ви да надстроите до PHP 5.6 сега!',
|
||||
'PHP register_globals option is enabled' => 'Опцията PHP register_globals е активирана',
|
||||
'GZIP compression is not activated' => 'GZIP компресията не е активирана',
|
||||
'Mbstring extension is not enabled' => 'Разширението Mbstring не е активирано',
|
||||
'Dom extension is not loaded' => 'Разширението Dom не е заредено',
|
||||
'Server name is not valid' => 'Името на сървъра не е валидно',
|
||||
'You must enter a database name' => 'Трябва да въведете име на база данни',
|
||||
'You must enter a database login' => 'Трябва да въведете данни за вход в базата данни',
|
||||
'Tables prefix is invalid' => 'Префиксът на таблиците е невалиден',
|
||||
'Cannot convert database data to utf-8' => 'Данните от базата данни не могат да се конвертират в utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Вече е намерена поне една таблица със същия префикс, моля, променете префикса си или изтрийте базата данни',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Стойностите на auto_increment увеличение и отместване трябва да бъдат зададени на 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Сървърът на базата данни не е намерен. Моля, проверете полетата за вход, парола и сървър',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Връзката към MySQL сървъра е успешна, но базата данни "%s" не е намерена',
|
||||
'Attempt to create the database automatically' => 'Опитайте се да създадете базата данни автоматично',
|
||||
'%s file is not writable (check permissions)' => 'Файлът %s не може да се записва (проверете разрешенията)',
|
||||
'%s folder is not writable (check permissions)' => 'Папката %s не може да се записва (проверете разрешенията)',
|
||||
'Cannot write settings file' => 'Не може да се запише файл с настройки',
|
||||
'Database structure file not found' => 'Структурният файл на базата данни не е намерен',
|
||||
'Cannot create group shop' => 'Не може да се създаде групов магазин',
|
||||
'Cannot create shop' => 'Не може да се създаде магазин',
|
||||
'Cannot create shop URL' => 'Не може да се създаде URL адрес на магазин',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Файлът "language.xml" не е намерен за език iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Файлът "language.xml" не е валиден за език iso "%s"',
|
||||
'Cannot install language "%s"' => 'Не може да се инсталира език "%s"',
|
||||
'Cannot copy flag language "%s"' => 'Не може да се копира езикът на флага "%s"',
|
||||
'Cannot create admin account' => 'Не може да се създаде администраторски акаунт',
|
||||
'Cannot install module "%s"' => 'Не може да се инсталира модул "%s"',
|
||||
'Fixtures class "%s" not found' => 'Класът на приспособленията "%s" не е намерен',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '„%s“ трябва да е екземпляр на „InstallXmlLoader“',
|
||||
'Information about your Website' => 'Информация за вашия уебсайт',
|
||||
'Website name' => 'Име на уебсайт',
|
||||
'Main activity' => 'Основна дейност',
|
||||
'Please choose your main activity' => 'Моля, изберете основната си дейност',
|
||||
'Other activity...' => 'Друга дейност...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Помогнете ни да научим повече за вашия магазин, за да можем да ви предложим оптимални насоки и най-добрите функции за вашия бизнес!',
|
||||
'Install demo data' => 'Инсталирайте демонстрационни данни',
|
||||
'Yes' => 'да',
|
||||
'No' => 'Не',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'Инсталирането на демонстрационни данни е добър начин да научите как да използвате QloApps, ако не сте го използвали преди. Тези демонстрационни данни могат по-късно да бъдат изтрити с помощта на модула QloApps Data Cleaner, който идва предварително инсталиран с тази инсталация.',
|
||||
'Country' => 'Държава',
|
||||
'Select your country' => 'Избери твоята държава',
|
||||
'Website timezone' => 'Часова зона на уебсайта',
|
||||
'Select your timezone' => 'Изберете вашата часова зона',
|
||||
'Enable SSL' => 'Активирайте SSL',
|
||||
'Shop logo' => 'Лого на магазина',
|
||||
'Optional - You can add you logo at a later time.' => 'По избор - можете да добавите логото си по-късно.',
|
||||
'Your Account' => 'Вашата сметка',
|
||||
'First name' => 'Първо име',
|
||||
'Last name' => 'Фамилия',
|
||||
'E-mail address' => 'Имейл адрес',
|
||||
'This email address will be your username to access your website\'s back office.' => 'Този имейл адрес ще бъде вашето потребителско име за достъп до бек офиса на вашия уебсайт.',
|
||||
'Password' => 'Парола',
|
||||
'Must be at least 8 characters' => 'Трябва да съдържа поне 8 знака',
|
||||
'Re-type to confirm' => 'Въведете отново, за да потвърдите',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'Информацията, която ни предоставяте, се събира от нас и подлежи на обработка на данни и статистика. Съгласно действащия „Закон за обработката на данни, файловете с данни и личните свободи“ имате право на достъп, коригиране и противопоставяне на обработката на вашите лични данни чрез този <a href="%s" onclick="return !window.open (this.href)">връзка</a>.',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'Съгласен съм да получавам бюлетина и промоционалните оферти от QloApps.',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'Винаги ще получавате транзакционни имейли като нови актуализации, корекции на сигурността и пачове, дори ако не изберете тази опция.',
|
||||
'Configure your database by filling out the following fields' => 'Конфигурирайте вашата база данни, като попълните следните полета',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'За да използвате QloApps, трябва да <a href="%1$s" target="_blank">създадете база данни</a>, за да събирате всички дейности, свързани с данни на вашия уебсайт.',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'Моля, попълнете полетата по-долу, за да може QloApps да се свърже с вашата база данни.',
|
||||
'Database server address' => 'Адрес на сървър на база данни',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Портът по подразбиране е 3306. За да използвате различен порт, добавете номера на порта в края на адреса на вашия сървър, т.е. „:4242“.',
|
||||
'Database name' => 'Име на база данни',
|
||||
'Database login' => 'Вход в база данни',
|
||||
'Database password' => 'Парола за база данни',
|
||||
'Database Engine' => 'Двигател на бази данни',
|
||||
'Tables prefix' => 'Префикс на таблици',
|
||||
'Drop existing tables (mode dev)' => 'Премахнете съществуващите таблици (режим dev)',
|
||||
'Test your database connection now!' => 'Тествайте връзката си с база данни сега!',
|
||||
'Next' => 'Следващия',
|
||||
'Back' => 'обратно',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Ако имате нужда от помощ, можете да <a href="%1$s" onclick="return !window.open(this.href);">получите персонализирана помощ</a> от нашия екип за поддръжка. <a href="%2$s" onclick="return !window.open(this.href);">Официалната документация</a> също е тук, за да ви насочи.',
|
||||
'Official forum' => 'Официален форум',
|
||||
'Support' => 'поддържа',
|
||||
'Documentation' => 'Документация',
|
||||
'Contact us' => 'Свържете се с нас',
|
||||
'QloApps Installation Assistant' => 'Асистент за инсталиране на QloApps',
|
||||
'Forum' => 'Форум',
|
||||
'Blog' => 'Блог',
|
||||
'menu_welcome' => 'Изберете вашия език',
|
||||
'menu_license' => 'Лицензионни споразумения',
|
||||
'menu_system' => 'Съвместимост на системата',
|
||||
'menu_configure' => 'Информация за уебсайта',
|
||||
'menu_database' => 'Системна конфигурация',
|
||||
'menu_process' => 'Инсталиране на QloApps',
|
||||
'Need Help?' => 'Нужда от помощ?',
|
||||
'Click here to Contact us' => 'Щракнете тук, за да се свържете с нас',
|
||||
'Installation' => 'Инсталация',
|
||||
'See our Installation guide' => 'Вижте нашето ръководство за инсталиране',
|
||||
'Tutorials' => 'Уроци',
|
||||
'See our QloApps tutorials' => 'Вижте нашите уроци за QloApps',
|
||||
'Installation Assistant' => 'Асистент за инсталиране',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'За да инсталирате QloApps, трябва да имате активиран JavaScript във вашия браузър.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Лицензионни споразумения',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'За да се насладите на многото функции, които се предлагат безплатно от QloApps, моля, прочетете лицензионните условия по-долу. Ядрото на QloApps е лицензирано под OSL 3.0, докато модулите и темите са лицензирани под AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Съгласен съм с горните правила и условия.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Съгласен съм да участвам в подобряването на решението, като изпращам анонимна информация за моята конфигурация.',
|
||||
'Done!' => 'Свършен!',
|
||||
'An error occurred during installation...' => 'Възникна грешка по време на инсталацията...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Можете да използвате връзките в лявата колона, за да се върнете към предишните стъпки или да рестартирате инсталационния процес, като <a href="%s">щракнете тук</a>.',
|
||||
'Suggested Modules' => 'Предложени модули',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'Намерете точните функции в QloApps Addons, за да направите бизнеса си с хотелиерство успешен.',
|
||||
'Discover All Modules' => 'Открийте всички модули',
|
||||
'Suggested Themes' => 'Предложени теми',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'Създайте дизайн, който подхожда на вашия хотел и вашите клиенти, с готова за използване тема на шаблон.',
|
||||
'Discover All Themes' => 'Открийте всички теми',
|
||||
'Your installation is finished!' => 'Вашата инсталация е завършена!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'Току-що приключихте с инсталирането на QloApps. Благодарим ви, че използвате QloApps!',
|
||||
'Please remember your login information:' => 'Моля, запомнете данните си за вход:',
|
||||
'E-mail' => 'Електронна поща',
|
||||
'Print my login information' => 'Отпечатайте моята информация за вход',
|
||||
'Display' => 'Дисплей',
|
||||
'For security purposes, you must delete the "install" folder.' => 'От съображения за сигурност трябва да изтриете папката "install".',
|
||||
'Back Office' => 'Бек офис',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Управлявайте уебсайта си с помощта на вашия Back Office. Управлявайте вашите поръчки и клиенти, добавяйте модули, променяйте теми и т.н.',
|
||||
'Manage Your Website' => 'Управлявайте вашия уебсайт',
|
||||
'Front Office' => 'Фронт офис',
|
||||
'Discover your website as your future customers will see it!' => 'Открийте уебсайта си така, както ще го видят вашите бъдещи клиенти!',
|
||||
'Discover Your Website' => 'Открийте вашия уебсайт',
|
||||
'Share your experience with your friends!' => 'Споделете опита си с приятелите си!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'Току-що създадох уебсайт за онлайн резервация на хотел с QloApps!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'Вижте всички функции тук: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Дял',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'В момента проверяваме съвместимостта на QloApps с вашата системна среда',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Ако имате някакви въпроси, моля, посетете нашата <a href="%1$s" target="_blank">документация</a> и <a href="%2$s" target="_blank">форум на общността< /a>.',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'Съвместимостта на QloApps с вашата системна среда е проверена!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Опа! Моля, коригирайте елемента(ите) по-долу и след това щракнете върху „Опресняване на информацията“, за да тествате съвместимостта на вашата нова система.',
|
||||
'Refresh these settings' => 'Обновете тези настройки',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'QloApps изисква най-малко 128 MB памет, за да работи: моля, проверете директивата memory_limit във вашия файл php.ini или се свържете с вашия хост доставчик за това.',
|
||||
'Welcome to the QloApps %s Installer' => 'Добре дошли в инсталатора на QloApps %s',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'Инсталирането на QloApps е бързо и лесно. Само след няколко минути ще станете част от общност. Вие сте на път да създадете свой собствен уебсайт за хотелски резервации, който можете да управлявате лесно всеки ден.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Ако имате нужда от помощ, не се колебайте да <a href="%1$s" target="_blank">гледате този кратък урок</a> или да проверите <a href="%2$s" target="_blank" ">нашата документация</a>.',
|
||||
'Continue the installation in:' => 'Продължете инсталацията в:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'Изборът на език по-горе се отнася само за асистента за инсталиране. След като QloApps бъде инсталиран, можете да изберете езика на уебсайта си от над %d превода, всичко това безплатно!',
|
||||
),
|
||||
);
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<entity_order_return_state>
|
||||
<order_return_state id="Pending">
|
||||
<name>Pending</name>
|
||||
<name>বিচারাধীন</name>
|
||||
<customer_template>order_refund_pending_customer</customer_template>
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>অস্বীকৃত</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>সম্পন্ন</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
@@ -1,214 +1,227 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => '<i>%1$s</i>: <i>%2$s</i> এনটিটির জন্য একটি ত্রুটি ঘটেছে ',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'এনটিটি "%2$s"এর জন্য চিত্র "%1$s" তৈরি করা যায় নি',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'চিত্র "%1$s" তৈরি করা যায় নি (ফোল্ডার "%2$s"এ অনুমতি জনিত সমস্যা)',
|
||||
'Cannot create image "%s"' => 'চিত্র "%s" তৈরি করা যায় নি ',
|
||||
'SQL error on query <i>%s</i>' => 'কোয়েরি <i>%s</i> তে SQLত্রুটি',
|
||||
'%s Login information' => '%s লগইন তথ্য',
|
||||
'Field required' => 'ক্ষেত্রটি প্রয়োজন',
|
||||
'Invalid shop name' => 'দোকানের নাম ভুল',
|
||||
'The field %s is limited to %d characters' => 'ক্ষেত্র%s, %dটি বর্ণের ভিতর সিমাবদ্ধ',
|
||||
'Your firstname contains some invalid characters' => 'আপনার নামের ১ম অংশ কিছু ভুল অক্ষর বহন করছে',
|
||||
'Your lastname contains some invalid characters' => 'আপনার নামের শেষ অংশ কিছু ভুল অক্ষর বহন করছে ',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'পাসওয়ার্ডটি ভুল(কমপক্ষে ৮ অক্ষরের সংখা-শব্দ এর মিলিত স্ট্রিং)',
|
||||
'Password and its confirmation are different' => 'পাসওয়ার্ড এবং তার নিশ্চয়তা ভিন্ন',
|
||||
'This e-mail address is invalid' => 'এই ইমেইল ঠিকানাটি ভুল',
|
||||
'Image folder %s is not writable' => 'চিত্রের ফোল্ডার%s অনুলিপি যোগ্য নয়',
|
||||
'An error occurred during logo copy.' => 'লোগো কপি করার সময় একটি ত্রুটি ঘটেছে',
|
||||
'An error occurred during logo upload.' => 'লোগো আপলোড করার সময় একটি ত্রুটি ঘটেছে',
|
||||
'Lingerie and Adult' => ' অন্তর্বাস ও পূর্ণবয়স্ক',
|
||||
'Animals and Pets' => 'প্রাণী এবং গৃহপালিত',
|
||||
'Art and Culture' => 'শিল্প ও সংস্কৃতি',
|
||||
'Babies' => 'শিশু',
|
||||
'Beauty and Personal Care' => 'সৌন্দর্য্য ও ব্যক্তিগত পরিচর্যা',
|
||||
'Cars' => 'গাড়ী',
|
||||
'Computer Hardware and Software' => 'কম্পিউটার হার্ডওয়্যার ও সফটওয়্যার',
|
||||
'Download' => 'ডাউ্নলোড',
|
||||
'Fashion and accessories' => 'ফ্যাশন ও আনুষাঙ্গিক',
|
||||
'Flowers, Gifts and Crafts' => 'ফুল, উপহার এবং হস্তশিল্প',
|
||||
'Food and beverage' => 'খাদ্য এবং পানীয়',
|
||||
'HiFi, Photo and Video' => 'HiFi, ফটো এবং ভিডিও',
|
||||
'Home and Garden' => 'বাড়ি এবং বাগান',
|
||||
'Home Appliances' => 'গৃহস্থালি সামগ্রী',
|
||||
'Jewelry' => 'গয়না',
|
||||
'Mobile and Telecom' => 'মোবাইল এবং টেলিকম',
|
||||
'Services' => 'সেবা ',
|
||||
'Shoes and accessories' => 'জুতো এবং আনুষাঙ্গিক',
|
||||
'Sports and Entertainment' => 'ক্রীড়া ও বিনোদন',
|
||||
'Travel' => 'পর্যটন',
|
||||
'Database is connected' => 'ডাটাবেস সংযুক্ত করা হয়েছে',
|
||||
'Database is created' => 'ডাটাবেজ তৈরি করা হয়েছে',
|
||||
'Cannot create the database automatically' => 'স্বয়ংক্রিয়ভাবে ডাটাবেস তৈরি করতে পারবেন না',
|
||||
'Create settings.inc file' => 'settings.inc ফাইল তৈরি হয়েছে',
|
||||
'Create database tables' => 'ডাটাবেস সারণী তৈরী হয়েছে',
|
||||
'Create default shop and languages' => 'ডিফল্ট দোকান এবং ভাষাসমূহ তৈর হয়েছে',
|
||||
'Populate database tables' => 'ডাটাবেস টেবিল তথ্যপূর্ণ হয়েছে',
|
||||
'Configure shop information' => 'দোকানের তথ্য কনফিগার হয়েছে',
|
||||
'Install demonstration data' => 'ডেমনেসট্রেসন তথ্য ইনস্টল হয়েছে',
|
||||
'Install modules' => 'মডিউল ইনস্টল হয়েছে',
|
||||
'Install Addons modules' => 'মডিউল অ্যাডঅনস ইনস্টল হয়েছে',
|
||||
'Install theme' => 'থিম ইনস্টল হয়েছে',
|
||||
'Required PHP parameters' => 'প্রয়োজনীয় পিএইচপি পরামিতি',
|
||||
'PHP 5.1.2 or later is not enabled' => 'পিএইচপি 5.1.2 অথবা পরবর্তী সংস্করণ সক্রিয় করা নেই',
|
||||
'Cannot upload files' => 'ফাইল আপলোড করা যাচ্ছে না',
|
||||
'Cannot create new files and folders' => 'নতুন ফাইল এবং ফোল্ডার তৈরি করা যাচ্ছে না',
|
||||
'GD library is not installed' => 'জিডি লাইব্রেরী ইনস্টল করা নেই',
|
||||
'MySQL support is not activated' => 'মাইএসকিউএল সমর্থন সক্রিয় করা নেই',
|
||||
'Files' => 'ফাইল',
|
||||
'Not all files were successfully uploaded on your server' => 'সব ফাইল সফলভাবে আপনার সার্ভারে আপলোড করা হয় নি',
|
||||
'Permissions on files and folders' => 'ফাইল এবং ফোল্ডার অনুমতি',
|
||||
'Recursive write permissions for %1$s user on %2$s' => ' %1$s ব্যভারকারির %2$s এর জন্য রিকারসিভ রাইট অনুমতি ',
|
||||
'Recommended PHP parameters' => 'প্রস্তাবিত পিএইচপি পরামিতি',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!' => 'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!',
|
||||
'Cannot open external URLs' => 'বাহ্যিক URL-খোলা যাচ্ছে না',
|
||||
'PHP register_globals option is enabled' => 'PHP register_globals অপশন সক্রিয় ',
|
||||
'GZIP compression is not activated' => 'Gzip কম্প্রেশন সক্রিয় করা নেই',
|
||||
'Mcrypt extension is not enabled' => 'Mcrypt এক্সটেনশন সক্রিয় করা নেই',
|
||||
'Mbstring extension is not enabled' => 'Mbstring এক্সটেনশন সক্রিয় করা নেই',
|
||||
'PHP magic quotes option is enabled' => 'PHP magic quotes অপশনটি সক্রিয় করা',
|
||||
'Dom extension is not loaded' => 'Dom এক্সটেনশন লোড করা হয় নি',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQLএক্সটেনশন লোড করা হয় নি',
|
||||
'Server name is not valid' => 'সার্ভারের নাম সঠিক নয় ',
|
||||
'You must enter a database name' => 'আপনাকে একটি ডাটাবেসের নাম লিখতে হবে',
|
||||
'You must enter a database login' => 'আপনাকে একটি ডাটাবেস লগইন থেকে প্রবেশ করতে হবে',
|
||||
'Tables prefix is invalid' => 'টেবিল প্রিফিক্স ভুল',
|
||||
'Cannot convert database data to utf-8' => ' ডাটাবেসের তথ্য utf-8 এ রূপান্তর করতে পারবেন না',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'একই প্রিফিক্স যুক্ত কমপক্ষে আরও একটি টেবিল পাওয়া গেছে,আপনার প্রিফিক্স বদলান অথবা ডাটাবেস ড্রপ করুন',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'The values of auto_increment increment and offset must be set to 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'ডাটাবেস সার্ভার খুঁজে পাওয়া যায় নি।লগইন, পাসওয়ার্ড এবং সার্ভার ক্ষেত্র দয়া করে যাচাই করুন।',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'MySQLসার্ভারে সংযোগ সফল হএচে,কিন্তু ডাটাবেস "%s" খুজে পাওয়া যায় নি',
|
||||
'Attempt to create the database automatically' => 'স্বয়ংক্রিয়ভাবে ডাটাবেস তৈরি করার চেষ্টা করুন',
|
||||
'%s file is not writable (check permissions)' => '%sফাইল লিখনযোগ্য নয়(অনুমতি চেক করুন)',
|
||||
'%s folder is not writable (check permissions)' => '%sফোল্ডার লিখনযোগ্য নয়(অনুমতি চেক করুন) ',
|
||||
'Cannot write settings file' => 'সেটিংস ফাইল রাইট করা যায় নি ',
|
||||
'Database structure file not found' => 'ডাটাবেজ কাঠামো ফাইল খুঁজে পাওয়া যায় নি',
|
||||
'Cannot create group shop' => 'গ্রুপ দোকান তৈরি করা যায় নি ',
|
||||
'Cannot create shop' => ' দোকান তৈরি করা যায় নি ',
|
||||
'Cannot create shop URL' => ' দোকানের URL তৈরি করা যায় নি ',
|
||||
'File "language.xml" not found for language iso "%s"' => '"language.xml"ফাইল টি language iso "%s" তে পাওয়া যায় নি',
|
||||
'File "language.xml" not valid for language iso "%s"' => '"language.xml" ফাইল টি language iso "%s এর জন্য সঠিক নয়',
|
||||
'Cannot install language "%s"' => ' "%s" ভাষা ইনস্টল করা যাচ্ছে না',
|
||||
'Cannot copy flag language "%s"' => '"%s" ফ্লাগ ভাষা কপি করা যাচ্ছে না ',
|
||||
'Cannot create admin account' => 'এডমিন অ্যাকাউন্ট তৈরি করা যায় নি ',
|
||||
'Cannot install module "%s"' => '"%s" মডিউল ইনস্টল করা যাচ্ছে না',
|
||||
'Fixtures class "%s" not found' => '"%s" Fixtures class পাওয়া যায় নি',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" কে অবশ্যই "InstallXmlLoader" এর একটি instaneহতে হবে',
|
||||
'Information about your Store' => 'আপনার দোকান সম্পর্কে তথ্য',
|
||||
'Shop name' => 'দোকান এর নাম',
|
||||
'Main activity' => 'মুখ্য কার্যকলাপ',
|
||||
'Please choose your main activity' => 'আপনার প্রধান কার্যকলাপ বেছে নিন',
|
||||
'Other activity...' => 'অন্য কার্যকলাপ ...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'আমরা যাতে আপনাকে আপনার ব্যবসার জন্য অনুকূল নির্দেশিকা এবং সর্বোত্তম বৈশিষ্ট্য অফার করতে পারি সেজন্য আমাদের আপনার দোকান সম্বন্ধে আরও জানতে সাহায্য করুন!',
|
||||
'Install demo products' => 'ডেমো পণ্য ইনস্টল করুন',
|
||||
'Yes' => 'হ্যাঁ',
|
||||
'No' => 'না',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'ডেমো পণ্য PrestaShopএর ব্যবহার শিখার একটি ভালো উপায়।আপনি যদি এটার সাথে পরিচিত না হন, তাহলে তাদের ইনস্টল করা উচিত।',
|
||||
'Country' => 'দেশ',
|
||||
'Select your country' => 'আপনার দেশ নির্বাচন করুন',
|
||||
'Shop timezone' => 'দোকানের সময় অঞ্চল (timezone)',
|
||||
'Select your timezone' => 'আপনার সময় অঞ্চল নির্বাচন করুন',
|
||||
'Shop logo' => 'দোকান লোগো',
|
||||
'Optional - You can add you logo at a later time.' => 'ঐচ্ছিক - পরবর্তী সময়ে লোগো যোগ করতে পারেন.',
|
||||
'Your Account' => 'আপনার অ্যাকাউন্ট',
|
||||
'First name' => 'নামের প্রথমাংশ',
|
||||
'Last name' => 'নামের শেষাংশ',
|
||||
'E-mail address' => 'ইমেইল ঠিকানা',
|
||||
'This email address will be your username to access your store\'s back office.' => 'এই ইমেইল ঠিকানা আপনার দোকান এর ব্যাক অফিস অ্যাক্সেস করতে আপনার ইউজারনেম হবে',
|
||||
'Shop password' => 'দোকানের পাসওয়ার্ড',
|
||||
'Must be at least 8 characters' => 'আট অক্ষর নূন্যতম',
|
||||
'Re-type to confirm' => 'নিশ্চিত করার জন্য আবার টাইপ করুন',
|
||||
'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.',
|
||||
'Configure your database by filling out the following fields' => 'নিম্নলিখিত ক্ষেত্রগুলি পূরণ করে আপনার ডাটাবেস কনফিগার করুন',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'PrestaShop ব্যবহার করতে, আপনাকে অবশ্যই a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> আপনার দোকান সম্পর্কিত সকল তথ্য সংগ্রহ করার জন্য ',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'PrestaShop আপনার ডাটাবেসের সাথে সংযোগ করার জন্য নীচের ক্ষেত্রগুলি পূরণ করুন.',
|
||||
'Database server address' => 'ডাটাবেস সার্ভারের ঠিকানা',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'ডিফল্ট পোর্ট হল 3306।ভিন্ন পোর্ট ব্যবহার করতে হলে আপনার সার্ভারের ঠিকানা এবং শেষে পোর্ট সংখ্যা যোগ করুন।যেমন-":4242". ',
|
||||
'Database name' => 'ডেটাবেস নাম',
|
||||
'Database login' => 'ডাটাবেস লগইন',
|
||||
'Database password' => 'ডাটাবেজ পাসওয়ার্ড',
|
||||
'Database Engine' => 'ডাটাবেস ইঞ্জিন',
|
||||
'Tables prefix' => 'টেবিল প্রিফিক্সঃ',
|
||||
'Drop existing tables (mode dev)' => 'বিদ্যমান টেবিল ড্রপ করুন(mode dev)',
|
||||
'Test your database connection now!' => 'এখন আপনার ডাটাবেস সংযোগ পরীক্ষা করুন!',
|
||||
'Next' => 'পরবর্তী ',
|
||||
'Back' => 'পেছনে',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.',
|
||||
'Official forum' => 'অফিসিয়াল ফোরাম',
|
||||
'Support' => 'সহায়তা',
|
||||
'Documentation' => 'নথিপত্র করন',
|
||||
'Contact us' => 'আমাদের সাথে যোগাযোগ করুন',
|
||||
'PrestaShop Installation Assistant' => 'PrestaShop ইনস্টলেশন সহকারী',
|
||||
'Forum' => 'ফোরাম',
|
||||
'Blog' => 'ব্লগ',
|
||||
'Contact us!' => 'আমাদের সাথে যোগাযোগ করুন',
|
||||
'menu_welcome' => 'আপনার ভাষা নির্বাচন করুন',
|
||||
'menu_license' => 'লাইসেন্স চুক্তি ',
|
||||
'menu_system' => 'সিস্টেম প্রয়োজনীয়তা',
|
||||
'menu_configure' => 'দোকান এর তথ্য',
|
||||
'menu_database' => 'সিস্টেম কনফিগারেসন',
|
||||
'menu_process' => 'দোকান ইন্সটলেসন ',
|
||||
'Installation Assistant' => 'ইনস্টলেশন সহকারী',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'PrestaShop ইনস্টল করার জন্য,আপনাকে জাভাস্ক্রিপ্ট আপনার ব্রাউজারে সক্রিয় করতে হবে',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'লাইসেন্স চুক্তি',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'PrestaShop দ্বারা বিনামূল্যে দেওয়া অনেক বৈশিষ্ট্য ভোগ করতে, নীচের লাইসেন্স শর্ত দয়া করে পড়ুন।PrestaShop কোর, OSL 3.0 এর অধীনে লাইসেন্স করা হয় এবং মডিউল, এবং থিমগুলি afl 3.0 অধীনে লাইসেন্স করা হয়',
|
||||
'I agree to the above terms and conditions.' => 'আমি উপরের শর্তাবলীর সাথে সম্মত ',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'আমি আমার কনফিগারেশন সম্পর্কে বেনামী তথ্য পাঠিয়ে সমাধান উন্নতিতে অংশগ্রহণের জন্য সম্মত ',
|
||||
'Done!' => 'সম্পন্ন!',
|
||||
'An error occurred during installation...' => 'ইনস্টলেশনের সময় একটি ত্রুটি ঘটেছে ...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'আপনি বাম কলামের পিছনে ফেরার লিঙ্ক দিয়ে আগের ধাপে ফিরে যেতে পারেন অথবা ইনস্টলেশন প্রক্রিয়া পুনরায় আরম্ভ করুন-<a href="%s">clicking here</a>. হতে',
|
||||
'Your installation is finished!' => 'আপনার ইনস্টলেশন সমাপ্ত!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => ' আপনার দোকান ইনস্টল সমাপ্ত হয়েছে. PrestaShop ব্যবহারের জন্য আপনাকে ধন্যবাদ!',
|
||||
'Please remember your login information:' => 'আপনার লগইন তথ্য দয়া করে মনে রাখবেন',
|
||||
'E-mail' => 'ই মেইল',
|
||||
'Print my login information' => 'আপনার লগইন তথ্য মুদ্রণ করুন',
|
||||
'Password' => 'পাসওয়ার্ড',
|
||||
'Display' => 'প্রদর্শন ',
|
||||
'For security purposes, you must delete the "install" folder.' => 'নিরাপত্তার জন্য "install" ফোল্ডার মুছে ফেলা আবশ্যক.',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'ব্যাক অফিস',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'আপনার ব্যাক অফিস ব্যবহার করে আপনার দোকান পরিচালনা করুন।আপনার অর্ডার এবং গ্রাহকদের, মডিউল, থিম পরিবর্তন , ইত্যাদি পরিচালনা করুন',
|
||||
'Manage your store' => 'আপনার দোকান পরিচালনা করুন',
|
||||
'Front Office' => 'ফ্রন্ট অফিস',
|
||||
'Discover your store as your future customers will see it!' => 'আপনার ভবিষ্যত গ্রাহক দেখতে পাবে আপনার যে দোকানটি তা আবিস্কার করুন!',
|
||||
'Discover your store' => 'আপনার দোকান উন্মোচন করুন',
|
||||
'Share your experience with your friends!' => 'আপনার বন্ধুদের সঙ্গে আপনার অভিজ্ঞতা শেয়ার করুন!',
|
||||
'I just built an online store with PrestaShop!' => 'আমি PrestaShop দিয়ে একটি অনলাইন দোকান নির্মাণ করলাম!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Watch this exhilarating experience: http://vimeo.com/89298199',
|
||||
'Tweet' => 'টুইট',
|
||||
'Share' => 'শেয়ার ',
|
||||
'Google+' => 'Google+ ',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn ',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'আপনার দোকানে অতিরিক্ত কিছু যোগ করতে PrestaShop অ্যাডঅনস পরীক্ষা করে দেখুন!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'আমরা বর্তমানে আপনার সিস্টেম পরিবেশের সঙ্গে PrestaShopএর উপযুক্ততা যাচাই করছি',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'যদি আপনার কোন প্রশ্ন থাকে, তাহলে অনুগ্রহপূর্বক আমাদের <a href="%1$s" target="_blank">নথিপত্র</a> এবং <a href="%2$s" target="_blank">কমুনিটি ফোরাম</a>. পরিদর্শন করুন',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'আপনার সিস্টেমে পরিবেশের সঙ্গে PrestaShop উপযুক্ততা যাচাই করা হয়েছে!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => ' নীচের আইটেম (গুলি) দয়া করে সঠিক করুন তারপর আপনার নতুন সিস্টেম সামঞ্জস্যের পরীক্ষা করতে "Refresh information" ক্লিক করুন',
|
||||
'Refresh these settings' => 'এই সেটিংস রিফ্রেশ করুন',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'PrestaShop চালাতে অন্তত 32M মেমরি প্রয়োজন।php.ini তে আপনার মেমরি চেক করুন অথবা অথবা আপনার হোস্ট সরবরাহকারীর সাথে যোগাযোগ করুন।',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>সতর্কবার্তা: আপনি আপনার দোকান আপগ্রেড করতে আর এই টুল ব্যবহার করতে পারবেন না </b><br /><br />আপনার ইতিমধ্যেই আছে<b>PrestaShop সংস্করণ %1$s ইনস্টল করা </b>.<br /><br />আপনি সর্বশেষ সংস্করণে আপগ্রেড করতে চান তাহলে আমাদের ডকুমেন্টেশন দয়া করে পড়ুন:<a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'PrestaShop ইনস্টলার %s এ স্বাগতম',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 230,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'PrestaShop ইনস্টলেশন দ্রুত এবং সহজ। মাত্র কয়েক মুহূর্তের মধ্যে, আপনি 230.000 এর বেশি বণিকদের একটি কমিউনিটির অংশ হয়ে যাবেন। আপনি আপনার নিজের অসাধারন দোকান তৈরির পথে আছেন যেটি খুব সহজে প্রতিদিন ম্যানেজ করতে পারবেন।',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.',
|
||||
'Continue the installation in:' => 'এ ইনস্টলেশন চালিয়ে যান: ',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'উপরোক্ত ভাষা নির্বাচন শুধুমাত্র ইনস্টলেশনের সহকারীর জন্য প্রযোজ্য।আপনার দোকান ইনস্টল করা হলে,আপনি উপর থেকে আপনার দোকানের ভাষা নির্বাচন করতে পারবেন একদম বিনামূল্যে!',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'PrestaShop ইনস্টলেশন দ্রুত এবং সহজ। মাত্র কয়েক মুহূর্তের মধ্যে, আপনি 250.000 এর বেশি বণিকদের একটি কমিউনিটির অংশ হয়ে যাবেন। আপনি আপনার নিজের অসাধারন দোকান তৈরির পথে আছেন যেটি খুব সহজে প্রতিদিন ম্যানেজ করতে পারবেন।',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => '<i>%1$s</i> সত্তার জন্য একটি SQL ত্রুটি ঘটেছে: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => '"%2$s" সত্তার জন্য ছবি "%1$s" তৈরি করা যাবে না',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'ছবি "%1$s" তৈরি করা যাবে না ("%2$s" ফোল্ডারে খারাপ অনুমতি)',
|
||||
'Cannot create image "%s"' => 'ছবি "%s" তৈরি করা যাবে না',
|
||||
'SQL error on query <i>%s</i>' => 'প্রশ্ন <i>%s</i> এ SQL ত্রুটি',
|
||||
'%s Login information' => '%s লগইন তথ্য',
|
||||
'Field required' => 'ক্ষেত্র প্রয়োজনীয়',
|
||||
'Invalid shop name' => 'অবৈধ দোকানের নাম',
|
||||
'The field %s is limited to %d characters' => 'ক্ষেত্র %s %d অক্ষরের মধ্যে সীমাবদ্ধ',
|
||||
'Your firstname contains some invalid characters' => 'আপনার প্রথম নামটিতে কিছু অবৈধ অক্ষর রয়েছে৷',
|
||||
'Your lastname contains some invalid characters' => 'আপনার শেষনামে কিছু অবৈধ অক্ষর রয়েছে',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'পাসওয়ার্ডটি ভুল (অন্তত 8টি অক্ষর সহ আলফানিউমেরিক স্ট্রিং)',
|
||||
'Password and its confirmation are different' => 'পাসওয়ার্ড এবং তার নিশ্চিতকরণ ভিন্ন',
|
||||
'This e-mail address is invalid' => 'এই ই-মেইল ঠিকানাটি অবৈধ',
|
||||
'Image folder %s is not writable' => 'ছবির ফোল্ডার %s লেখার যোগ্য নয়',
|
||||
'An error occurred during logo copy.' => 'লোগো কপি করার সময় একটি ত্রুটি ঘটেছে৷',
|
||||
'An error occurred during logo upload.' => 'লোগো আপলোড করার সময় একটি ত্রুটি ঘটেছে৷',
|
||||
'Lingerie and Adult' => 'অন্তর্বাস এবং প্রাপ্তবয়স্কদের',
|
||||
'Animals and Pets' => 'প্রাণী এবং পোষা প্রাণী',
|
||||
'Art and Culture' => 'শিল্প ও সংস্কৃতি',
|
||||
'Babies' => 'বাচ্চারা',
|
||||
'Beauty and Personal Care' => 'সৌন্দর্য এবং ব্যক্তিগত যত্ন',
|
||||
'Cars' => 'গাড়ি',
|
||||
'Computer Hardware and Software' => 'কম্পিউটার হার্ডওয়্যার এবং সফটওয়্যার',
|
||||
'Download' => 'ডাউনলোড করুন',
|
||||
'Fashion and accessories' => 'ফ্যাশন এবং আনুষাঙ্গিক',
|
||||
'Flowers, Gifts and Crafts' => 'ফুল, উপহার এবং কারুশিল্প',
|
||||
'Food and beverage' => 'খাদ্য ও পানীয়',
|
||||
'HiFi, Photo and Video' => 'হাইফাই, ফটো এবং ভিডিও',
|
||||
'Home and Garden' => 'বাড়ি এবং বাগান',
|
||||
'Home Appliances' => 'হোম অ্যাপ্লায়েন্সেস',
|
||||
'Jewelry' => 'গয়না',
|
||||
'Mobile and Telecom' => 'মোবাইল এবং টেলিকম',
|
||||
'Services' => 'সেবা',
|
||||
'Shoes and accessories' => 'জুতা এবং আনুষাঙ্গিক',
|
||||
'Sports and Entertainment' => 'খেলাধুলা এবং বিনোদন',
|
||||
'Travel' => 'ভ্রমণ',
|
||||
'Database is connected' => 'ডাটাবেস সংযুক্ত করা হয়',
|
||||
'Database is created' => 'ডাটাবেস তৈরি করা হয়',
|
||||
'Cannot create the database automatically' => 'স্বয়ংক্রিয়ভাবে ডাটাবেস তৈরি করা যাবে না',
|
||||
'Create settings.inc file' => 'settings.inc ফাইল তৈরি করুন',
|
||||
'Create database tables' => 'ডাটাবেস টেবিল তৈরি করুন',
|
||||
'Create default website and languages' => 'ডিফল্ট ওয়েবসাইট এবং ভাষা তৈরি করুন',
|
||||
'Populate database tables' => 'ডাটাবেস টেবিল পপুলেট',
|
||||
'Configure website information' => 'ওয়েবসাইট তথ্য কনফিগার করুন',
|
||||
'Install demonstration data' => 'প্রদর্শন তথ্য ইনস্টল করুন',
|
||||
'Install modules' => 'মডিউল ইনস্টল করুন',
|
||||
'Install Addons modules' => 'Addons মডিউল ইনস্টল করুন',
|
||||
'Install theme' => 'থিম ইনস্টল করুন',
|
||||
'Required PHP parameters' => 'প্রয়োজনীয় পিএইচপি পরামিতি',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'প্রয়োজনীয় পিএইচপি সংস্করণটি 5.6 থেকে 7.4 এর মধ্যে',
|
||||
'Cannot upload files' => 'ফাইল আপলোড করা যাবে না',
|
||||
'Cannot create new files and folders' => 'নতুন ফাইল এবং ফোল্ডার তৈরি করা যাবে না',
|
||||
'GD library is not installed' => 'জিডি লাইব্রেরি ইনস্টল করা নেই',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQL এক্সটেনশন লোড হয় না',
|
||||
'Curl extension is not loaded' => 'কার্ল এক্সটেনশন লোড করা হয় না',
|
||||
'SOAP extension is not loaded' => 'SOAP এক্সটেনশন লোড হয় না',
|
||||
'SimpleXml extension is not loaded' => 'SimpleXml এক্সটেনশন লোড হয় না',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'পিএইচপি কনফিগারেশনে মেমরি_লিমিট ন্যূনতম 128M সেট করুন',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'PHP কনফিগারেশনে max_execution_time ন্যূনতম 500 সেট করুন',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'PHP কনফিগারেশনে upload_max_filesize ন্যূনতম 16M সেট করুন',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'বাহ্যিক URL খুলতে পারে না (অনুমতি_url_fopen চালু হিসাবে প্রয়োজন)।',
|
||||
'ZIP extension is not enabled' => 'জিপ এক্সটেনশন সক্রিয় করা নেই',
|
||||
'Files' => 'নথি পত্র',
|
||||
'Not all files were successfully uploaded on your server' => 'আপনার সার্ভারে সব ফাইল সফলভাবে আপলোড করা হয়নি',
|
||||
'Permissions on files and folders' => 'ফাইল এবং ফোল্ডারে অনুমতি',
|
||||
'Recursive write permissions for %1$s user on %2$s' => '%2$s-এ %1$s ব্যবহারকারীর জন্য পুনরাবৃত্তিমূলক লেখার অনুমতি',
|
||||
'Recommended PHP parameters' => 'প্রস্তাবিত PHP প্যারামিটার',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'আপনি PHP %s সংস্করণ ব্যবহার করছেন। শীঘ্রই, QloApps দ্বারা সমর্থিত সর্বশেষ PHP সংস্করণটি হবে PHP 5.6। আপনি ভবিষ্যতের জন্য প্রস্তুত তা নিশ্চিত করতে, আমরা আপনাকে এখনই PHP 5.6-এ আপগ্রেড করার পরামর্শ দিচ্ছি!',
|
||||
'PHP register_globals option is enabled' => 'পিএইচপি register_globals বিকল্প সক্রিয় করা হয়েছে',
|
||||
'GZIP compression is not activated' => 'GZIP কম্প্রেশন সক্রিয় করা হয় না',
|
||||
'Mbstring extension is not enabled' => 'Mbstring এক্সটেনশন সক্রিয় করা নেই',
|
||||
'Dom extension is not loaded' => 'Dom এক্সটেনশন লোড করা হয় না',
|
||||
'Server name is not valid' => 'সার্ভারের নাম বৈধ নয়',
|
||||
'You must enter a database name' => 'আপনাকে অবশ্যই একটি ডাটাবেসের নাম লিখতে হবে',
|
||||
'You must enter a database login' => 'আপনি একটি ডাটাবেস লগইন লিখতে হবে',
|
||||
'Tables prefix is invalid' => 'সারণি উপসর্গ অবৈধ',
|
||||
'Cannot convert database data to utf-8' => 'ডাটাবেস ডেটাকে utf-8 এ রূপান্তর করা যাবে না',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'একই উপসর্গ সহ অন্তত একটি টেবিল ইতিমধ্যে পাওয়া গেছে, অনুগ্রহ করে আপনার উপসর্গ পরিবর্তন করুন বা আপনার ডাটাবেস ফেলে দিন',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'স্বয়ংক্রিয়_বৃদ্ধি বৃদ্ধি এবং অফসেটের মান অবশ্যই 1 এ সেট করতে হবে',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'ডাটাবেস সার্ভার খুঁজে পাওয়া যায়নি. লগইন, পাসওয়ার্ড এবং সার্ভার ক্ষেত্র যাচাই করুন',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'MySQL সার্ভারের সাথে সংযোগ সফল হয়েছে, কিন্তু ডাটাবেস "%s" পাওয়া যায়নি',
|
||||
'Attempt to create the database automatically' => 'স্বয়ংক্রিয়ভাবে ডাটাবেস তৈরি করার চেষ্টা করুন',
|
||||
'%s file is not writable (check permissions)' => '%s ফাইল লেখার যোগ্য নয় (অনুমতি চেক করুন)',
|
||||
'%s folder is not writable (check permissions)' => '%s ফোল্ডার লেখার যোগ্য নয় (অনুমতি চেক করুন)',
|
||||
'Cannot write settings file' => 'সেটিংস ফাইল লিখতে পারে না',
|
||||
'Database structure file not found' => 'ডাটাবেস গঠন ফাইল পাওয়া যায়নি',
|
||||
'Cannot create group shop' => 'গ্রুপ শপ তৈরি করা যাবে না',
|
||||
'Cannot create shop' => 'দোকান তৈরি করা যাবে না',
|
||||
'Cannot create shop URL' => 'দোকান URL তৈরি করা যাবে না',
|
||||
'File "language.xml" not found for language iso "%s"' => 'আইএসও "%s" এর জন্য "language.xml" ফাইলটি পাওয়া যায়নি',
|
||||
'File "language.xml" not valid for language iso "%s"' => '"language.xml" ফাইলটি iso "%s" ভাষার জন্য বৈধ নয়',
|
||||
'Cannot install language "%s"' => '"%s" ভাষা ইনস্টল করা যাচ্ছে না',
|
||||
'Cannot copy flag language "%s"' => 'পতাকা ভাষা "%s" অনুলিপি করা যাবে না',
|
||||
'Cannot create admin account' => 'অ্যাডমিন অ্যাকাউন্ট তৈরি করা যাবে না',
|
||||
'Cannot install module "%s"' => 'মডিউল "%s" ইনস্টল করা যাবে না',
|
||||
'Fixtures class "%s" not found' => 'ফিক্সচার ক্লাস "%s" পাওয়া যায়নি',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" অবশ্যই "InstallXmlLoader" এর একটি উদাহরণ হতে হবে',
|
||||
'Information about your Website' => 'আপনার ওয়েবসাইট সম্পর্কে তথ্য',
|
||||
'Website name' => 'ওয়েবসাইটের নাম',
|
||||
'Main activity' => 'প্রধান কাজ',
|
||||
'Please choose your main activity' => 'আপনার প্রধান কার্যকলাপ চয়ন করুন',
|
||||
'Other activity...' => 'অন্যান্য কার্যকলাপ...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'আপনার দোকান সম্পর্কে আরও জানতে আমাদের সাহায্য করুন যাতে আমরা আপনাকে সর্বোত্তম দিকনির্দেশনা এবং আপনার ব্যবসার জন্য সেরা বৈশিষ্ট্যগুলি অফার করতে পারি!',
|
||||
'Install demo data' => 'ডেমো ডেটা ইনস্টল করুন',
|
||||
'Yes' => 'হ্যাঁ',
|
||||
'No' => 'না',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'আপনি যদি আগে এটি ব্যবহার না করে থাকেন তবে QloApps কীভাবে ব্যবহার করবেন তা শেখার জন্য ডেমো ডেটা ইনস্টল করা একটি ভাল উপায়। এই ডেমো ডেটা পরে মডিউল QloApps ডেটা ক্লিনার ব্যবহার করে মুছে ফেলা যেতে পারে যা এই ইনস্টলেশনের সাথে আগে থেকে ইনস্টল করা হয়।',
|
||||
'Country' => 'দেশ',
|
||||
'Select your country' => 'তোমার দেশ নির্বাচন কর',
|
||||
'Website timezone' => 'ওয়েবসাইট টাইমজোন',
|
||||
'Select your timezone' => 'আপনার টাইমজোন নির্বাচন করুন',
|
||||
'Enable SSL' => 'SSL সক্ষম করুন',
|
||||
'Shop logo' => 'দোকানের লোগো',
|
||||
'Optional - You can add you logo at a later time.' => 'ঐচ্ছিক - আপনি পরবর্তী সময়ে আপনার লোগো যোগ করতে পারেন।',
|
||||
'Your Account' => 'আপনার অ্যাকাউন্ট',
|
||||
'First name' => 'নামের প্রথম অংশ',
|
||||
'Last name' => 'নামের শেষাংশ',
|
||||
'E-mail address' => 'ই-মেইল ঠিকানা',
|
||||
'This email address will be your username to access your website\'s back office.' => 'এই ইমেল ঠিকানাটি আপনার ওয়েবসাইটের ব্যাক অফিস অ্যাক্সেস করার জন্য আপনার ব্যবহারকারীর নাম হবে।',
|
||||
'Password' => 'পাসওয়ার্ড',
|
||||
'Must be at least 8 characters' => 'কমপক্ষে 8টি অক্ষর হতে হবে',
|
||||
'Re-type to confirm' => 'নিশ্চিত করতে পুনরায় টাইপ করুন',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'আপনার দেওয়া তথ্য আমাদের দ্বারা সংগ্রহ করা হয় এবং ডেটা প্রক্রিয়াকরণ এবং পরিসংখ্যান সাপেক্ষে। বর্তমান "অ্যাক্ট অন ডেটা প্রসেসিং, ডেটা ফাইল এবং ব্যক্তিগত স্বাধীনতা" এর অধীনে আপনার এই <a href="%s" onclick="return !window.open এর মাধ্যমে আপনার ব্যক্তিগত ডেটা অ্যাক্সেস, সংশোধন এবং প্রক্রিয়াকরণের বিরোধিতা করার অধিকার রয়েছে৷ (this.href)">লিঙ্ক</a>।',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'আমি QloApps থেকে নিউজলেটার এবং প্রচারমূলক অফার পেতে সম্মত।',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'আপনি সর্বদা নতুন আপডেট, নিরাপত্তা সংশোধন এবং প্যাচের মত লেনদেন সংক্রান্ত ইমেল পাবেন, এমনকি যদি আপনি এই বিকল্পটি বেছে না নেন।',
|
||||
'Configure your database by filling out the following fields' => 'নিম্নলিখিত ক্ষেত্রগুলি পূরণ করে আপনার ডাটাবেস কনফিগার করুন',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'QloApps ব্যবহার করতে, আপনার ওয়েবসাইটের সমস্ত ডেটা-সম্পর্কিত কার্যকলাপ সংগ্রহ করতে আপনাকে অবশ্যই <a href="%1$s" target="_blank">একটি ডাটাবেস তৈরি করতে হবে</a>৷',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'আপনার ডাটাবেসের সাথে QloApps সংযোগ করার জন্য অনুগ্রহ করে নীচের ক্ষেত্রগুলি সম্পূর্ণ করুন৷',
|
||||
'Database server address' => 'ডাটাবেস সার্ভার ঠিকানা',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'ডিফল্ট পোর্ট হল 3306৷ একটি ভিন্ন পোর্ট ব্যবহার করতে, আপনার সার্ভারের ঠিকানার শেষে পোর্ট নম্বর যোগ করুন যেমন ":4242"৷',
|
||||
'Database name' => 'ডাটাবেসের নাম',
|
||||
'Database login' => 'ডাটাবেস লগইন',
|
||||
'Database password' => 'ডাটাবেস পাসওয়ার্ড',
|
||||
'Database Engine' => 'ডাটাবেস ইঞ্জিন',
|
||||
'Tables prefix' => 'সারণি উপসর্গ',
|
||||
'Drop existing tables (mode dev)' => 'বিদ্যমান টেবিল বাদ দিন (মোড ডেভ)',
|
||||
'Test your database connection now!' => 'এখন আপনার ডাটাবেস সংযোগ পরীক্ষা করুন!',
|
||||
'Next' => 'পরবর্তী',
|
||||
'Back' => 'পেছনে',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'আপনার যদি কিছু সহায়তার প্রয়োজন হয়, তাহলে আপনি আমাদের সহায়তা টিম থেকে <a href="%1$s" onclick="return !window.open(this.href);">উপযুক্ত সাহায্য পেতে পারেন</a>৷ <a href="%2$s" onclick="return !window.open(this.href);">অফিসিয়াল ডকুমেন্টেশন</a> এছাড়াও আপনাকে গাইড করতে এখানে রয়েছে৷',
|
||||
'Official forum' => 'অফিসিয়াল ফোরাম',
|
||||
'Support' => 'সমর্থন',
|
||||
'Documentation' => 'ডকুমেন্টেশন',
|
||||
'Contact us' => 'যোগাযোগ করুন',
|
||||
'QloApps Installation Assistant' => 'QloApps ইনস্টলেশন সহকারী',
|
||||
'Forum' => 'ফোরাম',
|
||||
'Blog' => 'ব্লগ',
|
||||
'menu_welcome' => 'আপনার ভাষা নির্বাচন করুন',
|
||||
'menu_license' => 'লাইসেন্স চুক্তি',
|
||||
'menu_system' => 'সিস্টেম সামঞ্জস্য',
|
||||
'menu_configure' => 'ওয়েবসাইট তথ্য',
|
||||
'menu_database' => 'সিস্টেম কনফিগারেশন',
|
||||
'menu_process' => 'QloApps ইনস্টলেশন',
|
||||
'Need Help?' => 'সাহায্য দরকার?',
|
||||
'Click here to Contact us' => 'আমাদের সাথে যোগাযোগ করতে এখানে ক্লিক করুন',
|
||||
'Installation' => 'স্থাপন',
|
||||
'See our Installation guide' => 'আমাদের ইনস্টলেশন গাইড দেখুন',
|
||||
'Tutorials' => 'টিউটোরিয়াল',
|
||||
'See our QloApps tutorials' => 'আমাদের QloApps টিউটোরিয়াল দেখুন',
|
||||
'Installation Assistant' => 'ইনস্টলেশন সহকারী',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'QloApps ইনস্টল করার জন্য, আপনার ব্রাউজারে JavaScript সক্রিয় থাকতে হবে।',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'লাইসেন্স চুক্তি',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'QloApps দ্বারা বিনামূল্যে অফার করা অনেক বৈশিষ্ট্য উপভোগ করতে, অনুগ্রহ করে নীচের লাইসেন্সের শর্তাবলী পড়ুন। QloApps কোর OSL 3.0 এর অধীনে লাইসেন্সপ্রাপ্ত, যখন মডিউল এবং থিমগুলি AFL 3.0 এর অধীনে লাইসেন্সপ্রাপ্ত।',
|
||||
'I agree to the above terms and conditions.' => 'আমি উপরের শর্তাবলীতে সম্মত।',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'আমি আমার কনফিগারেশন সম্পর্কে বেনামী তথ্য পাঠিয়ে সমাধানের উন্নতিতে অংশগ্রহণ করতে সম্মত।',
|
||||
'Done!' => 'সম্পন্ন!',
|
||||
'An error occurred during installation...' => 'ইনস্টলেশনের সময় একটি ত্রুটি ঘটেছে...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'আপনি পূর্ববর্তী ধাপে ফিরে যেতে বাম কলামের লিঙ্কগুলি ব্যবহার করতে পারেন, অথবা <a href="%s">এখানে ক্লিক করে</a> ইনস্টলেশন প্রক্রিয়া পুনরায় আরম্ভ করতে পারেন৷',
|
||||
'Suggested Modules' => 'প্রস্তাবিত মডিউল',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'আপনার আতিথেয়তা ব্যবসাকে সফল করতে QloApps Addons-এ সঠিক বৈশিষ্ট্যগুলি খুঁজুন।',
|
||||
'Discover All Modules' => 'সমস্ত মডিউল আবিষ্কার করুন',
|
||||
'Suggested Themes' => 'প্রস্তাবিত থিম',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'একটি রেডি-টু-ব্যবহারের টেমপ্লেট থিম সহ একটি ডিজাইন তৈরি করুন যা আপনার হোটেল এবং আপনার গ্রাহকদের জন্য উপযুক্ত।',
|
||||
'Discover All Themes' => 'সব থিম আবিষ্কার করুন',
|
||||
'Your installation is finished!' => 'আপনার ইনস্টলেশন সমাপ্ত!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'আপনি সবেমাত্র QloApps ইনস্টল করা শেষ করেছেন। QloApps ব্যবহার করার জন্য আপনাকে ধন্যবাদ!',
|
||||
'Please remember your login information:' => 'আপনার লগইন তথ্য মনে রাখবেন:',
|
||||
'E-mail' => 'ই-মেইল',
|
||||
'Print my login information' => 'আমার লগইন তথ্য প্রিন্ট করুন',
|
||||
'Display' => 'প্রদর্শন',
|
||||
'For security purposes, you must delete the "install" folder.' => 'নিরাপত্তার উদ্দেশ্যে, আপনাকে অবশ্যই "ইনস্টল" ফোল্ডারটি মুছে ফেলতে হবে।',
|
||||
'Back Office' => 'ব্যাক অফিস',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'আপনার ব্যাক অফিস ব্যবহার করে আপনার ওয়েবসাইট পরিচালনা করুন। আপনার অর্ডার এবং গ্রাহকদের পরিচালনা করুন, মডিউল যোগ করুন, থিম পরিবর্তন করুন ইত্যাদি।',
|
||||
'Manage Your Website' => 'আপনার ওয়েবসাইট পরিচালনা করুন',
|
||||
'Front Office' => 'ফ্রন্ট অফিস',
|
||||
'Discover your website as your future customers will see it!' => 'আপনার ভবিষ্যত গ্রাহকরা এটি দেখতে পাবেন হিসাবে আপনার ওয়েবসাইট আবিষ্কার করুন!',
|
||||
'Discover Your Website' => 'আপনার ওয়েবসাইট আবিষ্কার করুন',
|
||||
'Share your experience with your friends!' => 'আপনার বন্ধুদের সাথে আপনার অভিজ্ঞতা শেয়ার করুন!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'আমি এইমাত্র QloApps দিয়ে একটি অনলাইন হোটেল বুকিং ওয়েবসাইট তৈরি করেছি!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'এখানে সমস্ত বৈশিষ্ট্য দেখুন: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'টুইট',
|
||||
'Share' => 'শেয়ার করুন',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'লিঙ্কডইন',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'আমরা বর্তমানে আপনার সিস্টেম পরিবেশের সাথে QloApps সামঞ্জস্যতা পরীক্ষা করছি',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'আপনার যদি কোনো প্রশ্ন থাকে, অনুগ্রহ করে আমাদের <a href="%1$s" target="_blank">ডকুমেন্টেশন</a> এবং <a href="%2$s" target="_blank">কমিউনিটি ফোরামে যান৷ /a>',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'আপনার সিস্টেম পরিবেশের সাথে QloApps সামঞ্জস্য যাচাই করা হয়েছে!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'উফ! অনুগ্রহ করে নীচের আইটেম(গুলি) সংশোধন করুন, এবং তারপর আপনার নতুন সিস্টেমের সামঞ্জস্য পরীক্ষা করতে "তথ্য রিফ্রেশ করুন" এ ক্লিক করুন৷',
|
||||
'Refresh these settings' => 'এই সেটিংস রিফ্রেশ করুন',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'QloApps চালানোর জন্য কমপক্ষে 128 MB মেমরির প্রয়োজন: অনুগ্রহ করে আপনার php.ini ফাইলে মেমরি_লিমিট নির্দেশিকা চেক করুন বা এই বিষয়ে আপনার হোস্ট প্রদানকারীর সাথে যোগাযোগ করুন।',
|
||||
'Welcome to the QloApps %s Installer' => 'QloApps %s ইনস্টলারে স্বাগতম',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'QloApps ইনস্টল করা দ্রুত এবং সহজ। মাত্র কয়েক মুহূর্তের মধ্যে, আপনি একটি সম্প্রদায়ের অংশ হয়ে উঠবেন। আপনি আপনার নিজের হোটেল বুকিং ওয়েবসাইট তৈরি করার পথে আছেন যা আপনি প্রতিদিন সহজেই পরিচালনা করতে পারেন।',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'আপনার যদি সাহায্যের প্রয়োজন হয়, <a href="%1$s" target="_blank">এই ছোট টিউটোরিয়ালটি দেখুন</a>, অথবা <a href="%2$s" target="_blank চেক করতে দ্বিধা করবেন না ">আমাদের ডকুমেন্টেশন</a>।',
|
||||
'Continue the installation in:' => 'এতে ইনস্টলেশন চালিয়ে যান:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'উপরের ভাষা নির্বাচন শুধুমাত্র ইনস্টলেশন সহকারীর জন্য প্রযোজ্য। QloApps ইনস্টল হয়ে গেলে, আপনি %dটির বেশি অনুবাদ থেকে আপনার ওয়েবসাইটের ভাষা বেছে নিতে পারেন, সবই বিনামূল্যে!',
|
||||
),
|
||||
);
|
||||
@@ -6,12 +6,12 @@
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>Denied</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>Completed</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
@@ -1,214 +1,227 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Ocorreu um erro SQL para a entidade <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Não foi possível criar imagem "%1$s" para a entidade "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Não foi possível criar imagem "%1$s" (permissão inválida na pasta "%2$s")',
|
||||
'Cannot create image "%s"' => 'Não foi possível criar imagem "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Erro SQL na consulta <i>%s</i>',
|
||||
'%s Login information' => '%s Informação de acesso',
|
||||
'Field required' => 'Campos obrigatórios',
|
||||
'Invalid shop name' => 'Nome da loja inválido',
|
||||
'The field %s is limited to %d characters' => 'O campo %s está limitado a %d caracteres',
|
||||
'Your firstname contains some invalid characters' => 'Seu nome contém alguns caracteres inválidos',
|
||||
'Your lastname contains some invalid characters' => 'Seu sobrenome contém alguns caracteres inválidos',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'A senha é inválida (alfa-numéricos com pelo menos 8 caracteres)',
|
||||
'Password and its confirmation are different' => 'A senha original e sua confirmação são diferentes',
|
||||
'This e-mail address is invalid' => 'E-mail errado!',
|
||||
'Image folder %s is not writable' => 'A pasta de imagem %s não tem permissões de escrita',
|
||||
'An error occurred during logo copy.' => 'Ocorreu um erro durante a cópia do logotipo.',
|
||||
'An error occurred during logo upload.' => 'Um erro ocorreu durante o carregamento do logo',
|
||||
'Lingerie and Adult' => 'Lingerie e Adulto',
|
||||
'Animals and Pets' => 'Animais e Pets',
|
||||
'Art and Culture' => 'Arte e Cultura',
|
||||
'Babies' => 'Bebês',
|
||||
'Beauty and Personal Care' => 'Beleza e Cuidados Pessoais',
|
||||
'Cars' => 'Carros',
|
||||
'Computer Hardware and Software' => 'Informática',
|
||||
'Download' => 'Download',
|
||||
'Fashion and accessories' => 'Moda e acessórios',
|
||||
'Flowers, Gifts and Crafts' => 'Flores, Presentes e Artesanatos',
|
||||
'Food and beverage' => 'Alimentos e Bebidas ',
|
||||
'HiFi, Photo and Video' => 'HiFi, Foto e Vídeo',
|
||||
'Home and Garden' => 'Casa e Jardim',
|
||||
'Home Appliances' => 'Eletrodomésticos',
|
||||
'Jewelry' => 'Jóias',
|
||||
'Mobile and Telecom' => 'Celular e Telecomunicação',
|
||||
'Services' => 'Serviços',
|
||||
'Shoes and accessories' => 'Sapatos e acessórios',
|
||||
'Sports and Entertainment' => 'Esportes e Entretenimento',
|
||||
'Travel' => 'Viagens e Turismo',
|
||||
'Database is connected' => 'O banco de dados está conectado',
|
||||
'Database is created' => 'Banco de dados foi criado',
|
||||
'Cannot create the database automatically' => 'Não foi possível criar o banco de dados automaticamente',
|
||||
'Create settings.inc file' => 'Criando o arquivo settings.inc',
|
||||
'Create database tables' => 'Criando tabelas do banco de dados',
|
||||
'Create default shop and languages' => 'Criando a loja padrão e idiomas',
|
||||
'Populate database tables' => 'Preenchendo tabelas do banco de dados',
|
||||
'Configure shop information' => 'Configurando informações da loja',
|
||||
'Install demonstration data' => 'Instalando produtos de demonstração',
|
||||
'Install modules' => 'Instalando módulos',
|
||||
'Install Addons modules' => 'Instalando módulos do Addons',
|
||||
'Install theme' => 'Instalando o tema',
|
||||
'Required PHP parameters' => 'Parâmetros PHP obrigatórios',
|
||||
'PHP 5.1.2 or later is not enabled' => 'PHP 5.1.2 ou acima não está ativado',
|
||||
'Cannot upload files' => 'Não é possível enviar arquivos',
|
||||
'Cannot create new files and folders' => 'Nâo é possível criar novos arquivos e pastas',
|
||||
'GD library is not installed' => 'Biblioteca GD não está instalada',
|
||||
'MySQL support is not activated' => 'Suporte MySQL não está ativado',
|
||||
'Files' => 'Arquivos',
|
||||
'Not all files were successfully uploaded on your server' => 'Nem todos os arquivos foram carregados para o servidor com sucesso',
|
||||
'Permissions on files and folders' => 'Permissões em arquivos e pastas',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Permissões de gravação recursivas para usuário %1$s em %2$s',
|
||||
'Recommended PHP parameters' => 'Parâmetros PHP recomendados',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!' => 'Você está usando a versão do PHP %s. Em breve, a última versão suportada pelo PrestaShop será a 5.4. Para garantir que a sua loja estará pronta para futuras atualizações, recomendamos atualizar para a versão 5.4 agora!',
|
||||
'Cannot open external URLs' => 'Não é possível abrir URLs externas',
|
||||
'PHP register_globals option is enabled' => 'A opção PHP register_globals está ativa',
|
||||
'GZIP compression is not activated' => 'Compressão GZIP não está ativada',
|
||||
'Mcrypt extension is not enabled' => 'Extensão Mcrypt não está habilitada',
|
||||
'Mbstring extension is not enabled' => 'Extensão Mbstring não está habilitada',
|
||||
'PHP magic quotes option is enabled' => 'Opção PHP magic_quotes está habilitada',
|
||||
'Dom extension is not loaded' => 'Extensão Dom não está carregada',
|
||||
'PDO MySQL extension is not loaded' => 'Extensão PDO MySQL não está carregada',
|
||||
'Server name is not valid' => 'Nome do servidor não é válido',
|
||||
'You must enter a database name' => 'Você precisa informar o nome do banco de dados',
|
||||
'You must enter a database login' => 'Você precisa informar o login do banco de dados',
|
||||
'Tables prefix is invalid' => 'O prefixo das tabelas é inválido',
|
||||
'Cannot convert database data to utf-8' => 'Não é possível converter as informações do banco de dados para utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Pelo menos uma tabela com mesmo prefixo já foi encontrada, por favor, mude seu prefixo ou exclua o seu banco de dados',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Os valores de "auto_increment " e "offset" devem ser definidos como 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'O servidor do banco de dados não foi encontrado. Por favor, verifique os campos de login, senha e servidor',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'A conexão para o servidor MySQL foi realizada com sucesso, mas o banco de dados "%s" não foi encontrado',
|
||||
'Attempt to create the database automatically' => 'Tentativa de criar o banco de dados automaticamente',
|
||||
'%s file is not writable (check permissions)' => 'O arquivo %s não pode ser escrito (verifique permissões)',
|
||||
'%s folder is not writable (check permissions)' => 'A pasta %s não pode ser escrita (verifique permissões)',
|
||||
'Cannot write settings file' => 'Não foi possível gravar o arquivo de configurações',
|
||||
'Database structure file not found' => 'Arquivo de estrutura do banco de dados não encontrado',
|
||||
'Cannot create group shop' => 'Não foi possível criar o grupo da loja',
|
||||
'Cannot create shop' => 'Não foi possível criar a loja',
|
||||
'Cannot create shop URL' => 'Não foi possível criar a URL da loja',
|
||||
'File "language.xml" not found for language iso "%s"' => 'O arquivo "language.xml" não foi encontrado para o idioma iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'O arquivo "language.xml" não é válido para o idioma iso "%s"',
|
||||
'Cannot install language "%s"' => 'Não foi possível instalar o idioma "%s"',
|
||||
'Cannot copy flag language "%s"' => 'Não foi possível copiar a bandeira do idioma "%s" ',
|
||||
'Cannot create admin account' => 'Não foi possível criar a conta de administrador',
|
||||
'Cannot install module "%s"' => 'Não foi possível instalar o módulo "%s"',
|
||||
'Fixtures class "%s" not found' => 'A classe fixtures "%s" não foi encontrada',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" deve ser uma instância de "InstallXmlLoader"',
|
||||
'Information about your Store' => 'Informação sobre sua Loja',
|
||||
'Shop name' => 'Nome da loja',
|
||||
'Main activity' => 'Atividade Principal',
|
||||
'Please choose your main activity' => 'Por favor escolha sua atividade principal',
|
||||
'Other activity...' => 'Outra atividade...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Nos ajude a conhecer mais sobre a sua loja para que possamos oferecer melhor orientações e ótimos recursos para o seu negócio!',
|
||||
'Install demo products' => 'Instalar produtos de demonstração',
|
||||
'Yes' => 'Sim',
|
||||
'No' => 'Não',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'Produtos de demonstração são uma boa maneira de aprender como usar o PrestaShop. Você deve instalá-los se você não estiver familiarizado com a plataforma.',
|
||||
'Country' => 'País',
|
||||
'Select your country' => 'Selecione seu país',
|
||||
'Shop timezone' => 'Fuso horário da loja',
|
||||
'Select your timezone' => 'Selecione o seu fuso horário',
|
||||
'Shop logo' => 'Logotipo da loja',
|
||||
'Optional - You can add you logo at a later time.' => 'Opcional – Você pode adicionar o seu logo mais tarde.',
|
||||
'Your Account' => 'Sua Conta',
|
||||
'First name' => 'Nome',
|
||||
'Last name' => 'Sobrenome',
|
||||
'E-mail address' => 'E-mail',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Este e-mail será seu nome de usuário para acessar a área administrativa da sua loja.',
|
||||
'Shop password' => 'Senha da loja',
|
||||
'Must be at least 8 characters' => 'Mínimo de 8 caracteres',
|
||||
'Re-type to confirm' => 'Digite novamente para confirmar',
|
||||
'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'Todas as informações que você nos dá são coletadas e sujeitas ao processamento de dados estatísticos, elas são necessárias para os membros da empresa PrestaShop responderem ás suas demandas e necessidades. Seus dados pessoais podem ser informados para parceiros e prestadores de serviços com relacionamento com o PrestaShop . Sob o documento atual "Act on Data Processing, Data Files and Individual Liberties" você tem o direito de acessar, corrigir e se opor acessando este <a href="%s" onclick="return !window.open(this.href)">link</a>.',
|
||||
'Configure your database by filling out the following fields' => 'Configure o seu banco de dados preenchendo os seguintes campos',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'Para usar o PrestaShop, você deve <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target = "_blank"> criar um banco de dados </a> para coletar todas as atividades relacionadas aos dados de sua loja.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Por favor, complete os campos abaixo para que o PrestaShop possa se conectar ao seu banco de dados.',
|
||||
'Database server address' => 'Endereço do servidor do banco de dados',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'A porta padrão é 3306. Para usar uma porta diferente, adicione o número da porta no final do endereço do seu servidor, por exemplo “:4242”.',
|
||||
'Database name' => 'Nome do banco de dados',
|
||||
'Database login' => 'Login do banco de dados',
|
||||
'Database password' => 'Senha do banco de dados',
|
||||
'Database Engine' => 'Motor da base de dados',
|
||||
'Tables prefix' => 'Prefixo das tabelas',
|
||||
'Drop existing tables (mode dev)' => 'Excluir as tabelas existentes (mode dev)',
|
||||
'Test your database connection now!' => 'Teste a conexão do seu banco de dados agora!',
|
||||
'Next' => 'Próximo',
|
||||
'Back' => 'Voltar',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Se precisar de assistência, você pode <a href="%1$s" onclick="return !window.open(this.href);">obter ajuda personalizada</a> da nossa equipe de suporte. <a href="%2$s" onclick="return !window.open(this.href);">A documentação oficial</a> também pode lhe ajudar.',
|
||||
'Official forum' => 'Fórum oficial',
|
||||
'Support' => 'Suporte',
|
||||
'Documentation' => 'Documentação',
|
||||
'Contact us' => 'Fale conosco',
|
||||
'PrestaShop Installation Assistant' => 'Assistente de Instalação do PrestaShop',
|
||||
'Forum' => 'Fórum',
|
||||
'Blog' => 'Blog',
|
||||
'Contact us!' => 'Fale conosco!',
|
||||
'menu_welcome' => 'Escolha seu idioma',
|
||||
'menu_license' => 'Acordo de licença',
|
||||
'menu_system' => 'Compatibilidade do Sistema',
|
||||
'menu_configure' => 'Informações da Loja',
|
||||
'menu_database' => 'Configuração do sistema',
|
||||
'menu_process' => 'Instalação da Loja',
|
||||
'Installation Assistant' => 'Assistente de Instalação',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Para instalar o PrestaShop, você precisa ter JavaScript ativado no seu navegador',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/pt/',
|
||||
'License Agreements' => 'Acordo de licença',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Para aproveitar os muitos recursos que são oferecidos gratuitamente pelo PrestaShop, por favor, leia os termos de licença abaixo. O núcleo do PrestaShop é licenciado sob OSL 3.0, enquanto os módulos e temas são licenciados sob AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Eu concordo com os termos e condições acima.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Eu concordo em participar na melhoria da solução enviando informações anônimas sobre a minha configuração.',
|
||||
'Done!' => 'Pronto!',
|
||||
'An error occurred during installation...' => 'Ocorreu um erro durante a instalação...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Você pode usar os links da coluna da esquerda para voltar às etapas anteriores, ou reiniciar o processo de instalação <a href="%s">clicando aqui</a>.',
|
||||
'Your installation is finished!' => 'Sua instalação está completa!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Você acabou de terminar de instalar sua loja. Obrigado por utilizar o PrestaShop!',
|
||||
'Please remember your login information:' => 'Por favor, memorize suas informações de acesso:',
|
||||
'E-mail' => 'Email',
|
||||
'Print my login information' => 'Imprimir meus dados de acesso',
|
||||
'Password' => 'Senha',
|
||||
'Display' => 'Exibir',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Por questões de segurança, você deve apagar a pasta "install".',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'Área Administrativa',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Gerencie sua loja usando sua Área Administrativa. Gerencie seus pedidos e clientes, adicione módulos, mude temas, etc...',
|
||||
'Manage your store' => 'Gerencie sua loja',
|
||||
'Front Office' => 'Loja',
|
||||
'Discover your store as your future customers will see it!' => 'Conheça a sua loja como seus futuros clientes vão vê-la!',
|
||||
'Discover your store' => 'Conheça sua loja',
|
||||
'Share your experience with your friends!' => 'Compartilhe sua experiência com seus amigos!',
|
||||
'I just built an online store with PrestaShop!' => 'Acabei de construir uma loja online com o PrestaShop!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Assista a esta experiência emocionante: http://vimeo.com/89298199',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Compartilhar',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'Explore os módulos adicionais (Addons) do Prestashop para acrescentar algo mais à sua loja!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'Neste momento, nós estamos verificando a compatibilidade do PrestaShop com seu ambiente de sistema',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Se você tiver alguma dúvida, por favor visite nossa <a href="%1$s" target="_blank">documentação</a> e nosso <a href="%2$s" target="_blank">fórum da comunidade</a>.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'A compatibilidade do PrestaShop com seu ambiente de sistema foi verificada!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Ops! Por favor corrija os itens abaixo, e depois clique “Atualizar Informações” para testar a compatibilidade do seu novo sistema.',
|
||||
'Refresh these settings' => 'Atualizar estas configurações',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'PrestaShop requer ao menos 32 MB para ser executado: por favor, verifique a diretiva memory_limit no seu arquivo php.ini ou contate seu provedor de hospedagem a respeito.',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Atenção: Você não pode mais usar essa ferramenta para atualizar sua loja.</b><br /><br />Você já tem <b>a versão %1$s do PrestaShop instalada.</b><br /><br />Se você deseja atualizar para a versão mais recente, por favor leia nossa documentação: <a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'Bem-vindo ao Instalador do PrestaShop %s',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 230,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'A instalação do PrestaShop é rápida e simples. Dentro de apenas alguns momentos, você fará parte de uma comunidade com mais de 230.000 lojistas. Você está prestes a criar a sua loja online que pode sr gerenciada facilmente todos os dias.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Se necessitar de ajuda, não hesite em <a href="%1$s" target="_blank">ver este breve tutorial</a>, ou a <a href="%2$s" target="_blank">nossa documentação</a>.',
|
||||
'Continue the installation in:' => 'Continue a instalação em:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'A seleção de idioma acima é válida somente para o Assistente de Instalação. Uma vez que a loja for instalada, você pode escolher o idioma da sua loja entre mais de %d traduções disponíveis, totalmente grátis!',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'A instalação do PrestaShop é rápida e simples. Dentro de apenas alguns momentos, você fará parte de uma comunidade com mais de 250.000 lojistas. Você está prestes a criar a sua loja online que pode sr gerenciada facilmente todos os dias.',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Ocorreu um erro SQL para a entidade <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Não foi possível criar a imagem "%1$s" para a entidade "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Não é possível criar a imagem "%1$s" (permissões incorretas na pasta "%2$s")',
|
||||
'Cannot create image "%s"' => 'Não é possível criar a imagem "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Erro SQL na consulta <i>%s</i>',
|
||||
'%s Login information' => '%s Informações de login',
|
||||
'Field required' => 'Campo requerido',
|
||||
'Invalid shop name' => 'Nome da loja inválido',
|
||||
'The field %s is limited to %d characters' => 'O campo %s está limitado a %d caracteres',
|
||||
'Your firstname contains some invalid characters' => 'Seu primeiro nome contém alguns caracteres inválidos',
|
||||
'Your lastname contains some invalid characters' => 'Seu sobrenome contém alguns caracteres inválidos',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'A senha está incorreta (sequência alfanumérica com pelo menos 8 caracteres)',
|
||||
'Password and its confirmation are different' => 'A senha e sua confirmação são diferentes',
|
||||
'This e-mail address is invalid' => 'Este endereço de e-mail é inválido',
|
||||
'Image folder %s is not writable' => 'A pasta de imagens %s não é gravável',
|
||||
'An error occurred during logo copy.' => 'Ocorreu um erro durante a cópia do logotipo.',
|
||||
'An error occurred during logo upload.' => 'Ocorreu um erro durante o upload do logotipo.',
|
||||
'Lingerie and Adult' => 'Lingerie e Adulto',
|
||||
'Animals and Pets' => 'Animais e animais de estimação',
|
||||
'Art and Culture' => 'Arte e Cultura',
|
||||
'Babies' => 'Bebês',
|
||||
'Beauty and Personal Care' => 'Beleza e cuidados pessoais',
|
||||
'Cars' => 'Carros',
|
||||
'Computer Hardware and Software' => 'Hardware e software de computador',
|
||||
'Download' => 'Download',
|
||||
'Fashion and accessories' => 'Moda e acessórios',
|
||||
'Flowers, Gifts and Crafts' => 'Flores, presentes e artesanato',
|
||||
'Food and beverage' => 'Alimentos e bebidas',
|
||||
'HiFi, Photo and Video' => 'HiFi, Foto e Vídeo',
|
||||
'Home and Garden' => 'Casa e Jardim',
|
||||
'Home Appliances' => 'Eletrodomésticos',
|
||||
'Jewelry' => 'Joia',
|
||||
'Mobile and Telecom' => 'Móvel e Telecomunicações',
|
||||
'Services' => 'Serviços',
|
||||
'Shoes and accessories' => 'Sapatos e acessórios',
|
||||
'Sports and Entertainment' => 'Esportes e Entretenimento',
|
||||
'Travel' => 'Viagem',
|
||||
'Database is connected' => 'O banco de dados está conectado',
|
||||
'Database is created' => 'Banco de dados é criado',
|
||||
'Cannot create the database automatically' => 'Não é possível criar o banco de dados automaticamente',
|
||||
'Create settings.inc file' => 'Crie o arquivo settings.inc',
|
||||
'Create database tables' => 'Criar tabelas de banco de dados',
|
||||
'Create default website and languages' => 'Crie sites e idiomas padrão',
|
||||
'Populate database tables' => 'Preencher tabelas de banco de dados',
|
||||
'Configure website information' => 'Configurar informações do site',
|
||||
'Install demonstration data' => 'Instalar dados de demonstração',
|
||||
'Install modules' => 'Instalar módulos',
|
||||
'Install Addons modules' => 'Instale módulos adicionais',
|
||||
'Install theme' => 'Instalar tema',
|
||||
'Required PHP parameters' => 'Parâmetros PHP necessários',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'A versão necessária do PHP está entre 5.6 e 7.4',
|
||||
'Cannot upload files' => 'Não é possível fazer upload de arquivos',
|
||||
'Cannot create new files and folders' => 'Não é possível criar novos arquivos e pastas',
|
||||
'GD library is not installed' => 'A biblioteca GD não está instalada',
|
||||
'PDO MySQL extension is not loaded' => 'A extensão PDO MySQL não está carregada',
|
||||
'Curl extension is not loaded' => 'A extensão Curl não está carregada',
|
||||
'SOAP extension is not loaded' => 'A extensão SOAP não está carregada',
|
||||
'SimpleXml extension is not loaded' => 'A extensão SimpleXml não está carregada',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'Na configuração do PHP, defina memory_limit para no mínimo 128M',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'Na configuração do PHP, defina max_execution_time para no mínimo 500',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'Na configuração do PHP, defina upload_max_filesize para no mínimo 16M',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'Não é possível abrir URLs externos (requer permitir_url_fopen como ativado).',
|
||||
'ZIP extension is not enabled' => 'A extensão ZIP não está ativada',
|
||||
'Files' => 'arquivos',
|
||||
'Not all files were successfully uploaded on your server' => 'Nem todos os arquivos foram carregados com sucesso no seu servidor',
|
||||
'Permissions on files and folders' => 'Permissões em arquivos e pastas',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Permissões de gravação recursivas para usuário %1$s em %2$s',
|
||||
'Recommended PHP parameters' => 'Parâmetros PHP recomendados',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'Você está usando a versão %s do PHP. Em breve, a versão mais recente do PHP suportada pelo QloApps será o PHP 5.6. Para ter certeza de que você está pronto para o futuro, recomendamos que você atualize para o PHP 5.6 agora!',
|
||||
'PHP register_globals option is enabled' => 'A opção PHP Register_globals está habilitada',
|
||||
'GZIP compression is not activated' => 'A compactação GZIP não está ativada',
|
||||
'Mbstring extension is not enabled' => 'A extensão Mbstring não está habilitada',
|
||||
'Dom extension is not loaded' => 'A extensão Dom não está carregada',
|
||||
'Server name is not valid' => 'O nome do servidor não é válido',
|
||||
'You must enter a database name' => 'Você deve inserir um nome de banco de dados',
|
||||
'You must enter a database login' => 'Você deve inserir um login de banco de dados',
|
||||
'Tables prefix is invalid' => 'O prefixo das tabelas é inválido',
|
||||
'Cannot convert database data to utf-8' => 'Não é possível converter dados do banco de dados para utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Pelo menos uma tabela com o mesmo prefixo já foi encontrada, altere seu prefixo ou elimine seu banco de dados',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Os valores de incremento e deslocamento de auto_increment devem ser definidos como 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Servidor de banco de dados não encontrado. Verifique os campos de login, senha e servidor',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'A conexão com o servidor MySQL foi bem-sucedida, mas o banco de dados "%s" não foi encontrado',
|
||||
'Attempt to create the database automatically' => 'Tentativa de criar o banco de dados automaticamente',
|
||||
'%s file is not writable (check permissions)' => 'O arquivo %s não é gravável (verifique as permissões)',
|
||||
'%s folder is not writable (check permissions)' => 'A pasta %s não é gravável (verifique as permissões)',
|
||||
'Cannot write settings file' => 'Não é possível gravar o arquivo de configurações',
|
||||
'Database structure file not found' => 'Arquivo de estrutura de banco de dados não encontrado',
|
||||
'Cannot create group shop' => 'Não é possível criar loja em grupo',
|
||||
'Cannot create shop' => 'Não é possível criar loja',
|
||||
'Cannot create shop URL' => 'Não é possível criar o URL da loja',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Arquivo "idioma.xml" não encontrado para o idioma iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'O arquivo "idioma.xml" não é válido para o idioma iso "%s"',
|
||||
'Cannot install language "%s"' => 'Não é possível instalar o idioma "%s"',
|
||||
'Cannot copy flag language "%s"' => 'Não é possível copiar o idioma da sinalização "%s"',
|
||||
'Cannot create admin account' => 'Não é possível criar conta de administrador',
|
||||
'Cannot install module "%s"' => 'Não é possível instalar o módulo "%s"',
|
||||
'Fixtures class "%s" not found' => 'Classe de luminárias "%s" não encontrada',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" deve ser uma instância de "InstallXmlLoader"',
|
||||
'Information about your Website' => 'Informações sobre o seu site',
|
||||
'Website name' => 'Nome do site',
|
||||
'Main activity' => 'Atividade principal',
|
||||
'Please choose your main activity' => 'Por favor escolha sua atividade principal',
|
||||
'Other activity...' => 'Outra atividade...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Ajude-nos a saber mais sobre sua loja para que possamos oferecer a melhor orientação e os melhores recursos para o seu negócio!',
|
||||
'Install demo data' => 'Instale dados de demonstração',
|
||||
'Yes' => 'Sim',
|
||||
'No' => 'Não',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'Instalar dados de demonstração é uma boa maneira de aprender como usar QloApps, caso você nunca tenha usado antes. Esses dados de demonstração podem ser apagados posteriormente usando o módulo QloApps Data Cleaner que vem pré-instalado com esta instalação.',
|
||||
'Country' => 'País',
|
||||
'Select your country' => 'Escolha o seu país',
|
||||
'Website timezone' => 'Fuso horário do site',
|
||||
'Select your timezone' => 'Selecione seu fuso horário',
|
||||
'Enable SSL' => 'Habilitar SSL',
|
||||
'Shop logo' => 'Logotipo da loja',
|
||||
'Optional - You can add you logo at a later time.' => 'Opcional - Você pode adicionar seu logotipo posteriormente.',
|
||||
'Your Account' => 'Sua conta',
|
||||
'First name' => 'Primeiro nome',
|
||||
'Last name' => 'Sobrenome',
|
||||
'E-mail address' => 'Endereço de email',
|
||||
'This email address will be your username to access your website\'s back office.' => 'Este endereço de e-mail será o seu nome de usuário para acessar o back office do seu site.',
|
||||
'Password' => 'Senha',
|
||||
'Must be at least 8 characters' => 'Deve ter pelo menos 8 caracteres',
|
||||
'Re-type to confirm' => 'Digite novamente para confirmar',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'As informações que você nos fornece são coletadas por nós e estão sujeitas a processamento de dados e estatísticas. De acordo com a atual "Lei sobre Processamento de Dados, Arquivos de Dados e Liberdades Individuais", você tem o direito de acessar, retificar e se opor ao processamento de seus dados pessoais através deste <a href="%s" onclick="return !window.open (this.href)">link</a>.',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'Concordo em receber a Newsletter e ofertas promocionais da QloApps.',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'Você sempre receberá e-mails transacionais como novas atualizações, correções de segurança e patches, mesmo que não opte por esta opção.',
|
||||
'Configure your database by filling out the following fields' => 'Configure seu banco de dados preenchendo os seguintes campos',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'Para usar QloApps, você deve <a href="%1$s" target="_blank">criar um banco de dados</a> para coletar todas as atividades relacionadas aos dados do seu site.',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'Preencha os campos abaixo para que o QloApps se conecte ao seu banco de dados.',
|
||||
'Database server address' => 'Endereço do servidor de banco de dados',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'A porta padrão é 3306. Para usar uma porta diferente, adicione o número da porta no final do endereço do seu servidor, ou seja, ":4242".',
|
||||
'Database name' => 'Nome do banco de dados',
|
||||
'Database login' => 'Login do banco de dados',
|
||||
'Database password' => 'Senha do banco de dados',
|
||||
'Database Engine' => 'Mecanismo de banco de dados',
|
||||
'Tables prefix' => 'Prefixo de tabelas',
|
||||
'Drop existing tables (mode dev)' => 'Eliminar tabelas existentes (modo dev)',
|
||||
'Test your database connection now!' => 'Teste sua conexão com o banco de dados agora!',
|
||||
'Next' => 'Próximo',
|
||||
'Back' => 'Voltar',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Se precisar de ajuda, você pode <a href="%1$s" onclick="return !window.open(this.href);">obter ajuda personalizada</a> de nossa equipe de suporte. <a href="%2$s" onclick="return !window.open(this.href);">A documentação oficial</a> também está aqui para orientá-lo.',
|
||||
'Official forum' => 'Fórum oficial',
|
||||
'Support' => 'Apoiar',
|
||||
'Documentation' => 'Documentação',
|
||||
'Contact us' => 'Contate-nos',
|
||||
'QloApps Installation Assistant' => 'Assistente de instalação QloApps',
|
||||
'Forum' => 'Fórum',
|
||||
'Blog' => 'Blogue',
|
||||
'menu_welcome' => 'Escolha seu idioma',
|
||||
'menu_license' => 'Contratos de licença',
|
||||
'menu_system' => 'Compatibilidade do sistema',
|
||||
'menu_configure' => 'Informações do site',
|
||||
'menu_database' => 'Configuração do sistema',
|
||||
'menu_process' => 'Instalação do QloApps',
|
||||
'Need Help?' => 'Preciso de ajuda?',
|
||||
'Click here to Contact us' => 'Clique aqui para entrar em contato conosco',
|
||||
'Installation' => 'Instalação',
|
||||
'See our Installation guide' => 'Veja nosso guia de instalação',
|
||||
'Tutorials' => 'Tutoriais',
|
||||
'See our QloApps tutorials' => 'Veja nossos tutoriais sobre QloApps',
|
||||
'Installation Assistant' => 'Assistente de instalação',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'Para instalar o QloApps, você precisa ter o JavaScript habilitado em seu navegador.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Contratos de licença',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Para aproveitar os diversos recursos oferecidos gratuitamente pelo QloApps, leia os termos de licença abaixo. O núcleo do QloApps é licenciado sob OSL 3.0, enquanto os módulos e temas são licenciados sob AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Concordo com os termos e condições acima.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Concordo em participar na melhoria da solução enviando informações anônimas sobre minha configuração.',
|
||||
'Done!' => 'Feito!',
|
||||
'An error occurred during installation...' => 'Ocorreu um erro durante a instalação...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Você pode usar os links na coluna da esquerda para voltar às etapas anteriores ou reiniciar o processo de instalação <a href="%s">clicando aqui</a>.',
|
||||
'Suggested Modules' => 'Módulos sugeridos',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'Encontre os recursos certos nos complementos QloApps para tornar seu negócio de hospitalidade um sucesso.',
|
||||
'Discover All Modules' => 'Descubra todos os módulos',
|
||||
'Suggested Themes' => 'Temas sugeridos',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'Crie um design adequado ao seu hotel e aos seus clientes, com um modelo de tema pronto para usar.',
|
||||
'Discover All Themes' => 'Descubra todos os temas',
|
||||
'Your installation is finished!' => 'Sua instalação está concluída!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'Você acabou de instalar o QloApps. Obrigado por usar QloApps!',
|
||||
'Please remember your login information:' => 'Lembre-se de suas informações de login:',
|
||||
'E-mail' => 'E-mail',
|
||||
'Print my login information' => 'Imprimir minhas informações de login',
|
||||
'Display' => 'Mostrar',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Por motivos de segurança, você deve excluir a pasta “instalar”.',
|
||||
'Back Office' => 'Backoffice',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Faça a gestão do seu site através do seu Back Office. Gerencie seus pedidos e clientes, adicione módulos, altere temas, etc.',
|
||||
'Manage Your Website' => 'Gerencie seu site',
|
||||
'Front Office' => 'Recepção',
|
||||
'Discover your website as your future customers will see it!' => 'Descubra o seu site como seus futuros clientes o verão!',
|
||||
'Discover Your Website' => 'Descubra o seu site',
|
||||
'Share your experience with your friends!' => 'Compartilhe sua experiência com seus amigos!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'Acabei de criar um site de reservas de hotéis online com QloApps!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'Veja todos os recursos aqui: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'Tuitar',
|
||||
'Share' => 'Compartilhar',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'No momento, estamos verificando a compatibilidade do QloApps com o ambiente do seu sistema',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Se você tiver alguma dúvida, visite nossa <a href="%1$s" target="_blank">documentação</a> e o <a href="%2$s" target="_blank">fórum da comunidade< /a>.',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'A compatibilidade do QloApps com o ambiente do seu sistema foi verificada!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Ops! Corrija os itens abaixo e clique em "Atualizar informações" para testar a compatibilidade do seu novo sistema.',
|
||||
'Refresh these settings' => 'Atualize essas configurações',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'QloApps requer pelo menos 128 MB de memória para ser executado: verifique a diretiva memory_limit em seu arquivo php.ini ou entre em contato com seu provedor de hospedagem sobre isso.',
|
||||
'Welcome to the QloApps %s Installer' => 'Bem-vindo ao instalador do QloApps %s',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'Instalar QloApps é rápido e fácil. Em apenas alguns momentos, você se tornará parte de uma comunidade. Você está prestes a criar seu próprio site de reservas de hotel, que poderá gerenciar facilmente todos os dias.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Se precisar de ajuda, não hesite em <a href="%1$s" target="_blank">assistir a este breve tutorial</a> ou confira <a href="%2$s" target="_blank ">nossa documentação</a>.',
|
||||
'Continue the installation in:' => 'Continue a instalação em:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'A seleção de idioma acima se aplica apenas ao Assistente de Instalação. Depois que o QloApps estiver instalado, você poderá escolher o idioma do seu site entre mais de %d traduções, tudo de graça!',
|
||||
),
|
||||
);
|
||||
@@ -1,214 +1,227 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Ha succeït un error d\'SQL per a l\'entitat <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'No es pot crear la imatge "%1$s" per a l\'entitat "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'No es pot crear la imatge "%1$s" (permisos inadequats a la carpeta "%2$s")',
|
||||
'Cannot create image "%s"' => 'No es pot crear la imatge "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Error d\'SQL a la consulta <i>%s</i>',
|
||||
'%s Login information' => '%s Informació d\'accés',
|
||||
'Field required' => 'Camp necessari',
|
||||
'Invalid shop name' => 'Nom de botiga no vàlid',
|
||||
'The field %s is limited to %d characters' => 'El camp %s està limitat a %d caràcters',
|
||||
'Your firstname contains some invalid characters' => 'El vostre nom conté caràcters no vàlids',
|
||||
'Your lastname contains some invalid characters' => 'El vostre nom conté caràcters no vàlids',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'La contrasenya és incorrecta (cal un mínim de 8 caràcters i alfanumèrics)',
|
||||
'Password and its confirmation are different' => 'La contrasenya i la seva confirmació són diferents',
|
||||
'This e-mail address is invalid' => 'Aquesta adreça de correu electrònic és incorrecta!',
|
||||
'Image folder %s is not writable' => 'No es pot escriure a la carpeta d\'imatges %s',
|
||||
'An error occurred during logo copy.' => 'Ha succeït un error mentre es copiava el logotip.',
|
||||
'An error occurred during logo upload.' => 'S\'ha produït un error mentre es pujava el logotip.',
|
||||
'Lingerie and Adult' => 'Llenceria i Adults',
|
||||
'Animals and Pets' => 'Animals i mascotes',
|
||||
'Art and Culture' => 'Art i Cultura',
|
||||
'Babies' => 'Canalla',
|
||||
'Beauty and Personal Care' => 'Bellesa i cura personal',
|
||||
'Cars' => 'Automòbils',
|
||||
'Computer Hardware and Software' => 'Maquinari i programari',
|
||||
'Download' => 'Descarregar',
|
||||
'Fashion and accessories' => 'Moda i accessoris',
|
||||
'Flowers, Gifts and Crafts' => 'Flors, Regals i Artesania',
|
||||
'Food and beverage' => 'Menjar i beguda',
|
||||
'HiFi, Photo and Video' => 'HIFI, Foto i Vídeo',
|
||||
'Home and Garden' => 'Casa i Jardí',
|
||||
'Home Appliances' => 'Electrodomèstics',
|
||||
'Jewelry' => 'Joieria',
|
||||
'Mobile and Telecom' => 'Telefonia i mòbils',
|
||||
'Services' => 'Serveis',
|
||||
'Shoes and accessories' => 'Sabates i accessoris',
|
||||
'Sports and Entertainment' => 'Esport i lleure',
|
||||
'Travel' => 'Viatges',
|
||||
'Database is connected' => 'S\'ha connectat la base de dades',
|
||||
'Database is created' => 'S\'ha creat la base de dades',
|
||||
'Cannot create the database automatically' => 'No es pot crear automàticament la base de dades',
|
||||
'Create settings.inc file' => 'El fitxer settings.inc s\'ha creat',
|
||||
'Create database tables' => 'Crea les taules de la base de dades',
|
||||
'Create default shop and languages' => 'Crea la botiga predeterminada i els idiomes',
|
||||
'Populate database tables' => 'Emplenar les taules de la base de dades',
|
||||
'Configure shop information' => 'Configurar la informació de la botiga',
|
||||
'Install demonstration data' => 'Instal·la dades de demostració',
|
||||
'Install modules' => 'Instal·la mòduls',
|
||||
'Install Addons modules' => 'Instal·la mòduls d\'Addons',
|
||||
'Install theme' => 'Instal·la el tema',
|
||||
'Required PHP parameters' => 'Paràmetres PHP necessaris',
|
||||
'PHP 5.1.2 or later is not enabled' => 'PHP 5.1.2 o superior no està habilitat',
|
||||
'Cannot upload files' => 'No es poden pujar fitxers',
|
||||
'Cannot create new files and folders' => 'No es poden crear els nous fitxers i carpetes',
|
||||
'GD library is not installed' => 'La llibreria GD no està instal·lada',
|
||||
'MySQL support is not activated' => 'El suport de MySQL no està activat',
|
||||
'Files' => 'Fitxers',
|
||||
'Not all files were successfully uploaded on your server' => 'No s\'han pujat bé tots els fitxers al servidor',
|
||||
'Permissions on files and folders' => 'Permisos de fitxers i carpetes',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Permisos recursius d\'escriptura per a l\'usuari %1$s a %2$s',
|
||||
'Recommended PHP parameters' => 'Paràmetres PHP recomanats',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!' => 'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!',
|
||||
'Cannot open external URLs' => 'No es poden obrir URL externs',
|
||||
'PHP register_globals option is enabled' => 'L\'opció de PHP register_globals és activa',
|
||||
'GZIP compression is not activated' => 'La compressió GZIP no està activada',
|
||||
'Mcrypt extension is not enabled' => 'L\'extensió Mcrypt no està activada',
|
||||
'Mbstring extension is not enabled' => 'L\'extensió Mbstring no està activada',
|
||||
'PHP magic quotes option is enabled' => 'L\'opció de PHP magic quotes està activada',
|
||||
'Dom extension is not loaded' => 'L\'extensió DOM no s\'ha carregat',
|
||||
'PDO MySQL extension is not loaded' => 'L\'extensió PDO de MySQL no està carregada',
|
||||
'Server name is not valid' => 'El nom del servidor no és vàlid',
|
||||
'You must enter a database name' => 'Cal que escriviu un nom per a la base de dades',
|
||||
'You must enter a database login' => 'Cal que escriviu un usuari per a la base de dades',
|
||||
'Tables prefix is invalid' => 'El prefix de les taules no és vàlid',
|
||||
'Cannot convert database data to utf-8' => 'No es pot convertir la base de dades en utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Com a mínim s\'ha trobat una taula amb el mateix prefix, si us plau canvieu el vostre prefix o elimineu la taula de la base de dades',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'El valor autoincremental d\'auto_increment ha d\'estar establert a 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'No es troba el servidor de bases de dades. Si us plau verifiqueu-ne l\'usuari, la contrasenya i els camps de servidor',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'S\'ha pogut connectar amb el servidor MySQL, però no es troba la base de dades "%s"',
|
||||
'Attempt to create the database automatically' => 'Intenta crear la base de dades automàticament',
|
||||
'%s file is not writable (check permissions)' => 'El fitxer %s no es pot escriure (verifiqueu-ne els permisos)',
|
||||
'%s folder is not writable (check permissions)' => 'La carpeta %s no es pot escriure (verifiqueu-ne els permisos)',
|
||||
'Cannot write settings file' => 'No es pot escriure el fitxer de configuració',
|
||||
'Database structure file not found' => 'El fitxer d\'estructura de la base de dades no s\'ha trobat',
|
||||
'Cannot create group shop' => 'No es pot crear un grup de botigues',
|
||||
'Cannot create shop' => 'No es pot crear la botiga',
|
||||
'Cannot create shop URL' => 'No es pot crear l\'URL de la botiga',
|
||||
'File "language.xml" not found for language iso "%s"' => 'El fitxer "language.xml" no es troba per a la llengua iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'El fitxer "language.xml" no es troba per a la llengua iso "%s"',
|
||||
'Cannot install language "%s"' => 'No es pot instal·lar la llengua "%s"',
|
||||
'Cannot copy flag language "%s"' => 'No es pot copiar la llengua de la bandera "%s"',
|
||||
'Cannot create admin account' => 'No es pot crear un compte d\'administrador',
|
||||
'Cannot install module "%s"' => 'No es pot instal·lar el mòdul "%s"',
|
||||
'Fixtures class "%s" not found' => 'La classe Fixtures "%s" no s\'ha pogut trobar',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" ha de ser una instància de "InstallXmlLoader"',
|
||||
'Information about your Store' => 'Informació sobre la vostra botiga',
|
||||
'Shop name' => 'Nom de la botiga',
|
||||
'Main activity' => 'Activitat principal',
|
||||
'Please choose your main activity' => 'Si us plau trieu la vostra activitat principal',
|
||||
'Other activity...' => 'Una altra activitat...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Ajudeu-nos a entendre més sobre la vostra botiga per tal d\'oferir-vos una orientació òptima i les millors prestacions per al vostre negoci!',
|
||||
'Install demo products' => 'Instal·lar productes de demostració',
|
||||
'Yes' => 'Sí',
|
||||
'No' => 'No',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'Els productes de demostració són un bon camí per conèixer com utilitzar PrestaShop. Només cal que els instal·leu si no esteu familiaritzats amb el programa.',
|
||||
'Country' => 'País',
|
||||
'Select your country' => 'Seleccioneu el vostre país',
|
||||
'Shop timezone' => 'Zona de data i hora de la vostra botiga',
|
||||
'Select your timezone' => 'Seleccioneu la vostra data i hora',
|
||||
'Shop logo' => 'Logotip de la botiga',
|
||||
'Optional - You can add you logo at a later time.' => 'Opcional - Podeu afegir el vostre logotip en un altre moment.',
|
||||
'Your Account' => 'El vostre compte',
|
||||
'First name' => 'Nom',
|
||||
'Last name' => 'Cognoms',
|
||||
'E-mail address' => 'Adreça electrónica',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Aquesta adreça electrònica serà el vostre nom d\'usuari per accedir a l\'Administració de la botiga.',
|
||||
'Shop password' => 'Contrasenya de la botiga',
|
||||
'Must be at least 8 characters' => 'Ha de tenir un mínim de 8 caràcters',
|
||||
'Re-type to confirm' => 'Reescriviu-la per confirmar-la',
|
||||
'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.',
|
||||
'Configure your database by filling out the following fields' => 'Configureu la vostra base de dades emplenant els camps següents',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'Per utilitzar PrestaShop, cal que <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">creeu una base de dades</a> per emmagatzemar totes les dades de les vostres botigues.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Si us plau completeu primer els camps en ordre per tal de connectar PrestaShop a la vostra base de dades. ',
|
||||
'Database server address' => 'Adreça del servidor de base de dades',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'El port predeterminat és el 3306. Si voleu utilitzar un port diferent, afegiu el número de port al final de l\'adreça, p.ex. ":4242".',
|
||||
'Database name' => 'Nom de la base de dades',
|
||||
'Database login' => 'Usuari de la base de dades',
|
||||
'Database password' => 'Contrasenya de la base de dades',
|
||||
'Database Engine' => 'Motor de base de dades',
|
||||
'Tables prefix' => 'Prefix de les taules',
|
||||
'Drop existing tables (mode dev)' => 'Esborrar les taules existents (mode dev)',
|
||||
'Test your database connection now!' => 'Comproveu ara la vostra connexió a la base de dades!',
|
||||
'Next' => 'Següent',
|
||||
'Back' => 'Enrera',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.',
|
||||
'Official forum' => 'Fòrum oficial',
|
||||
'Support' => 'Suport',
|
||||
'Documentation' => 'Documentació',
|
||||
'Contact us' => 'Contacteu-nos',
|
||||
'PrestaShop Installation Assistant' => 'Assistent d\'Instal·lació de PrestaShop',
|
||||
'Forum' => 'Fòrum',
|
||||
'Blog' => 'Blog',
|
||||
'Contact us!' => 'Contacteu-nos!',
|
||||
'menu_welcome' => 'Seleccioneu la vostra llengua',
|
||||
'menu_license' => 'Detalls de llicència',
|
||||
'menu_system' => 'Compatibilitat de Sistema',
|
||||
'menu_configure' => 'Informació sobre la botiga',
|
||||
'menu_database' => 'Configuració de Sistema',
|
||||
'menu_process' => 'Instal·lació de botiga',
|
||||
'Installation Assistant' => 'Assistent d\'Instal·lació',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Per tal d\'instal·lar PrestaShop, cal que tingueu habilitat JavaScript al vostre navegador.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Detalls de llicència',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Per gaudir de les prestacions que s\'ofereixen de franc per part de PrestaShop, si us plau llegiu-vos els detalls de la llicència. El codi de PrestaShop està llicenciat sota OSL 3.0, mentre que els mòduls i temes estan llicenciats sota AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Estic d\'acord amb tots els termes i condicions.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Estic d\'acord en participar en millorar la solució enviant informació anònima sobre la meva configuració.',
|
||||
'Done!' => 'Fet!',
|
||||
'An error occurred during installation...' => 'Ha succeït un error mentre es feia la instal·lació...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Podeu utilitzar els enllaços de la columna esquerra per tornar als passos anteriors, o tornar a començar el procés d\'instal·lació fent <a href="%s">clic aquí</a>.',
|
||||
'Your installation is finished!' => 'Ha finalitzat la vostra instal·lació!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Acabeu de finalitzar la instal·lació de la vostra botiga. Gràcies per utilitzar PrestaShop!',
|
||||
'Please remember your login information:' => 'Si us plau recordeu-vos de la vostra informació d\'accés:',
|
||||
'E-mail' => 'Adreça electrònica',
|
||||
'Print my login information' => 'Imprimir la meva informació d\'accés',
|
||||
'Password' => 'Contrasenya',
|
||||
'Display' => 'Mostrar',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Per raons de seguretat, cal que esborreu la carpeta "install".',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'Tauler d\'Administració',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Gestioneu la vostra botiga utilitzant el vostre Tauler d\'Administració. Gestiioneu les vostres comandes i clients, afegiu mòduls, canvieu temes, etc.',
|
||||
'Manage your store' => 'Gestioneu la vostra botiga',
|
||||
'Front Office' => 'Portal Públic',
|
||||
'Discover your store as your future customers will see it!' => 'Descobriu com els vostres clients veuran la vostra botiga!',
|
||||
'Discover your store' => 'Descobriu la vostra botiga',
|
||||
'Share your experience with your friends!' => 'Compartiu la vostra experiència amb els vostres amics!',
|
||||
'I just built an online store with PrestaShop!' => 'Ara he acabat de construir una botiga online amb PrestaShop!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Veieu una experiència estimulant: http://vimeo.com/89298199',
|
||||
'Tweet' => 'Tuit',
|
||||
'Share' => 'Compartir',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'Doneu un cop d\'ull als Addons de PrestaShop i afegiu extres a la vostra botiga!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'Estem comprovant la compatibilitat de la vostra botiga amb el vostre entorn de sistema',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Si teniu preguntes, si us plau visiteu la nostra <a href="%1$s" target="_blank">documentació</a> i el nostre <a href="%2$s" target="_blank">fòrum de comunitat</a>.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'La compatibilitat de PrestaShop amb el vostre entorn de sistema ha estat verificada!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Uuui! Si us plau corregiu primer els elements següents, i feu clic a "Refrescar informació" per tal de provar la compatibilitat del vostre nou sistema.',
|
||||
'Refresh these settings' => 'Refresqueu la configuració',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'PrestaShop requereix com a mínim 32MB de memòria per funcionar: si us plau comproveu la directiva memory_limit al vostre fitxer php.ini o contacteu amb el vostre proveïdor per solucionar-ho.',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Alerta: No es pot utilitzar més aquesta eina per actualitzar la vostra botiga.</b><br /><br />Ara teniu la <b>versió %1$s de PrestaShop instal·lada</b>.<br /><br />Si voleu actualitzar-vos a la darrera versió si us plau llegiu la documentació:<a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'Benvinguts a l\'instal·lador de Prestashop %s',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 230,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'La instal·lació de PrestaShop és ràpida i fàcil. En uns instants, formareu part d\'una comunitat formada per més de 230.000 comerciants. Ara esteu en el procés de crear la vostra pròpia botiga online, la qual gestionareu fàcilment dia a dia.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.',
|
||||
'Continue the installation in:' => 'Continuar la instal·lació a:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'La secció d\'idiomes anterior només s\'aplica a l\'Assistent d\'Instal·lació. Quan la vostra botiga estigui instal·lada, podeu triar la llengua de la vostra botiga entre més de %d traduccions, totes de franc!',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'La instal·lació de PrestaShop és ràpida i fàcil. En uns instants, formareu part d\'una comunitat formada per més de 250.000 comerciants. Ara esteu en el procés de crear la vostra pròpia botiga online, la qual gestionareu fàcilment dia a dia.',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'S\'ha produït un error SQL per a l\'entitat <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'No es pot crear la imatge "%1$s" per a l\'entitat "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'No es pot crear la imatge "%1$s" (permisos incorrectes a la carpeta "%2$s")',
|
||||
'Cannot create image "%s"' => 'No es pot crear la imatge "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Error SQL a la consulta <i>%s</i>',
|
||||
'%s Login information' => '%s Informació d\'inici de sessió',
|
||||
'Field required' => 'Camp obligatori',
|
||||
'Invalid shop name' => 'Nom de botiga no vàlid',
|
||||
'The field %s is limited to %d characters' => 'El camp %s està limitat a %d caràcters',
|
||||
'Your firstname contains some invalid characters' => 'El vostre nom conté alguns caràcters no vàlids',
|
||||
'Your lastname contains some invalid characters' => 'El teu cognom conté alguns caràcters no vàlids',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'La contrasenya és incorrecta (cadena alfanumèrica amb almenys 8 caràcters)',
|
||||
'Password and its confirmation are different' => 'La contrasenya i la seva confirmació són diferents',
|
||||
'This e-mail address is invalid' => 'Aquesta adreça de correu electrònic no és vàlida',
|
||||
'Image folder %s is not writable' => 'La carpeta d\'imatge %s no es pot escriure',
|
||||
'An error occurred during logo copy.' => 'S\'ha produït un error durant la còpia del logotip.',
|
||||
'An error occurred during logo upload.' => 'S\'ha produït un error durant la càrrega del logotip.',
|
||||
'Lingerie and Adult' => 'Llenceria i Adult',
|
||||
'Animals and Pets' => 'Animals i mascotes',
|
||||
'Art and Culture' => 'Art i Cultura',
|
||||
'Babies' => 'Nadons',
|
||||
'Beauty and Personal Care' => 'Bellesa i cura personal',
|
||||
'Cars' => 'Cotxes',
|
||||
'Computer Hardware and Software' => 'Maquinari i programari informàtic',
|
||||
'Download' => 'descarregar',
|
||||
'Fashion and accessories' => 'Moda i complements',
|
||||
'Flowers, Gifts and Crafts' => 'Flors, regals i manualitats',
|
||||
'Food and beverage' => 'Aliments i begudes',
|
||||
'HiFi, Photo and Video' => 'HiFi, foto i vídeo',
|
||||
'Home and Garden' => 'Casa i Jardí',
|
||||
'Home Appliances' => 'Electrodomèstics',
|
||||
'Jewelry' => 'Joieria',
|
||||
'Mobile and Telecom' => 'Mòbil i Telecomunicacions',
|
||||
'Services' => 'Serveis',
|
||||
'Shoes and accessories' => 'Calçat i complements',
|
||||
'Sports and Entertainment' => 'Esports i entreteniment',
|
||||
'Travel' => 'Viatjar',
|
||||
'Database is connected' => 'La base de dades està connectada',
|
||||
'Database is created' => 'Es crea la base de dades',
|
||||
'Cannot create the database automatically' => 'No es pot crear la base de dades automàticament',
|
||||
'Create settings.inc file' => 'Crea un fitxer settings.inc',
|
||||
'Create database tables' => 'Crear taules de bases de dades',
|
||||
'Create default website and languages' => 'Creeu un lloc web i idiomes predeterminats',
|
||||
'Populate database tables' => 'Omplir taules de bases de dades',
|
||||
'Configure website information' => 'Configura la informació del lloc web',
|
||||
'Install demonstration data' => 'Instal·leu dades de demostració',
|
||||
'Install modules' => 'Instal·lar mòduls',
|
||||
'Install Addons modules' => 'Instal·leu mòduls de complements',
|
||||
'Install theme' => 'Instal·leu el tema',
|
||||
'Required PHP parameters' => 'Paràmetres PHP necessaris',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'La versió de PHP necessària és entre la 5.6 i la 7.4',
|
||||
'Cannot upload files' => 'No es poden carregar fitxers',
|
||||
'Cannot create new files and folders' => 'No es poden crear fitxers i carpetes nous',
|
||||
'GD library is not installed' => 'La biblioteca GD no està instal·lada',
|
||||
'PDO MySQL extension is not loaded' => 'L\'extensió PDO MySQL no està carregada',
|
||||
'Curl extension is not loaded' => 'L\'extensió de curl no està carregada',
|
||||
'SOAP extension is not loaded' => 'L\'extensió SOAP no està carregada',
|
||||
'SimpleXml extension is not loaded' => 'L\'extensió SimpleXml no està carregada',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'A la configuració de PHP, establiu memory_limit com a mínim 128M',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'A la configuració de PHP, establiu max_execution_time com a mínim 500',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'A la configuració de PHP, configureu upload_max_filesize com a mínim 16M',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'No es poden obrir URL externs (requereix allow_url_fopen com a Activat).',
|
||||
'ZIP extension is not enabled' => 'L\'extensió ZIP no està activada',
|
||||
'Files' => 'Fitxers',
|
||||
'Not all files were successfully uploaded on your server' => 'No tots els fitxers s\'han penjat correctament al vostre servidor',
|
||||
'Permissions on files and folders' => 'Permisos sobre fitxers i carpetes',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Permisos d\'escriptura recursius per a l\'usuari de %1$s a %2$s',
|
||||
'Recommended PHP parameters' => 'Paràmetres PHP recomanats',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'Esteu utilitzant la versió de PHP %s. Aviat, la darrera versió de PHP compatible amb QloApps serà PHP 5.6. Per assegurar-vos que esteu preparat per al futur, us recomanem que actualitzeu ara a PHP 5.6!',
|
||||
'PHP register_globals option is enabled' => 'L\'opció PHP register_globals està activada',
|
||||
'GZIP compression is not activated' => 'La compressió GZIP no està activada',
|
||||
'Mbstring extension is not enabled' => 'L\'extensió Mbstring no està activada',
|
||||
'Dom extension is not loaded' => 'L\'extensió Dom no està carregada',
|
||||
'Server name is not valid' => 'El nom del servidor no és vàlid',
|
||||
'You must enter a database name' => 'Heu d\'introduir un nom de base de dades',
|
||||
'You must enter a database login' => 'Heu d\'introduir un inici de sessió a la base de dades',
|
||||
'Tables prefix is invalid' => 'El prefix de les taules no és vàlid',
|
||||
'Cannot convert database data to utf-8' => 'No es poden convertir les dades de la base de dades a utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Ja s\'ha trobat almenys una taula amb el mateix prefix, canvieu el vostre prefix o deixeu anar la base de dades',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Els valors d\'increment i offset auto_increment s\'han d\'establir a 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'No s\'ha trobat el servidor de bases de dades. Verifiqueu els camps d\'inici de sessió, contrasenya i servidor',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'La connexió al servidor MySQL s\'ha realitzat correctament, però no s\'ha trobat la base de dades "%s".',
|
||||
'Attempt to create the database automatically' => 'Intenteu crear la base de dades automàticament',
|
||||
'%s file is not writable (check permissions)' => 'El fitxer %s no es pot escriure (comproveu els permisos)',
|
||||
'%s folder is not writable (check permissions)' => 'La carpeta %s no es pot escriure (comproveu els permisos)',
|
||||
'Cannot write settings file' => 'No es pot escriure el fitxer de configuració',
|
||||
'Database structure file not found' => 'No s\'ha trobat el fitxer d\'estructura de la base de dades',
|
||||
'Cannot create group shop' => 'No es pot crear una botiga de grup',
|
||||
'Cannot create shop' => 'No es pot crear una botiga',
|
||||
'Cannot create shop URL' => 'No es pot crear l\'URL de la botiga',
|
||||
'File "language.xml" not found for language iso "%s"' => 'No s\'ha trobat el fitxer "language.xml" per a l\'idioma "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'El fitxer "language.xml" no és vàlid per a l\'idioma "%s"',
|
||||
'Cannot install language "%s"' => 'No es pot instal·lar l\'idioma "%s"',
|
||||
'Cannot copy flag language "%s"' => 'No es pot copiar l\'idioma de la bandera "%s"',
|
||||
'Cannot create admin account' => 'No es pot crear un compte d\'administrador',
|
||||
'Cannot install module "%s"' => 'No es pot instal·lar el mòdul "%s"',
|
||||
'Fixtures class "%s" not found' => 'No s\'ha trobat la classe d\'aparells "%s".',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" ha de ser una instància de "InstallXmlLoader"',
|
||||
'Information about your Website' => 'Informació sobre el vostre lloc web',
|
||||
'Website name' => 'Nom del lloc web',
|
||||
'Main activity' => 'Activitat principal',
|
||||
'Please choose your main activity' => 'Si us plau, trieu la vostra activitat principal',
|
||||
'Other activity...' => 'Altres activitats...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Ajuda\'ns a conèixer més sobre la teva botiga perquè puguem oferir-te una orientació òptima i les millors funcions per al teu negoci!',
|
||||
'Install demo data' => 'Instal·leu dades de demostració',
|
||||
'Yes' => 'Sí',
|
||||
'No' => 'No',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'La instal·lació de dades de demostració és una bona manera d\'aprendre a utilitzar QloApps si no les heu fet servir abans. Aquestes dades de demostració es poden esborrar més tard mitjançant el mòdul QloApps Data Cleaner que ve preinstal·lat amb aquesta instal·lació.',
|
||||
'Country' => 'País',
|
||||
'Select your country' => 'Seleccioneu el vostre país',
|
||||
'Website timezone' => 'Zona horària del lloc web',
|
||||
'Select your timezone' => 'Seleccioneu la vostra zona horària',
|
||||
'Enable SSL' => 'Activa SSL',
|
||||
'Shop logo' => 'Logotip de la botiga',
|
||||
'Optional - You can add you logo at a later time.' => 'Opcional: podeu afegir el vostre logotip més endavant.',
|
||||
'Your Account' => 'El teu compte',
|
||||
'First name' => 'Nom',
|
||||
'Last name' => 'Cognom',
|
||||
'E-mail address' => 'Correu electrònic',
|
||||
'This email address will be your username to access your website\'s back office.' => 'Aquesta adreça de correu electrònic serà el vostre nom d\'usuari per accedir al back office del vostre lloc web.',
|
||||
'Password' => 'Contrasenya',
|
||||
'Must be at least 8 characters' => 'Ha de tenir almenys 8 caràcters',
|
||||
'Re-type to confirm' => 'Torneu a escriure per confirmar',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'La informació que ens proporciona la recollim nosaltres i està subjecta a tractament de dades i estadístiques. En virtut de l\'actual "Llei sobre tractament de dades, fitxers de dades i llibertats individuals" teniu dret a accedir, rectificar i oposar-vos al tractament de les vostres dades personals a través d\'aquest <a href="%s" onclick="return !window.open (this.href)">enllaç</a>.',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'Accepto rebre el butlletí i les ofertes promocionals de QloApps.',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'Sempre rebràs correus electrònics transaccionals com ara actualitzacions noves, correccions de seguretat i pedaços, encara que no optis per aquesta opció.',
|
||||
'Configure your database by filling out the following fields' => 'Configureu la vostra base de dades omplint els camps següents',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'Per utilitzar QloApps, heu de <a href="%1$s" target="_blank">crear una base de dades</a> per recollir totes les activitats relacionades amb les dades del vostre lloc web.',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'Si us plau, ompliu els camps següents per tal que QloApps es connecti a la vostra base de dades.',
|
||||
'Database server address' => 'Adreça del servidor de bases de dades',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'El port predeterminat és 3306. Per utilitzar un port diferent, afegiu el número de port al final de l\'adreça del vostre servidor, és a dir, ":4242".',
|
||||
'Database name' => 'Nom de la base de dades',
|
||||
'Database login' => 'Inici de sessió a la base de dades',
|
||||
'Database password' => 'Contrasenya de la base de dades',
|
||||
'Database Engine' => 'Motor de base de dades',
|
||||
'Tables prefix' => 'Prefix de taules',
|
||||
'Drop existing tables (mode dev)' => 'Elimina les taules existents (mode dev)',
|
||||
'Test your database connection now!' => 'Proveu la connexió de la vostra base de dades ara!',
|
||||
'Next' => 'Pròxim',
|
||||
'Back' => 'esquena',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Si necessiteu ajuda, podeu <a href="%1$s" onclick="return !window.open(this.href);">obtenir ajuda personalitzada</a> del nostre equip d\'assistència. <a href="%2$s" onclick="return !window.open(this.href);">La documentació oficial</a> també està aquí per guiar-vos.',
|
||||
'Official forum' => 'Fòrum oficial',
|
||||
'Support' => 'Suport',
|
||||
'Documentation' => 'Documentació',
|
||||
'Contact us' => 'Contacta amb nosaltres',
|
||||
'QloApps Installation Assistant' => 'Assistent d\'instal·lació de QloApps',
|
||||
'Forum' => 'Fòrum',
|
||||
'Blog' => 'Bloc',
|
||||
'menu_welcome' => 'Tria el teu idioma',
|
||||
'menu_license' => 'Acords de llicència',
|
||||
'menu_system' => 'Compatibilitat del sistema',
|
||||
'menu_configure' => 'Informació del lloc web',
|
||||
'menu_database' => 'Configuració del sistema',
|
||||
'menu_process' => 'Instal·lació de QloApps',
|
||||
'Need Help?' => 'Necessitar ajuda?',
|
||||
'Click here to Contact us' => 'Feu clic aquí per contactar amb nosaltres',
|
||||
'Installation' => 'Instal·lació',
|
||||
'See our Installation guide' => 'Consulteu la nostra guia d\'instal·lació',
|
||||
'Tutorials' => 'Tutorials',
|
||||
'See our QloApps tutorials' => 'Consulteu els nostres tutorials de QloApps',
|
||||
'Installation Assistant' => 'Auxiliar d\'instal·lació',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'Per instal·lar QloApps, heu de tenir JavaScript habilitat al vostre navegador.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Acords de llicència',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Per gaudir de les nombroses funcions que QloApps ofereix de manera gratuïta, llegiu les condicions de llicència a continuació. El nucli de QloApps té llicència sota OSL 3.0, mentre que els mòduls i els temes tenen llicència sota AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Estic d\'acord amb els termes i condicions anteriors.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Accepto participar en la millora de la solució enviant informació anònima sobre la meva configuració.',
|
||||
'Done!' => 'Fet!',
|
||||
'An error occurred during installation...' => 'S\'ha produït un error durant la instal·lació...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Podeu utilitzar els enllaços de la columna de l\'esquerra per tornar als passos anteriors o reiniciar el procés d\'instal·lació <a href="%s">fent clic aquí</a>.',
|
||||
'Suggested Modules' => 'Mòduls suggerits',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'Trobeu les funcions adequades als complements de QloApps per fer que el vostre negoci d\'hostaleria sigui un èxit.',
|
||||
'Discover All Modules' => 'Descobriu tots els mòduls',
|
||||
'Suggested Themes' => 'Temes suggerits',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'Creeu un disseny que s\'adapti al vostre hotel i als vostres clients, amb un tema de plantilla llest per utilitzar.',
|
||||
'Discover All Themes' => 'Descobreix tots els temes',
|
||||
'Your installation is finished!' => 'La teva instal·lació s\'ha acabat!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'Acabeu d\'instal·lar QloApps. Gràcies per utilitzar QloApps!',
|
||||
'Please remember your login information:' => 'Recordeu la vostra informació d\'inici de sessió:',
|
||||
'E-mail' => 'Correu electrònic',
|
||||
'Print my login information' => 'Imprimeix la meva informació d\'inici de sessió',
|
||||
'Display' => 'Mostra',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Per motius de seguretat, heu d\'esborrar la carpeta "instal·lar".',
|
||||
'Back Office' => 'Back Office',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Gestioneu el vostre lloc web mitjançant el vostre Back Office. Gestioneu les vostres comandes i clients, afegiu mòduls, canvieu temes, etc.',
|
||||
'Manage Your Website' => 'Gestioneu el vostre lloc web',
|
||||
'Front Office' => 'Recepció',
|
||||
'Discover your website as your future customers will see it!' => 'Descobreix el teu lloc web tal com el veuran els teus futurs clients!',
|
||||
'Discover Your Website' => 'Descobriu el vostre lloc web',
|
||||
'Share your experience with your friends!' => 'Comparteix la teva experiència amb els teus amics!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'Acabo de crear un lloc web de reserves d\'hotels en línia amb QloApps!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'Consulteu totes les funcions aquí: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'Tuitejar',
|
||||
'Share' => 'Compartir',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'Actualment estem comprovant la compatibilitat de QloApps amb el vostre entorn del sistema',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Si teniu cap pregunta, visiteu la nostra <a href="%1$s" target="_blank">documentació</a> i el <a href="%2$s" target="_blank">fòrum de la comunitat< /a>.',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'S\'ha verificat la compatibilitat de QloApps amb el vostre entorn del sistema!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Vaja! Corregiu els elements següents i feu clic a "Actualitza la informació" per provar la compatibilitat del vostre nou sistema.',
|
||||
'Refresh these settings' => 'Actualitzeu aquests paràmetres',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'QloApps requereix almenys 128 MB de memòria per funcionar: si us plau, comproveu la directiva memory_limit al vostre fitxer php.ini o poseu-vos en contacte amb el vostre proveïdor d\'amfitrió.',
|
||||
'Welcome to the QloApps %s Installer' => 'Benvingut a l\'instal·lador de QloApps %s',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'La instal·lació de QloApps és ràpida i senzilla. En pocs moments, formaràs part d\'una comunitat. Esteu a punt de crear el vostre propi lloc web de reserves d\'hotel que podeu gestionar fàcilment cada dia.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Si necessiteu ajuda, no dubteu a <a href="%1$s" target="_blank">veure aquest breu tutorial</a> o bé a <a href="%2$s" target="_blank ">la nostra documentació</a>.',
|
||||
'Continue the installation in:' => 'Continueu la instal·lació a:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'La selecció d\'idioma anterior només s\'aplica a l\'Assistent d\'instal·lació. Un cop instal·lat QloApps, podeu triar l\'idioma del vostre lloc web entre més de %d traduccions, tot de franc!',
|
||||
),
|
||||
);
|
||||
@@ -145,10 +145,10 @@
|
||||
<url_rewrite>prodejny</url_rewrite>
|
||||
</meta>
|
||||
<meta id="order-opc" id_shop="1">
|
||||
<title>Objednávka</title>
|
||||
<title>Rychlá Objednávka</title>
|
||||
<description/>
|
||||
<keywords/>
|
||||
<url_rewrite>objednavka</url_rewrite>
|
||||
<url_rewrite>rychla-objednavka</url_rewrite>
|
||||
</meta>
|
||||
<meta id="guest-tracking" id_shop="1">
|
||||
<title>Sledování objednávky návštěvníka</title>
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<entity_order_return_state>
|
||||
<order_return_state id="Pending">
|
||||
<name>Pending</name>
|
||||
<name>čekající</name>
|
||||
<customer_template>order_refund_pending_customer</customer_template>
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>zamítnuto</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>Dokončeno</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
@@ -1,214 +1,227 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Došlo k chybě SQL entity <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Není možné vytvořit obrázek "%1$s" pro "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Není možné vytvořit obrázek "%1$s" (složka "%2$s" nemá nastavena potřebná práva)',
|
||||
'Cannot create image "%s"' => 'Není možné vytvořit obrázek "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Chyba SQL v dotazu <i>%s</i>',
|
||||
'%s Login information' => '%s Přihlašovací údaje',
|
||||
'Field required' => 'Povinné pole',
|
||||
'Invalid shop name' => 'Neplatné jméno obchodu',
|
||||
'The field %s is limited to %d characters' => 'Pole %s je omezeno %d znaky',
|
||||
'Your firstname contains some invalid characters' => 'Vaše křestní jméno obsahuje neplatné znaky',
|
||||
'Your lastname contains some invalid characters' => 'Vaše příjmení obsahuje neplatné znaky',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Nesprávné heslo (alfanumerický řetězec dlouhý minimálně 8 znaků)',
|
||||
'Password and its confirmation are different' => 'Heslo a potvrzení hesla se neshodují',
|
||||
'This e-mail address is invalid' => 'Tato e-mailová adresa je neplatná',
|
||||
'Image folder %s is not writable' => 'Složka s obrázky %s nemá práva na zápis',
|
||||
'An error occurred during logo copy.' => 'Došlo k chybě při kopírování loga.',
|
||||
'An error occurred during logo upload.' => 'Nastala chyba při nahrávání loga.',
|
||||
'Lingerie and Adult' => 'Spodní prádlo a pro dospělé',
|
||||
'Animals and Pets' => 'Zvířata a mazlíčci',
|
||||
'Art and Culture' => 'Umění a kultura',
|
||||
'Babies' => 'Pro děti',
|
||||
'Beauty and Personal Care' => 'Krása a osobní péče',
|
||||
'Cars' => 'Auta',
|
||||
'Computer Hardware and Software' => 'Počítače, hardware a software',
|
||||
'Download' => 'Ke stažení',
|
||||
'Fashion and accessories' => 'Móda a doplňky',
|
||||
'Flowers, Gifts and Crafts' => 'Květiny, dárky',
|
||||
'Food and beverage' => 'Potraviny a nápoje',
|
||||
'HiFi, Photo and Video' => 'HiFi, Foto a Video',
|
||||
'Home and Garden' => 'Dům a zahrada',
|
||||
'Home Appliances' => 'Domácí spotřebiče',
|
||||
'Jewelry' => 'Šperky',
|
||||
'Mobile and Telecom' => 'Mobily a telefony',
|
||||
'Services' => 'Služby',
|
||||
'Shoes and accessories' => 'Obuv a doplňky',
|
||||
'Sports and Entertainment' => 'Sport a zábava',
|
||||
'Travel' => 'Cestování',
|
||||
'Database is connected' => 'Databáze byla úspěšně připojena',
|
||||
'Database is created' => 'Databáze byla vytvořena',
|
||||
'Cannot create the database automatically' => 'Nelze vytvořit databázi automaticky',
|
||||
'Create settings.inc file' => 'Vytvářím soubor settings.inc',
|
||||
'Create database tables' => 'Vytvářím tabulky databáze',
|
||||
'Create default shop and languages' => 'Vytvářím obchod a jeho překlad',
|
||||
'Populate database tables' => 'Plním tabulky databáze',
|
||||
'Configure shop information' => 'Nastavuji informace o obchodě',
|
||||
'Install demonstration data' => 'Instaluji ukázková data',
|
||||
'Install modules' => 'Instaluji moduly',
|
||||
'Install Addons modules' => 'Instaluji doplňky k modulům',
|
||||
'Install theme' => 'Instaluji šablonu',
|
||||
'Required PHP parameters' => 'Požadované parametry PHP',
|
||||
'PHP 5.1.2 or later is not enabled' => 'Není nainstalováno PHP 5.1.2 nebo vyšší',
|
||||
'Cannot upload files' => 'Není možné nahrát soubory',
|
||||
'Cannot create new files and folders' => 'Není možné vytvořit nové složky a soubory',
|
||||
'GD library is not installed' => 'Knihovna GD není nainstalovaná',
|
||||
'MySQL support is not activated' => 'Podpora MySQL není aktivovaná',
|
||||
'Files' => 'Soubory',
|
||||
'Not all files were successfully uploaded on your server' => 'Nebyly nahrány všechny soubory na váš server',
|
||||
'Permissions on files and folders' => 'Práva k souborům a složkám',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Rekurzivní práva k zápisu pro %1$s použité na %2$s',
|
||||
'Recommended PHP parameters' => 'Doporučené parametry PHP',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!' => 'Používáte verzi PHP %s. Prosím aktualizujte na verzi PHP 5.4 nyní!',
|
||||
'Cannot open external URLs' => 'Není možné otevřít externí URL adresy',
|
||||
'PHP register_globals option is enabled' => 'PHP register_globals je povoleno',
|
||||
'GZIP compression is not activated' => 'GZIP komprese není aktivní',
|
||||
'Mcrypt extension is not enabled' => 'Mcrypt rozšíření není povoleno',
|
||||
'Mbstring extension is not enabled' => 'Mbstrings rozšíření není povoleno',
|
||||
'PHP magic quotes option is enabled' => 'PHP magic quotes není povoleno',
|
||||
'Dom extension is not loaded' => 'Dom rozšíření není načteno',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQL rozšíření není načteno',
|
||||
'Server name is not valid' => 'Název serveru je neplatný',
|
||||
'You must enter a database name' => 'Vložte název databáze',
|
||||
'You must enter a database login' => 'Vložte přihlašovací jméno do databáze',
|
||||
'Tables prefix is invalid' => 'Prefix tabulek je neplatný',
|
||||
'Cannot convert database data to utf-8' => 'Nelze převést databázová data na kódování utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Byla nalezena nejméně jedna tabulka se stejným prefixem, prosíme, změňte prefix nebo vymažte databázi',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Hodnota auto_increment musí být nastavena na 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Databázový server nenalezen. Zkontrolujte prosím pole login, heslo a server',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Připojení k databázi bylo úspěšné, ale databáze "%s" nebyla nalezena',
|
||||
'Attempt to create the database automatically' => 'Pokouším se vytvořit databázi automaticky',
|
||||
'%s file is not writable (check permissions)' => 'Soubor %s nemá práva pro zápis (zkontrolujte oprávnění)',
|
||||
'%s folder is not writable (check permissions)' => 'Složka %s nemá práva pro zápis (zkontrolujte oprávnění)',
|
||||
'Cannot write settings file' => 'Nelze zapisovat do konfiguračního souboru',
|
||||
'Database structure file not found' => 'Struktura databáze nebyla nalezena',
|
||||
'Cannot create group shop' => 'Nelze vytvořit skupinu obchodu',
|
||||
'Cannot create shop' => 'Není možné vytvořit obchod',
|
||||
'Cannot create shop URL' => 'Není možné vytvořit URL obchodu',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Soubor "language.xml" nebyl nalezen pro vaše iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Soubor "language.xml" není platný pro vaše iso "%s"',
|
||||
'Cannot install language "%s"' => 'Není možní nainstalovat jazyk "%s"',
|
||||
'Cannot copy flag language "%s"' => 'Není možné zkopírovat vlajku vašeho státu "%s"',
|
||||
'Cannot create admin account' => 'Není možné vytvořit účet administrátora',
|
||||
'Cannot install module "%s"' => 'Není možné nainstalovat modul "%s"',
|
||||
'Fixtures class "%s" not found' => 'Fixtures class "%s" nebyl nalezen',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" musí být instancí "InstallXmlLoader"',
|
||||
'Information about your Store' => 'Informace o Vašem eshopu',
|
||||
'Shop name' => 'Název obchodu',
|
||||
'Main activity' => 'Hlavní aktivita',
|
||||
'Please choose your main activity' => 'Prosíme, zvolte vaši hlavní aktivitu',
|
||||
'Other activity...' => 'ostatní aktivity...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Pomozte nám co nejvíce pochopit váš obchod a my vám poté nabídneme optimální funkce pro váš byznys!',
|
||||
'Install demo products' => 'Instalovat demo produkty',
|
||||
'Yes' => 'Ano',
|
||||
'No' => 'Ne',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'Demo produkty jsou dobré pro pochopení, jak používat PrestaShop. Můžete je nainstalovat pro lepší seznámení.',
|
||||
'Country' => 'Země',
|
||||
'Select your country' => 'Vyberte svou zemi',
|
||||
'Shop timezone' => 'Časové pásmo obchodu',
|
||||
'Select your timezone' => 'Vyberte vaše časové pásmo',
|
||||
'Shop logo' => 'Logo obchodu',
|
||||
'Optional - You can add you logo at a later time.' => 'Volitelné - logo můžete přidat i později.',
|
||||
'Your Account' => 'Váš účet',
|
||||
'First name' => 'Jméno',
|
||||
'Last name' => 'Příjmení',
|
||||
'E-mail address' => 'E-mailová adresa',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Tento email bude také vaše přihlašovací jméno do back office vašeho obchodu.',
|
||||
'Shop password' => 'Heslo',
|
||||
'Must be at least 8 characters' => 'Zvolte nejméně 8 znaků',
|
||||
'Re-type to confirm' => 'Zopakujte heslo pro potvrzení',
|
||||
'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'All information you give us is collected by us and is subject to data processing and statistics, it is necessary for the members of the PrestaShop company in order to respond to your requests. Your personal data may be communicated to service providers and partners as part of partner relationships. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.',
|
||||
'Configure your database by filling out the following fields' => 'Nastavte vaši databázi vyplněním následujících polí',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'Pro použití PrestaShopu musíte <a href="http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">vytvořit databázi</a>.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Prosíme, vyplňte pole níže, aby se mohl PrestaShop připojit do vaší databáze. ',
|
||||
'Database server address' => 'Adresa databázového serveru',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Výchozí port je 3306. Pokud používáte jiný port, zadejte ho na konec vaší adresy např.: "localhost:4242".',
|
||||
'Database name' => 'Název databáze',
|
||||
'Database login' => 'Přihlašovací jméno databáze',
|
||||
'Database password' => 'Heslo databáze',
|
||||
'Database Engine' => 'Databázový Engine',
|
||||
'Tables prefix' => 'Prefix tabulek',
|
||||
'Drop existing tables (mode dev)' => 'Vymazat existující tabulky (Vývojářský režim)',
|
||||
'Test your database connection now!' => 'Vyzkoušejte vaše spojení k databázi!',
|
||||
'Next' => 'Další',
|
||||
'Back' => 'Zpět',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Pokud potřebujete poradit<a href="%1$s" onclick="return !window.open(this.href);">podívejte se zde</a>. <a href="%2$s" onclick="return !window.open(this.href);">Dokumentace</a> .',
|
||||
'Official forum' => 'Oficiální forum',
|
||||
'Support' => 'Podpora',
|
||||
'Documentation' => 'Dokumentace',
|
||||
'Contact us' => 'Napište nám',
|
||||
'PrestaShop Installation Assistant' => 'PrestaShop instalační asistent',
|
||||
'Forum' => 'Fórum',
|
||||
'Blog' => 'Blog',
|
||||
'Contact us!' => 'Kontaktujte nás!',
|
||||
'menu_welcome' => 'Vyberte svůj jazyk',
|
||||
'menu_license' => 'Licenční podmínky',
|
||||
'menu_system' => 'Systémová kompatibilita',
|
||||
'menu_configure' => 'Informace o obchodu',
|
||||
'menu_database' => 'Systémová konfigurace',
|
||||
'menu_process' => 'Instalace obchodu',
|
||||
'Installation Assistant' => 'Instalační asistent',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Pro instalaci PrestaShopu musíte mít ve vašem prohlížeči aktivovaný JavaScript.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Licenční podmínky',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Pro využití mnoho funkcí, které jsou nabízeny zdarma PrestaShopem, prosíme, přečtěte si licenční podmínky níže. Jádro PrestaShopu je pod licencí OSL 3.0, zatímco moduly a šablony jsou pod licencí AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Souhlasím s podmínky výše.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Souhlasím s účastní na zdokonalování systému pomocí odeslání anonymních informací o moji konfiguraci.',
|
||||
'Done!' => 'Hotovo!',
|
||||
'An error occurred during installation...' => 'Při instalaci nastala chyba...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Můžete využít odkazy v levém sloupci pro návrat na předchozí krok nebo restartujte instalační proces <a href="%s">kliknutím zde</a>.',
|
||||
'Your installation is finished!' => 'Vaši instalace byla úspěšně dokončena!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Podařilo se vám dokončit instalaci vašeho eshopu. Děkujeme, že používáte PrestaShop!',
|
||||
'Please remember your login information:' => 'Prosíme, zapamatujte si vaše přihlašovací údaje:',
|
||||
'E-mail' => 'E-maily',
|
||||
'Print my login information' => 'Vytisknout moje přihlašovací údaje',
|
||||
'Password' => 'Heslo',
|
||||
'Display' => 'Zobrazit',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Z bezpečnostních důvodů musíte smazat složku s názvem "install".',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'Administrace (Back Office)',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Spravujte váš obchod prostřednictvím Back Office. Můžete spravovat vaše objednávky, zákazníky, přidávat moduly, měnit vzhled atd...',
|
||||
'Manage your store' => 'Spravovat obchod',
|
||||
'Front Office' => 'Front Office',
|
||||
'Discover your store as your future customers will see it!' => 'Prozkoumejte váš obchod stejně, jako jej uvidí vaši budoucí návštěvníci!',
|
||||
'Discover your store' => 'Prozkoumat obchod',
|
||||
'Share your experience with your friends!' => 'Sdílejte vaše zkušenosti s přáteli!',
|
||||
'I just built an online store with PrestaShop!' => 'Vytvořil jsem si nový obchod pomocí PrestaShopu!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Podívejte se na video: http://vimeo.com/89298199',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Sdílet',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'Podívejte se na PrestaShop Addony a přidejte něco speciálního do vašeho obchodu!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'V současné době kontrolujeme kompatibilitu PrestaShopu s vaším systémovým prostředím',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Pokud máte nějaké otázky, podívejte se na <a href="%1$s" target="_blank">dokumentaci</a> a <a href="%2$s" target="_blank">forum</a>.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'Kompatibilita PrestaShopu s vaším systémovým prostředím byla ověřena!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Oops! Prosíme, opravte položky níže a poté klikněte na "Aktualizovat informace" pro otestování kompatibility s vaším systémem.',
|
||||
'Refresh these settings' => 'Aktualizovat nastavení',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'PrestaShop vyžaduje nejměně 32 MB paměti. Prosím zkontrolujte memory_limit v php.ini nebo kontaktujte svého poskytovatele služeb.',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Varování: Není možné použít tohoto průvodce pro upgrade vašeho obchodu.</b><br /><br />Již máte <b> nainstalován PrestaShop verze %1$s</b>.<br /><br />Pokud chcete upgradovat na vyšší verzi, prosíme, přečtěte si dokumentaci: <a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'Vítejte v instalaci PrestaShop %s',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 230,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'Instalace PrestaShopu je rychlá a jednoduchá. Během chvilky se stanete součástí komunity čítající více než 230 000 prodejců. Jste na cestě k vytvoření vlastního eshopu, který můžete jednoduše spravovat každý den.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Pokud potřebujete poradit <a href="%1$s" target="_blank">podívejte se na tento tutoriál</a>, nebo do <a href="%2$s" target="_blank">dokumentace</a>.',
|
||||
'Continue the installation in:' => 'Pokračovat v instalaci v:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'Výběr jazyka výše slouží pouze pro Instalačního Asistenta. Jakmile bude váš obchod nainstalován, můžete si vybrat váš jazyk z více než %d překladů, zdarma!',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'Instalace PrestaShopu je rychlá a jednoduchá. Během chvilky se stanete součástí komunity čítající více než 250 000 prodejců. Jste na cestě k vytvoření vlastního eshopu, který můžete jednoduše spravovat každý den.',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'tutorials' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'installation_guide' => 'https://qloapps.com/qloapps-installation-process/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Došlo k chybě SQL pro entitu <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Nelze vytvořit obrázek „%1$s“ pro entitu „%2$s“',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Nelze vytvořit obrázek „%1$s“ (špatná oprávnění ke složce „%2$s“)',
|
||||
'Cannot create image "%s"' => 'Nelze vytvořit obrázek "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Chyba SQL v dotazu <i>%s</i>',
|
||||
'%s Login information' => '%s Přihlašovací údaje',
|
||||
'Field required' => 'Pole povinné',
|
||||
'Invalid shop name' => 'Neplatný název obchodu',
|
||||
'The field %s is limited to %d characters' => 'Pole %s je omezeno na %d znaků',
|
||||
'Your firstname contains some invalid characters' => 'Vaše křestní jméno obsahuje některé neplatné znaky',
|
||||
'Your lastname contains some invalid characters' => 'Vaše příjmení obsahuje některé neplatné znaky',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Heslo je nesprávné (alfanumerický řetězec s alespoň 8 znaky)',
|
||||
'Password and its confirmation are different' => 'Heslo a jeho potvrzení se liší',
|
||||
'This e-mail address is invalid' => 'Tato e-mailová adresa je neplatná',
|
||||
'Image folder %s is not writable' => 'Do složky obrázků %s nelze zapisovat',
|
||||
'An error occurred during logo copy.' => 'Při kopírování loga došlo k chybě.',
|
||||
'An error occurred during logo upload.' => 'Při nahrávání loga došlo k chybě.',
|
||||
'Lingerie and Adult' => 'Spodní prádlo a dospělé',
|
||||
'Animals and Pets' => 'Zvířata a mazlíčci',
|
||||
'Art and Culture' => 'Umění a kultura',
|
||||
'Babies' => 'Miminka',
|
||||
'Beauty and Personal Care' => 'Krása a osobní péče',
|
||||
'Cars' => 'Auta',
|
||||
'Computer Hardware and Software' => 'Počítačový hardware a software',
|
||||
'Download' => 'Stažení',
|
||||
'Fashion and accessories' => 'Móda a doplňky',
|
||||
'Flowers, Gifts and Crafts' => 'Květiny, dárky a řemesla',
|
||||
'Food and beverage' => 'Potravin a nápojů',
|
||||
'HiFi, Photo and Video' => 'HiFi, foto a video',
|
||||
'Home and Garden' => 'Dům a zahrada',
|
||||
'Home Appliances' => 'Domácí spotřebiče',
|
||||
'Jewelry' => 'Šperky',
|
||||
'Mobile and Telecom' => 'Mobil a Telecom',
|
||||
'Services' => 'Služby',
|
||||
'Shoes and accessories' => 'Boty a doplňky',
|
||||
'Sports and Entertainment' => 'Sport a zábava',
|
||||
'Travel' => 'Cestovat',
|
||||
'Database is connected' => 'Databáze je připojena',
|
||||
'Database is created' => 'Databáze je vytvořena',
|
||||
'Cannot create the database automatically' => 'Nelze vytvořit databázi automaticky',
|
||||
'Create settings.inc file' => 'Vytvořte soubor settings.inc',
|
||||
'Create database tables' => 'Vytvářejte databázové tabulky',
|
||||
'Create default website and languages' => 'Vytvořte výchozí web a jazyky',
|
||||
'Populate database tables' => 'Naplnění databázových tabulek',
|
||||
'Configure website information' => 'Nakonfigurujte informace o webu',
|
||||
'Install demonstration data' => 'Nainstalujte ukázková data',
|
||||
'Install modules' => 'Nainstalujte moduly',
|
||||
'Install Addons modules' => 'Nainstalujte moduly Addons',
|
||||
'Install theme' => 'Nainstalujte motiv',
|
||||
'Required PHP parameters' => 'Požadované parametry PHP',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'Požadovaná verze PHP je mezi 5.6 a 7.4',
|
||||
'Cannot upload files' => 'Nelze nahrávat soubory',
|
||||
'Cannot create new files and folders' => 'Nelze vytvářet nové soubory a složky',
|
||||
'GD library is not installed' => 'Knihovna GD není nainstalována',
|
||||
'PDO MySQL extension is not loaded' => 'Rozšíření PDO MySQL není načteno',
|
||||
'Curl extension is not loaded' => 'Curl extension není načten',
|
||||
'SOAP extension is not loaded' => 'Rozšíření SOAP není načteno',
|
||||
'SimpleXml extension is not loaded' => 'Rozšíření SimpleXml není načteno',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'V konfiguraci PHP nastavte memory_limit na minimum 128M',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'V konfiguraci PHP nastavte max_execution_time na minimum 500',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'V konfiguraci PHP nastavte upload_max_filesize na minimálně 16M',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'Nelze otevřít externí adresy URL (vyžaduje allow_url_fopen jako Zapnuto).',
|
||||
'ZIP extension is not enabled' => 'Rozšíření ZIP není povoleno',
|
||||
'Files' => 'Soubory',
|
||||
'Not all files were successfully uploaded on your server' => 'Ne všechny soubory byly úspěšně nahrány na váš server',
|
||||
'Permissions on files and folders' => 'Oprávnění k souborům a složkám',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Oprávnění k rekurzivnímu zápisu pro uživatele %1$s na %2$s',
|
||||
'Recommended PHP parameters' => 'Doporučené parametry PHP',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'Používáte PHP verzi %s. Brzy bude nejnovější verze PHP podporovaná QloApps PHP 5.6. Abyste se ujistili, že jste připraveni na budoucnost, doporučujeme vám nyní upgradovat na PHP 5.6!',
|
||||
'PHP register_globals option is enabled' => 'Možnost PHP register_globals je povolena',
|
||||
'GZIP compression is not activated' => 'Komprese GZIP není aktivována',
|
||||
'Mbstring extension is not enabled' => 'Rozšíření Mbstring není povoleno',
|
||||
'Dom extension is not loaded' => 'Rozšíření Dom není načteno',
|
||||
'Server name is not valid' => 'Název serveru není platný',
|
||||
'You must enter a database name' => 'Musíte zadat název databáze',
|
||||
'You must enter a database login' => 'Musíte zadat přihlašovací údaje k databázi',
|
||||
'Tables prefix is invalid' => 'Předpona tabulek je neplatná',
|
||||
'Cannot convert database data to utf-8' => 'Data databáze nelze převést na utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Minimálně jedna tabulka se stejnou předponou již byla nalezena, změňte prosím předponu nebo zrušte databázi',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Hodnoty auto_increment increment a offset musí být nastaveny na 1',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Databázový server nebyl nalezen. Zkontrolujte prosím pole login, password a server',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Připojení k serveru MySQL bylo úspěšné, ale databáze "%s" nebyla nalezena',
|
||||
'Attempt to create the database automatically' => 'Pokuste se vytvořit databázi automaticky',
|
||||
'%s file is not writable (check permissions)' => '%s soubor není zapisovatelný (zkontrolujte oprávnění)',
|
||||
'%s folder is not writable (check permissions)' => 'Do složky %s nelze zapisovat (zkontrolujte oprávnění)',
|
||||
'Cannot write settings file' => 'Nelze zapisovat soubor nastavení',
|
||||
'Database structure file not found' => 'Soubor struktury databáze nebyl nalezen',
|
||||
'Cannot create group shop' => 'Nelze vytvořit skupinový obchod',
|
||||
'Cannot create shop' => 'Nelze vytvořit obchod',
|
||||
'Cannot create shop URL' => 'Nelze vytvořit adresu URL obchodu',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Soubor "language.xml" nebyl nalezen pro jazyk iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Soubor "language.xml" není platný pro jazyk iso "%s"',
|
||||
'Cannot install language "%s"' => 'Nelze nainstalovat jazyk "%s"',
|
||||
'Cannot copy flag language "%s"' => 'Nelze zkopírovat jazyk vlajky "%s"',
|
||||
'Cannot create admin account' => 'Nelze vytvořit účet správce',
|
||||
'Cannot install module "%s"' => 'Nelze nainstalovat modul "%s"',
|
||||
'Fixtures class "%s" not found' => 'Třída svítidel "%s" nebyla nalezena',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" musí být instancí "InstallXmlLoader"',
|
||||
'Information about your Website' => 'Informace o vašem webu',
|
||||
'Website name' => 'Název webu',
|
||||
'Main activity' => 'Hlavní aktivita',
|
||||
'Please choose your main activity' => 'Vyberte prosím svou hlavní činnost',
|
||||
'Other activity...' => 'Jiná činnost...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Pomozte nám dozvědět se více o vašem obchodě, abychom vám mohli nabídnout optimální vedení a nejlepší funkce pro vaši firmu!',
|
||||
'Install demo data' => 'Nainstalujte demo data',
|
||||
'Yes' => 'Ano',
|
||||
'No' => 'Ne',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'Instalace demo dat je dobrý způsob, jak se naučit používat QloApps, pokud jste je dosud nepoužívali. Tato demo data lze později vymazat pomocí modulu QloApps Data Cleaner, který je předinstalován s touto instalací.',
|
||||
'Country' => 'Země',
|
||||
'Select your country' => 'Vyberte vaší zemi',
|
||||
'Website timezone' => 'Časové pásmo webu',
|
||||
'Select your timezone' => 'Vyberte své časové pásmo',
|
||||
'Enable SSL' => 'Povolit SSL',
|
||||
'Shop logo' => 'Logo obchodu',
|
||||
'Optional - You can add you logo at a later time.' => 'Volitelné – své logo můžete přidat později.',
|
||||
'Your Account' => 'Váš účet',
|
||||
'First name' => 'Jméno',
|
||||
'Last name' => 'Příjmení',
|
||||
'E-mail address' => 'Emailová adresa',
|
||||
'This email address will be your username to access your website\'s back office.' => 'Tato e-mailová adresa bude vaším uživatelským jménem pro přístup do back office vašeho webu.',
|
||||
'Password' => 'Heslo',
|
||||
'Must be at least 8 characters' => 'Musí mít alespoň 8 znaků',
|
||||
'Re-type to confirm' => 'Pro potvrzení zadejte znovu',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'Informace, které nám poskytnete, shromažďujeme a podléhají zpracování údajů a statistikám. Podle aktuálního „Zákona o zpracování údajů, datových souborech a osobních svobodách“ máte právo na přístup ke svým osobním údajům, jejich opravu a nesouhlas se zpracováním prostřednictvím tohoto <a href="%s" onclick="return !window.open (this.href)">odkaz</a>.',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'Souhlasím se zasíláním newsletteru a propagačních nabídek od QloApps.',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'Vždy budete dostávat transakční e-maily, jako jsou nové aktualizace, bezpečnostní opravy a záplaty, i když se k této možnosti nepřihlásíte.',
|
||||
'Configure your database by filling out the following fields' => 'Nakonfigurujte svou databázi vyplněním následujících polí',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'Chcete-li používat QloApps, musíte <a href="%1$s" target="_blank">vytvořit databázi</a> ke shromažďování všech aktivit souvisejících s daty vašeho webu.',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'Vyplňte prosím níže uvedená pole, aby se QloApps mohl připojit k vaší databázi.',
|
||||
'Database server address' => 'Adresa databázového serveru',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Výchozí port je 3306. Chcete-li použít jiný port, přidejte číslo portu na konec adresy vašeho serveru, tj. „:4242“.',
|
||||
'Database name' => 'Jméno databáze',
|
||||
'Database login' => 'Přihlášení do databáze',
|
||||
'Database password' => 'Heslo databáze',
|
||||
'Database Engine' => 'Databázový stroj',
|
||||
'Tables prefix' => 'Předpona tabulek',
|
||||
'Drop existing tables (mode dev)' => 'Zrušit existující tabulky (režim vývoj)',
|
||||
'Test your database connection now!' => 'Otestujte připojení k databázi nyní!',
|
||||
'Next' => 'další',
|
||||
'Back' => 'Zadní',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Pokud potřebujete pomoc, můžete <a href="%1$s" onclick="return !window.open(this.href);">získat přizpůsobenou pomoc</a> od našeho týmu podpory. Jako vodítko je zde také <a href="%2$s" onclick="return !window.open(this.href);">Oficiální dokumentace</a>.',
|
||||
'Official forum' => 'Oficiální fórum',
|
||||
'Support' => 'Podpěra, podpora',
|
||||
'Documentation' => 'Dokumentace',
|
||||
'Contact us' => 'Kontaktujte nás',
|
||||
'QloApps Installation Assistant' => 'Asistent instalace QloApps',
|
||||
'Forum' => 'Fórum',
|
||||
'Blog' => 'Blog',
|
||||
'menu_welcome' => 'Vyberte si jazyk',
|
||||
'menu_license' => 'Licenční smlouvy',
|
||||
'menu_system' => 'Kompatibilita systému',
|
||||
'menu_configure' => 'Informace o webu',
|
||||
'menu_database' => 'Konfigurace systému',
|
||||
'menu_process' => 'Instalace QloApps',
|
||||
'Need Help?' => 'Potřebovat pomoc?',
|
||||
'Click here to Contact us' => 'Klikněte sem a kontaktujte nás',
|
||||
'Installation' => 'Instalace',
|
||||
'See our Installation guide' => 'Viz náš Průvodce instalací',
|
||||
'Tutorials' => 'Tutoriály',
|
||||
'See our QloApps tutorials' => 'Podívejte se na naše výukové programy QloApps',
|
||||
'Installation Assistant' => 'Instalační asistent',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'Chcete-li nainstalovat QloApps, musíte mít ve svém prohlížeči povolený JavaScript.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Licenční smlouvy',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Chcete-li si užít mnoho funkcí, které QloApps nabízí zdarma, přečtěte si prosím níže uvedené licenční podmínky. Jádro QloApps je licencováno pod OSL 3.0, zatímco moduly a motivy jsou licencovány pod AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Souhlasím s výše uvedenými podmínkami.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Souhlasím s účastí na zlepšování řešení zasláním anonymních informací o mé konfiguraci.',
|
||||
'Done!' => 'Hotovo!',
|
||||
'An error occurred during installation...' => 'Při instalaci došlo k chybě...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Pomocí odkazů v levém sloupci se můžete vrátit k předchozím krokům nebo restartovat proces instalace <a href="%s">kliknutím sem</a>.',
|
||||
'Suggested Modules' => 'Doporučené moduly',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'Najděte ty správné funkce na QloApps Addons, aby vaše podnikání v pohostinství bylo úspěšné.',
|
||||
'Discover All Modules' => 'Objevte všechny moduly',
|
||||
'Suggested Themes' => 'Navrhovaná témata',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'Vytvořte design, který bude vyhovovat vašemu hotelu a vašim zákazníkům, s motivem šablony připraveným k použití.',
|
||||
'Discover All Themes' => 'Objevte všechna témata',
|
||||
'Your installation is finished!' => 'Vaše instalace je dokončena!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'Právě jste dokončili instalaci QloApps. Děkujeme, že používáte QloApps!',
|
||||
'Please remember your login information:' => 'Zapamatujte si prosím své přihlašovací údaje:',
|
||||
'E-mail' => 'E-mailem',
|
||||
'Print my login information' => 'Vytisknout moje přihlašovací údaje',
|
||||
'Display' => 'Zobrazit',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Z bezpečnostních důvodů musíte odstranit složku "install".',
|
||||
'Back Office' => 'Zadní kancelář',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Spravujte svůj web pomocí Back Office. Spravujte své objednávky a zákazníky, přidávejte moduly, měňte témata atd.',
|
||||
'Manage Your Website' => 'Spravujte svůj web',
|
||||
'Front Office' => 'Přední kancelář',
|
||||
'Discover your website as your future customers will see it!' => 'Objevte svůj web tak, jak ho uvidí vaši budoucí zákazníci!',
|
||||
'Discover Your Website' => 'Objevte svůj web',
|
||||
'Share your experience with your friends!' => 'Podělte se o své zkušenosti se svými přáteli!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'Právě jsem vytvořil webovou stránku pro online rezervaci hotelů s QloApps!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'Podívejte se na všechny funkce zde: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'tweet',
|
||||
'Share' => 'Podíl',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'V současné době kontrolujeme kompatibilitu QloApps s vaším systémovým prostředím',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Pokud máte nějaké dotazy, navštivte prosím naši <a href="%1$s" target="_blank">dokumentaci</a> a <a href="%2$s" target="_blank">komunitní fórum< /a>.',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'Byla ověřena kompatibilita QloApps s vaším systémovým prostředím!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Jejda! Opravte níže uvedené položky a poté klikněte na „Obnovit informace“, abyste otestovali kompatibilitu vašeho nového systému.',
|
||||
'Refresh these settings' => 'Obnovte tato nastavení',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'QloApps vyžaduje ke spuštění alespoň 128 MB paměti: zkontrolujte prosím direktivu memory_limit ve vašem souboru php.ini nebo se o tom obraťte na svého poskytovatele hostitele.',
|
||||
'Welcome to the QloApps %s Installer' => 'Vítejte v instalačním programu QloApps %s',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'Instalace QloApps je rychlá a snadná. Během několika okamžiků se stanete součástí komunity. Jste na cestě k vytvoření vlastního webu pro rezervaci hotelů, který můžete snadno spravovat každý den.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Pokud potřebujete pomoc, neváhejte <a href="%1$s" target="_blank">podívat se na tento krátký výukový program</a> nebo se podívejte na <a href="%2$s" target="_blank ">naše dokumentace</a>.',
|
||||
'Continue the installation in:' => 'Pokračujte v instalaci v:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'Výše uvedený výběr jazyka platí pouze pro instalačního asistenta. Po instalaci QloApps si můžete vybrat jazyk svých webových stránek z více než %d překladů, vše zdarma!',
|
||||
),
|
||||
);
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<entity_order_return_state>
|
||||
<order_return_state id="Pending">
|
||||
<name>Pending</name>
|
||||
<name>Ausstehend</name>
|
||||
<customer_template>order_refund_pending_customer</customer_template>
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>Bestritten</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>Vollendet</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
@@ -1,212 +1,225 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' =>
|
||||
array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'SQL-Fehler bei Element <i>%1$s</i>: <i>%2$s</i> aufgetreten',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Bild "%1$s" für "%2$s" kann nicht erstellt werden',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Bild "%1$s"kann nicht erstellt werden (keine Schreibrechte für Ordner "%2$s" vorhanden)',
|
||||
'Cannot create image "%s"' => 'Bild "%s" kann nicht erstell werden',
|
||||
'SQL error on query <i>%s</i>' => 'SQL-Fehler in der Abfrage <i>%s</i>',
|
||||
'%s Login information' => '%s Anmeldeinformationen',
|
||||
'Field required' => 'Pflichtfeld',
|
||||
'Invalid shop name' => 'Ungültiger Shopname',
|
||||
'The field %s is limited to %d characters' => 'Das Feld %s ist auf %s Zeichen begrenzt.',
|
||||
'Your firstname contains some invalid characters' => 'Ihr Vorname enthält ungültige Zeichen',
|
||||
'Your lastname contains some invalid characters' => 'Ihr Nachname enthält ungültige Zeichen',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Das Passwort ist falsch (alphanumerische Zeichenfolge aus mindestens 8 Zeichen)',
|
||||
'Password and its confirmation are different' => 'Passwort und Bestätigung stimmen nicht überein',
|
||||
'This e-mail address is invalid' => 'E-Mail-Adresse nicht gefunden',
|
||||
'Image folder %s is not writable' => 'Keine Schreibrechte für Bilder-Verzeichnis %s vorhanden',
|
||||
'An error occurred during logo copy.' => 'Beim Kopieren des Logos ist ein Fehler aufgetreten.',
|
||||
'An error occurred during logo upload.' => 'Beim Logo-Upload ist ein Fehler aufgetreten.',
|
||||
'Lingerie and Adult' => 'Dessous und Erotik',
|
||||
'Animals and Pets' => 'Alles für Tiere',
|
||||
'Art and Culture' => 'Kunst und Freizeit',
|
||||
'Babies' => 'Baby-Artikel',
|
||||
'Beauty and Personal Care' => 'Parfümerie und Kosmetik',
|
||||
'Cars' => 'Autos',
|
||||
'Computer Hardware and Software' => 'Hard- und Software',
|
||||
'Download' => 'Download',
|
||||
'Fashion and accessories' => 'Mode und Accessoires',
|
||||
'Flowers, Gifts and Crafts' => 'Pflanzen, Geschenke, Handarbeiten',
|
||||
'Food and beverage' => 'Essen und Trinken',
|
||||
'HiFi, Photo and Video' => 'Elektronik und Foto',
|
||||
'Home and Garden' => 'Haus und Garten',
|
||||
'Home Appliances' => 'Haushaltsgeräte',
|
||||
'Jewelry' => 'Schmuck',
|
||||
'Mobile and Telecom' => 'Mobilfunk und Telekommunikation',
|
||||
'Services' => 'Dienstleistungen',
|
||||
'Shoes and accessories' => 'Schuhe und Zubehör',
|
||||
'Sports and Entertainment' => 'Sport und Unterhaltung',
|
||||
'Travel' => 'Reisen',
|
||||
'Database is connected' => 'Datenbank verbunden',
|
||||
'Database is created' => 'Datenbank erstellt',
|
||||
'Cannot create the database automatically' => 'Datenbank kann nicht automatisch erstellt werden',
|
||||
'Create settings.inc file' => 'Datei settings.inc erstellen',
|
||||
'Create database tables' => 'Datenbanktabellen anlegen',
|
||||
'Create default shop and languages' => 'Standard-Shop und Standard-Sprachen anlegen',
|
||||
'Populate database tables' => 'Datenbankdaten eintragen',
|
||||
'Configure shop information' => 'Shopeinstellungen vornehmen',
|
||||
'Install demonstration data' => 'Demodaten installieren',
|
||||
'Install modules' => 'Module installieren',
|
||||
'Install Addons modules' => 'Modul-Addons installieren',
|
||||
'Install theme' => 'Template installieren',
|
||||
'Required PHP parameters' => 'Erforderliche PHP-Einstellungen',
|
||||
'PHP 5.1.2 or later is not enabled' => 'PHP 5.1.2 oder höher ist nicht aktiv',
|
||||
'Cannot upload files' => 'Dateien können nicht hochgeladen werden',
|
||||
'Cannot create new files and folders' => 'Neue Dateien und Verzeichnisse können nicht erstellt werden',
|
||||
'GD Library is not installed' => 'GD-Bibliothek ist nicht installiert',
|
||||
'MySQL support is not activated' => 'MySQL-Unterstützung ist nicht aktiviert',
|
||||
'Files' => 'Dateien',
|
||||
'All files are not successfully uploaded on your server' => 'Es konnten nicht alle Dateien erfolgreich auf Ihren Server hochgeladen werden',
|
||||
'Permissions on files and folders' => 'Rechte für Dateien und Verzeichnisse',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Rekursive Schreibrechte für Benutzer %1$s bei %2$s',
|
||||
'Recommended PHP parameters' => 'Empfohlene PHP-Einstellungen',
|
||||
'Cannot open external URLs' => 'Externe URLs können nicht geöffnet werden',
|
||||
'PHP register_globals option is enabled' => 'PHP-Anweisung register_globals ist aktiviert',
|
||||
'GZIP compression is not activated' => 'GZIP-Komprimierung ist nicht aktiviert',
|
||||
'Mcrypt extension is not enabled' => 'Mcrypt-Erweiterung ist nicht aktiviert',
|
||||
'Mbstring extension is not enabled' => 'Mbstring-Erweiterung ist nicht aktiviert',
|
||||
'PHP magic quotes option is enabled' => 'PHP-Option magic quotes ist aktiviert',
|
||||
'Dom extension is not loaded' => 'Dom-Erweiterung ist nicht geladen',
|
||||
'PDO MySQL extension is not loaded' => 'PDO MySQL-Erweiterung ist nicht geladen',
|
||||
'Server name is not valid' => 'Server-Name ungültig',
|
||||
'You must enter a database name' => 'Sie müssen einen Datenbanknamen angeben',
|
||||
'You must enter a database login' => 'Sie müssen die Datenbankzugangsdaten angeben',
|
||||
'Tables prefix is invalid' => 'Tabellen-Präfix ungültig',
|
||||
'Cannot convert database data to utf-8' => 'Daten können nicht nach UTF-8 konvertiert werden',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Mit dem gleichen Tabellen-Präfix sind bereits andere Tabellen in Ihrer Datenbank angelegt. Bitte ändern sie den Präfix oder leeren Sie Ihre Datenbank',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Der Datenbank-Server wurde nicht gefunden, bitte prüfen Sie Ihren Benutzernamen oder den Server-Namen',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Datenbankserver gefunden, aber Datenbank nicht vorhanden',
|
||||
'Attempt to create the database automatically' => 'Versuche, die Datenbank automatisch zu erstellen.',
|
||||
'%s file is not writable (check permissions)' => 'Datei %s ist schreibgeschützt (bitte Schreibrechte überprüfen)',
|
||||
'%s folder is not writable (check permissions)' => 'Verzeichnis %s ist schreibgeschützt (bitte Schreibrechte überprüfen)',
|
||||
'Cannot write settings file' => 'Einstellungs-Datei kann nicht geschrieben werden',
|
||||
'Database structure file not found' => 'Datenbankstruktur-Datei nicht gefunden',
|
||||
'Cannot create group shop' => 'Shop-Gruppe kann nicht erstellt werden',
|
||||
'Cannot create shop' => 'Shop kann nicht erstellt werden',
|
||||
'Cannot create shop URL' => 'Shop-URL kann nicht erstellt werden',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Sprachdatei "Sprache.xml" für Sprache "%s" nicht gefunden',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Sprachdatei "Sprache.xml" für Sprache "%s" ungültig',
|
||||
'Cannot install language "%s"' => 'Sprache "%s" kann nicht installiert werden',
|
||||
'Cannot copy flag language "%s"' => 'Die Flagge der Sprache "%s" kann nicht kopiert werden',
|
||||
'Cannot create admin account' => 'Adminkonto kann nicht erstellt werden',
|
||||
'Cannot install module "%s"' => 'Modul "%s" kann nicht installiert werden',
|
||||
'Fixtures class "%s" not found' => 'Fixture-Klasse "%s" nicht gefunden',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '"%s" muss vom "InstallXmlLoader" aufgerufen werden',
|
||||
'Information about your Store' => 'Shop-Informationen',
|
||||
'Shop name' => 'Name des Shops',
|
||||
'Main activity' => 'Branchenzugehörigkeit',
|
||||
'Please choose your main activity' => 'Bitte wählen Sie Ihre Branchenzugehörigkeit',
|
||||
'Other activity...' => 'Andere...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Helfen Sie uns, Sie besser kennenzulernen, damit wir Ihnen die optimalen Funktionen für Ihre Branche anbieten können!',
|
||||
'Install demo products' => 'Demo-Artikel installieren',
|
||||
'Yes' => 'Ja',
|
||||
'No' => 'Nein',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'Demo-Artikel sind eine gute Möglichkeit, die Funktionen des Shops näher kennzulernen. Wir empfehlen Ihnen daher, sie zunächst zu installieren. Sie können die Artikel im Back Office jederzeit nachträglich deaktivieren oder löschen',
|
||||
'Country' => 'Land',
|
||||
'Select your country' => 'Wählen Sie Ihr Land',
|
||||
'Shop timezone' => 'Zeitzone',
|
||||
'Select your timezone' => 'Wählen Sie Ihre Zeitzone',
|
||||
'Shop logo' => 'Shop-Logo',
|
||||
'Optional - You can add you logo at a later time.' => 'Optional – Sie können sich auch später entscheiden.',
|
||||
'Your Account' => 'Ihre Anmeldedaten',
|
||||
'First name' => 'Vorname',
|
||||
'Last name' => 'Name',
|
||||
'E-mail address' => 'E-Mail-Adresse',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Diese E-Mail-Adresse ist Ihre Benutznername, um in den Verwaltungsbereich Ihres Shops zu gelangen.',
|
||||
'Shop password' => 'Passwort des Shops',
|
||||
'Must be at least 8 characters' => 'Mindestens 8 Zeichen',
|
||||
'Re-type to confirm' => 'Bestätigen Sie das Passwort',
|
||||
'Sign-up to the newsletter' => 'Für den Newsletter anmelden',
|
||||
'PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.' => 'PrestaShop kann Sie regelmäßig anleiten und Ihnen Tipps für die Shopverwaltung und Ihre geschäftliche Entwicklung geben. Wenn Sie keine Tipps wünschen, dann entfernen Sie bitte den Haken in diesem Kästchen.',
|
||||
'Configure your database by filling out the following fields' => 'Richten Sie die Datenbank ein, indem Sie folgende Felder ausfüllen',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store\'s data-related activities.' => 'Um PrestaShop zu nutzen, müssen Sie <a href="http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">eine Datenbank erstellen</a>, in der alle datenbezogenen Aktivitäten Ihres Shops gespeichert werden.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Bitte füllen Sie die untenstehenden Felder aus, damit PrestaShop sich mit Ihrer Datenbank verbinden kann.',
|
||||
'Database server address' => 'Datenbank-Adresse',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Wenn Sie einen anderen Port als den Standardport (3306) nutzen möchten, fügen Sie zu Ihrer Serveradresse die Nummer xx Ihres Ports hinzu.',
|
||||
'Database name' => 'Name der Datenbank',
|
||||
'Database login' => 'Datenbank-Benutzer',
|
||||
'Database password' => 'Datenbank-Passwort',
|
||||
'Database Engine' => 'Datenbank',
|
||||
'Tables prefix' => 'Tabellen-Präfix',
|
||||
'Drop existing tables (mode dev)' => 'Vorhandene Tabellen löschen',
|
||||
'Test your database connection now!' => 'Testen Sie die Verbindung mit Ihrer Datenbank',
|
||||
'Next' => 'Weiter',
|
||||
'Back' => 'Zurück',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Falls Sie Unterstützung benötigen, erhalten Sie <a href="%1$s" onclick="return !window.open(this.href);">gezielte Hilfe</a> unseres Support-Teams. Sie können aber auch direkt in der <a href="http://doc.prestashop.com/display/PS16/Installing+PrestaShop" onclick="return !window.open(this.href);">PrestaShop Dokumentation</a> nachschlagen (nur Englisch).',
|
||||
'Official forum' => 'Offizielles Forum',
|
||||
'Support' => 'Support',
|
||||
'Documentation' => 'Dokumentation',
|
||||
'Contact us' => 'Kontakt',
|
||||
'PrestaShop Installation Assistant' => 'Installationsassistent',
|
||||
'Forum' => 'Forum',
|
||||
'Blog' => 'Blog',
|
||||
'Contact us!' => 'Kontaktieren Sie uns!',
|
||||
'menu_welcome' => 'Sprachauswahl',
|
||||
'menu_license' => 'Lizenzvereinbarung',
|
||||
'menu_system' => 'Systemkompatibilität',
|
||||
'menu_configure' => 'Shop-Einstellungen',
|
||||
'menu_database' => 'Systemkonfiguration',
|
||||
'menu_process' => 'Installation des Shops',
|
||||
'Installation Assistant' => 'Installationsassistent',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'JavaScript muss in Ihrem Browser aktiviert sein, um PrestaShop zu installieren.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/de/',
|
||||
'License Agreements' => 'Lizenzvereinbarung',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Um all die Vorteile zu nutzen, die Ihnen Prestashop bietet, lesen sie bitte die folgenden Bedingungen. Der PrestaShop ist unter OSL 3.0 lizensiert, die Module und Themen unter AFL 3.0.',
|
||||
'I agree to the above terms and conditions.' => 'Ich akzeptiere die obenstehenden AGB',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Ich möchte zur Verbesserung von PrestaShop beitragen und bin einverstanden, dass anonyme Informationen zu meiner Konfiguration übermittelt werden.',
|
||||
'Done!' => 'Fertig!',
|
||||
'An error occurred during installation...' => 'Bei der Installation ist ein Fehler aufgetreten...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Um zum vorherigen Schritt zu gelangen, können Sie die Links in der linken Spalte nutzen, oder den Installationsprozess komplett neu starten, indem Sie <a href="%s">HIER klicken</a>.',
|
||||
'Your installation is finished!' => 'Die Installation ist abgeschlossen!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Sie haben soeben Ihren Shop erfolgreich installiert. Danke dass Sie Prestashop nutzen',
|
||||
'Please remember your login information:' => 'Merken Sie sich Ihre Anmeldedaten:',
|
||||
'E-mail' => 'E-Mail',
|
||||
'Print my login information' => 'Meine Zugangsinformationen ausdrucken',
|
||||
'Password' => 'Passwort',
|
||||
'Display' => 'Anzeige',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Aus Sicherheitsgründen müssen Sie das Verzeichnis “install” unbedingt löschen.',
|
||||
'http://doc.prestashop.com/display/PS16/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
'Back Office' => 'Back Office',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Verwalten Sie Ihren Shop im Back-Office. Verwalten Sie Ihre Bestellungen und Kunden, fügen Sie Module hinzu, ändern Sie Ihr Theme, usw. ...',
|
||||
'Manage your store' => 'Verwalten Sie Ihren Shop',
|
||||
'Front Office' => 'Front Office',
|
||||
'Discover your store as your future customers will see it!' => 'Sehen Sie, wie Ihr Shop später für Ihre Kunden aussieht!',
|
||||
'Discover your store' => 'Meinen Shop entdecken',
|
||||
'Share your experience with your friends!' => 'Teilen Sie Erfahrungen mit Ihren Freunden!',
|
||||
'I just built an online store with PrestaShop!' => 'Ich habe gerade einen Online-Shop mit PrestaShop eingerichtet!',
|
||||
'Watch this exhilarating experience: http://vimeo.com/89298199' => 'Das Video wird Sie begeistern: http://vimeo.com/89298199',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Teilen',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'Check out PrestaShop Addons to add that little something extra to your store!' => 'Finden Sie bei PrestaShop Addons die kleinen Extras zu Ihrem Shop!',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'Wir überprüfen derzeit die Kompatibilität von PrestaShop mit Ihrer Systemumgebung.',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Bei Fragen nutzen Sie bitte unsere <a href="%1$s" target="_blank">Dokumentation</a> oder <a href="%2$s" target="_blank">Community Forum</a>.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'Die Kompatibilität von PrestaShop mit Ihrem System wurde überprüft!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Bitte korrigieren Sie untenstehende(n) Punkt(e) und klicken Sie anschließend auf den Refresh-Button, um erneut die Kompatibilität Ihres Systems zu überprüfen.',
|
||||
'Refresh these settings' => 'Einstellungen aktualisieren',
|
||||
'PrestaShop requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'Damit PrestaShop einwandfrei funktionieren kann, werden mindestens 32M Speicher benötigt. Bitte überprüfen Sie die memory_limit directive in php.in oder kontaktieren Sie Ihrem Provider.',
|
||||
'<b>Warning: You cannot use this tool to upgrade your store anymore.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Achtung: Sie können mit diesem Tool kein Upgrade Ihres Shops mehr machen.</b><br /><br />Sie haben bereits <b>PrestaShop version %1$s installiert</b>.<br /><br />Wenn Sie ein Upgrade auf die aktuelle Version möchten, lesen Sie bitte die Dokumentation: <a href="%2$s">%2$s</a>',
|
||||
'Welcome to the PrestaShop %s Installer' => 'Herzlich Willkommen beim PrestaShop %s Installationsassistenten',
|
||||
'Installing PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 250,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'PrestaShop lässt sich einfach und schnell installieren. In wenigen Momenten sind Sie Teil einer Gemeinschaft von über 250.000 Shopbesitzern. Sie sind gerade dabei, Ihren eigenen, einzigartigen Shop zu erstellen, den Sie täglich leicht verwalten können.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.',
|
||||
'Continue the installation in:' => 'Installation fortführen in:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'Die obige Sprachauswahl bezieht sich auf den Installationsassistenten. Sobald Ihr Shop installiert ist, können Sie aus %d Sprachen Ihre Shopsprache wählen!',
|
||||
),
|
||||
);
|
||||
'informations' => array(
|
||||
'documentation' => 'https://qloapps.com/qlo-reservation-system/',
|
||||
'documentation_upgrade' => 'https://webkul.uvdesk.com/',
|
||||
'forum' => 'https://forums.qloapps.com/',
|
||||
'blog' => 'https://qloapps.com/blog/',
|
||||
'support' => 'https://webkul.uvdesk.com/',
|
||||
'tutorial' => 'https://www.youtube.com/watch?v=BWoifR8INCE',
|
||||
'tailored_help' => 'https://webkul.uvdesk.com/',
|
||||
'contact' => 'https://qloapps.com/contact/',
|
||||
'services' => 'https://qloapps.com/contact/',
|
||||
'install_help' => 'https://qloapps.com/install-qloapps/',
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occurred for entity <i>%1$s</i>: <i>%2$s</i>' => 'Für die Entität <i>%1$s</i> ist ein SQL-Fehler aufgetreten: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Bild „%1$s“ für Entität „%2$s“ kann nicht erstellt werden',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Bild „%1$s“ kann nicht erstellt werden (falsche Berechtigungen für Ordner „%2$s“)',
|
||||
'Cannot create image "%s"' => 'Bild „%s“ kann nicht erstellt werden',
|
||||
'SQL error on query <i>%s</i>' => 'SQL-Fehler bei Abfrage <i>%s</i>',
|
||||
'%s Login information' => '%s Anmeldeinformationen',
|
||||
'Field required' => 'Pflichtfeld',
|
||||
'Invalid shop name' => 'Ungültiger Shopname',
|
||||
'The field %s is limited to %d characters' => 'Das Feld %s ist auf %d Zeichen begrenzt',
|
||||
'Your firstname contains some invalid characters' => 'Ihr Vorname enthält einige ungültige Zeichen',
|
||||
'Your lastname contains some invalid characters' => 'Ihr Nachname enthält einige ungültige Zeichen',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'Das Passwort ist falsch (alphanumerische Zeichenfolge mit mindestens 8 Zeichen)',
|
||||
'Password and its confirmation are different' => 'Passwort und dessen Bestätigung sind unterschiedlich',
|
||||
'This e-mail address is invalid' => 'Diese E-Mail-Adresse ist ungültig',
|
||||
'Image folder %s is not writable' => 'Der Bildordner %s ist nicht beschreibbar',
|
||||
'An error occurred during logo copy.' => 'Beim Kopieren des Logos ist ein Fehler aufgetreten.',
|
||||
'An error occurred during logo upload.' => 'Beim Hochladen des Logos ist ein Fehler aufgetreten.',
|
||||
'Lingerie and Adult' => 'Dessous und Erwachsene',
|
||||
'Animals and Pets' => 'Tiere und Haustiere',
|
||||
'Art and Culture' => 'Kunst und Kultur',
|
||||
'Babies' => 'Babys',
|
||||
'Beauty and Personal Care' => 'Schönheit und Körperpflege',
|
||||
'Cars' => 'Autos',
|
||||
'Computer Hardware and Software' => 'Computer-Hardware und -Software',
|
||||
'Download' => 'Herunterladen',
|
||||
'Fashion and accessories' => 'Mode und Accessoires',
|
||||
'Flowers, Gifts and Crafts' => 'Blumen, Geschenke und Kunsthandwerk',
|
||||
'Food and beverage' => 'Nahrungsmittel und Getränke',
|
||||
'HiFi, Photo and Video' => 'HiFi, Foto und Video',
|
||||
'Home and Garden' => 'Haus und Garten',
|
||||
'Home Appliances' => 'Haushaltsgeräte',
|
||||
'Jewelry' => 'Schmuck',
|
||||
'Mobile and Telecom' => 'Mobilfunk und Telekommunikation',
|
||||
'Services' => 'Dienstleistungen',
|
||||
'Shoes and accessories' => 'Schuhe und Accessoires',
|
||||
'Sports and Entertainment' => 'Sport und Unterhaltung',
|
||||
'Travel' => 'Reisen',
|
||||
'Database is connected' => 'Datenbank ist verbunden',
|
||||
'Database is created' => 'Datenbank wird erstellt',
|
||||
'Cannot create the database automatically' => 'Die Datenbank kann nicht automatisch erstellt werden',
|
||||
'Create settings.inc file' => 'Erstellen Sie die Datei „settings.inc“.',
|
||||
'Create database tables' => 'Erstellen von Datenbanktabellen',
|
||||
'Create default website and languages' => 'Standardwebsite und -sprachen erstellen',
|
||||
'Populate database tables' => 'Datenbanktabellen füllen',
|
||||
'Configure website information' => 'Website-Informationen konfigurieren',
|
||||
'Install demonstration data' => 'Demodaten installieren',
|
||||
'Install modules' => 'Module installieren',
|
||||
'Install Addons modules' => 'Add-Ons-Module installieren',
|
||||
'Install theme' => 'Theme installieren',
|
||||
'Required PHP parameters' => 'Erforderliche PHP-Parameter',
|
||||
'The required PHP version is between 5.6 to 7.4' => 'Die erforderliche PHP-Version liegt zwischen 5.6 und 7.4',
|
||||
'Cannot upload files' => 'Dateien können nicht hochgeladen werden',
|
||||
'Cannot create new files and folders' => 'Es können keine neuen Dateien und Ordner erstellt werden',
|
||||
'GD library is not installed' => 'Die GD-Bibliothek ist nicht installiert',
|
||||
'PDO MySQL extension is not loaded' => 'Die PDO MySQL-Erweiterung wurde nicht geladen',
|
||||
'Curl extension is not loaded' => 'Curl-Erweiterung ist nicht geladen',
|
||||
'SOAP extension is not loaded' => 'SOAP-Erweiterung ist nicht geladen',
|
||||
'SimpleXml extension is not loaded' => 'Die SimpleXml-Erweiterung wurde nicht geladen',
|
||||
'In the PHP configuration set memory_limit to minimum 128M' => 'Setzen Sie in der PHP-Konfiguration das Memory_limit auf mindestens 128 MB.',
|
||||
'In the PHP configuration set max_execution_time to minimum 500' => 'Setzen Sie in der PHP-Konfiguration max_execution_time auf mindestens 500',
|
||||
'In the PHP configuration set upload_max_filesize to minimum 16M' => 'Setzen Sie in der PHP-Konfiguration upload_max_filesize auf mindestens 16M',
|
||||
'Cannot open external URLs (requires allow_url_fopen as On).' => 'Externe URLs können nicht geöffnet werden (erfordert „allow_url_fopen“ auf „Ein“).',
|
||||
'ZIP extension is not enabled' => 'Die ZIP-Erweiterung ist nicht aktiviert',
|
||||
'Files' => 'Dateien',
|
||||
'Not all files were successfully uploaded on your server' => 'Nicht alle Dateien wurden erfolgreich auf Ihren Server hochgeladen',
|
||||
'Permissions on files and folders' => 'Berechtigungen für Dateien und Ordner',
|
||||
'Recursive write permissions for %1$s user on %2$s' => 'Rekursive Schreibberechtigungen für Benutzer %1$s auf %2$s',
|
||||
'Recommended PHP parameters' => 'Empfohlene PHP-Parameter',
|
||||
'You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!' => 'Sie verwenden die PHP-Version %s. Bald wird die neueste von QloApps unterstützte PHP-Version PHP 5.6 sein. Um sicherzustellen, dass Sie für die Zukunft gerüstet sind, empfehlen wir Ihnen, jetzt auf PHP 5.6 zu aktualisieren!',
|
||||
'PHP register_globals option is enabled' => 'Die PHP-Option „register_globals“ ist aktiviert',
|
||||
'GZIP compression is not activated' => 'Die GZIP-Komprimierung ist nicht aktiviert',
|
||||
'Mbstring extension is not enabled' => 'Die Mbstring-Erweiterung ist nicht aktiviert',
|
||||
'Dom extension is not loaded' => 'Die Dom-Erweiterung wurde nicht geladen',
|
||||
'Server name is not valid' => 'Der Servername ist ungültig',
|
||||
'You must enter a database name' => 'Sie müssen einen Datenbanknamen eingeben',
|
||||
'You must enter a database login' => 'Sie müssen einen Datenbank-Login eingeben',
|
||||
'Tables prefix is invalid' => 'Tabellenpräfix ist ungültig',
|
||||
'Cannot convert database data to utf-8' => 'Datenbankdaten können nicht in UTF-8 konvertiert werden.',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'Mindestens eine Tabelle mit demselben Präfix wurde bereits gefunden. Bitte ändern Sie Ihr Präfix oder löschen Sie Ihre Datenbank.',
|
||||
'The values of auto_increment increment and offset must be set to 1' => 'Die Werte von auto_increment increment und offset müssen auf 1 gesetzt werden',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Der Datenbankserver wurde nicht gefunden. Bitte überprüfen Sie die Felder „Anmelden“, „Passwort“ und „Server“.',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'Verbindung zum MySQL-Server erfolgreich, aber Datenbank „%s“ nicht gefunden',
|
||||
'Attempt to create the database automatically' => 'Versuchen Sie, die Datenbank automatisch zu erstellen',
|
||||
'%s file is not writable (check permissions)' => '%s Datei ist nicht beschreibbar (Berechtigungen prüfen)',
|
||||
'%s folder is not writable (check permissions)' => 'Der Ordner %s ist nicht beschreibbar (überprüfen Sie die Berechtigungen)',
|
||||
'Cannot write settings file' => 'Einstellungsdatei kann nicht geschrieben werden',
|
||||
'Database structure file not found' => 'Datenbankstrukturdatei nicht gefunden',
|
||||
'Cannot create group shop' => 'Gruppenshop kann nicht erstellt werden',
|
||||
'Cannot create shop' => 'Shop kann nicht erstellt werden',
|
||||
'Cannot create shop URL' => 'Shop-URL kann nicht erstellt werden',
|
||||
'File "language.xml" not found for language iso "%s"' => 'Datei „language.xml“ für Sprach-ISO „%s“ nicht gefunden',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'Datei „language.xml“ ungültig für Sprach-ISO „%s“',
|
||||
'Cannot install language "%s"' => 'Sprache „%s“ kann nicht installiert werden',
|
||||
'Cannot copy flag language "%s"' => 'Flaggensprache „%s“ kann nicht kopiert werden',
|
||||
'Cannot create admin account' => 'Administratorkonto kann nicht erstellt werden',
|
||||
'Cannot install module "%s"' => 'Modul „%s“ kann nicht installiert werden',
|
||||
'Fixtures class "%s" not found' => 'Fixture-Klasse „%s“ nicht gefunden',
|
||||
'"%s" must be an instance of "InstallXmlLoader"' => '„%s“ muss eine Instanz von „InstallXmlLoader“ sein',
|
||||
'Information about your Website' => 'Informationen zu Ihrer Website',
|
||||
'Website name' => 'Webseiten-Name',
|
||||
'Main activity' => 'Hauptaktivität',
|
||||
'Please choose your main activity' => 'Bitte wählen Sie Ihre Haupttätigkeit',
|
||||
'Other activity...' => 'Andere Aktivität...',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Helfen Sie uns, mehr über Ihren Shop zu erfahren, damit wir Ihnen optimale Beratung und die besten Features für Ihr Business bieten können!',
|
||||
'Install demo data' => 'Demodaten installieren',
|
||||
'Yes' => 'Ja',
|
||||
'No' => 'NEIN',
|
||||
'Installing demo data is a good way to learn how to use QloApps if you have not used it before. This demo data can later be erased using module QloApps Data Cleaner which comes pre-installed with this installation.' => 'Die Installation von Demodaten ist eine gute Möglichkeit, die Verwendung von QloApps zu erlernen, wenn Sie es noch nicht verwendet haben. Diese Demodaten können später mit dem Modul QloApps Data Cleaner gelöscht werden, das bei dieser Installation vorinstalliert ist.',
|
||||
'Country' => 'Land',
|
||||
'Select your country' => 'Wähle dein Land',
|
||||
'Website timezone' => 'Zeitzone der Website',
|
||||
'Select your timezone' => 'Wählen Sie Ihre Zeitzone',
|
||||
'Enable SSL' => 'SSL aktivieren',
|
||||
'Shop logo' => 'Shop-Logo',
|
||||
'Optional - You can add you logo at a later time.' => 'Optional – Sie können Ihr Logo später hinzufügen.',
|
||||
'Your Account' => 'Ihr Konto',
|
||||
'First name' => 'Vorname',
|
||||
'Last name' => 'Familienname, Nachname',
|
||||
'E-mail address' => 'E-Mail-Adresse',
|
||||
'This email address will be your username to access your website\'s back office.' => 'Diese E-Mail-Adresse ist Ihr Benutzername für den Zugriff auf das Backoffice Ihrer Website.',
|
||||
'Password' => 'Passwort',
|
||||
'Must be at least 8 characters' => 'Muss mindestens 8 Zeichen lang sein',
|
||||
'Re-type to confirm' => 'Zur Bestätigung erneut eingeben',
|
||||
'The information you give us is collected by us and is subject to data processing and statistics. Under the current "Act on Data Processing, Data Files and Individual Liberties" you have the right to access, rectify and oppose to the processing of your personal data through this <a href="%s" onclick="return !window.open(this.href)">link</a>.' => 'Die Informationen, die Sie uns geben, werden von uns gesammelt und unterliegen der Datenverarbeitung und Statistik. Gemäß dem aktuellen „Gesetz über Datenverarbeitung, Dateien und individuelle Freiheiten“ haben Sie das Recht, über diesen <a href="%s" onclick="return !window.open(this.href)">Link</a> auf Ihre personenbezogenen Daten zuzugreifen, sie zu berichtigen und der Verarbeitung zu widersprechen.',
|
||||
'I agree to receive the Newsletter and promotional offers from QloApps.' => 'Ich stimme zu, den Newsletter und Werbeangebote von QloApps zu erhalten.',
|
||||
'You will always receive transactional emails like new updates, security fixes and patches even if you do not opt in for this option.' => 'Sie erhalten immer Transaktions-E-Mails wie neue Updates, Sicherheitsfixes und Patches, auch wenn Sie diese Option nicht aktivieren.',
|
||||
'Configure your database by filling out the following fields' => 'Konfigurieren Sie Ihre Datenbank, indem Sie die folgenden Felder ausfüllen',
|
||||
'To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.' => 'Um QloApps zu verwenden, müssen Sie <a href="%1$s" target="_blank">eine Datenbank erstellen</a>, um alle datenbezogenen Aktivitäten Ihrer Website zu erfassen.',
|
||||
'Please complete the fields below in order for QloApps to connect to your database. ' => 'Bitte füllen Sie die folgenden Felder aus, damit QloApps eine Verbindung zu Ihrer Datenbank herstellen kann.',
|
||||
'Database server address' => 'Datenbankserveradresse',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server\'s address i.e ":4242".' => 'Der Standardport ist 3306. Um einen anderen Port zu verwenden, fügen Sie die Portnummer am Ende der Adresse Ihres Servers hinzu, z. B. ":4242".',
|
||||
'Database name' => 'Name der Datenbank',
|
||||
'Database login' => 'Datenbank-Login',
|
||||
'Database password' => 'Datenbankkennwort',
|
||||
'Database Engine' => 'Datenbankmodul',
|
||||
'Tables prefix' => 'Tabellenpräfix',
|
||||
'Drop existing tables (mode dev)' => 'Vorhandene Tabellen löschen (Modus dev)',
|
||||
'Test your database connection now!' => 'Testen Sie jetzt Ihre Datenbankverbindung!',
|
||||
'Next' => 'Nächste',
|
||||
'Back' => 'Zurück',
|
||||
'If you need some assistance, you can <a href="%1$s" onclick="return !window.open(this.href);">get tailored help</a> from our support team. <a href="%2$s" onclick="return !window.open(this.href);">The official documentation</a> is also here to guide you.' => 'Wenn Sie Unterstützung benötigen, können Sie von unserem Support-Team <a href="%1$s" onclick="return !window.open(this.href);">maßgeschneiderte Hilfe</a> erhalten. <a href="%2$s" onclick="return !window.open(this.href);">Die offizielle Dokumentation</a> hilft Ihnen ebenfalls weiter.',
|
||||
'Official forum' => 'Offizielles Forum',
|
||||
'Support' => 'Unterstützung',
|
||||
'Documentation' => 'Dokumentation',
|
||||
'Contact us' => 'Kontaktiere uns',
|
||||
'QloApps Installation Assistant' => 'QloApps Installationsassistent',
|
||||
'Forum' => 'Forum',
|
||||
'Blog' => 'Der Blog',
|
||||
'menu_welcome' => 'Wähle deine Sprache',
|
||||
'menu_license' => 'Lizenzvereinbarungen',
|
||||
'menu_system' => 'Systemkompatibilität',
|
||||
'menu_configure' => 'Website-Informationen',
|
||||
'menu_database' => 'Systemkonfiguration',
|
||||
'menu_process' => 'QloApps-Installation',
|
||||
'Need Help?' => 'Brauchen Sie Hilfe?',
|
||||
'Click here to Contact us' => 'Klicken Sie hier, um uns zu kontaktieren',
|
||||
'Installation' => 'Installation',
|
||||
'See our Installation guide' => 'Siehe unsere Installationsanleitung',
|
||||
'Tutorials' => 'Anleitungen',
|
||||
'See our QloApps tutorials' => 'Sehen Sie sich unsere QloApps-Tutorials an',
|
||||
'Installation Assistant' => 'Installationsassistent',
|
||||
'To install QloApps, you need to have JavaScript enabled in your browser.' => 'Um QloApps zu installieren, muss JavaScript in Ihrem Browser aktiviert sein.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
'License Agreements' => 'Lizenzvereinbarungen',
|
||||
'To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Um die vielen Funktionen zu nutzen, die QloApps kostenlos anbietet, lesen Sie bitte die unten stehenden Lizenzbedingungen. Der QloApps-Kern ist unter OSL 3.0 lizenziert, während die Module und Designs unter AFL 3.0 lizenziert sind.',
|
||||
'I agree to the above terms and conditions.' => 'Ich stimme den oben genannten Bedingungen zu.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Ich stimme zu, an der Verbesserung der Lösung mitzuwirken, indem ich anonyme Informationen zu meiner Konfiguration sende.',
|
||||
'Done!' => 'Erledigt!',
|
||||
'An error occurred during installation...' => 'Während der Installation ist ein Fehler aufgetreten ...',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Sie können die Links in der linken Spalte verwenden, um zu den vorherigen Schritten zurückzukehren, oder den Installationsvorgang neu starten, indem Sie <a href="%s">hier klicken</a>.',
|
||||
'Suggested Modules' => 'Vorgeschlagene Module',
|
||||
'Find just the right features on QloApps Addons to make your hospitality business a success.' => 'Finden Sie bei QloApps Addons genau die richtigen Funktionen, um Ihr Gastgewerbe erfolgreich zu machen.',
|
||||
'Discover All Modules' => 'Entdecken Sie alle Module',
|
||||
'Suggested Themes' => 'Vorgeschlagene Themen',
|
||||
'Create a design that suits your hotel and your customers, with a ready-to-use template theme.' => 'Erstellen Sie mit einem gebrauchsfertigen Vorlagenthema ein Design, das zu Ihrem Hotel und Ihren Kunden passt.',
|
||||
'Discover All Themes' => 'Alle Themen entdecken',
|
||||
'Your installation is finished!' => 'Ihre Installation ist abgeschlossen!',
|
||||
'You have just finished installing QloApps. Thank you for using QloApps!' => 'Sie haben gerade die Installation von QloApps abgeschlossen. Vielen Dank für die Verwendung von QloApps!',
|
||||
'Please remember your login information:' => 'Bitte merken Sie sich Ihre Login-Daten:',
|
||||
'E-mail' => 'Email',
|
||||
'Print my login information' => 'Meine Zugangsdaten ausdrucken',
|
||||
'Display' => 'Anzeige',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Aus Sicherheitsgründen müssen Sie den Ordner „install“ löschen.',
|
||||
'Back Office' => 'Backoffice',
|
||||
'Manage your website using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Verwalten Sie Ihre Website über Ihr Back Office. Verwalten Sie Ihre Bestellungen und Kunden, fügen Sie Module hinzu, ändern Sie Designs usw.',
|
||||
'Manage Your Website' => 'Verwalten Sie Ihre Website',
|
||||
'Front Office' => 'Vorderbüro',
|
||||
'Discover your website as your future customers will see it!' => 'Entdecken Sie Ihre Website, wie Ihre zukünftigen Kunden sie sehen werden!',
|
||||
'Discover Your Website' => 'Entdecken Sie Ihre Website',
|
||||
'Share your experience with your friends!' => 'Teilen Sie Ihre Erfahrungen mit Ihren Freunden!',
|
||||
'I just built an online hotel booking website with QloApps!' => 'Ich habe gerade mit QloApps eine Online-Website zur Hotelbuchung erstellt!',
|
||||
'See all the features here : https://qloapps.com/qlo-reservation-system/' => 'Alle Funktionen finden Sie hier: https://qloapps.com/qlo-reservation-system/',
|
||||
'Tweet' => 'Tweet',
|
||||
'Share' => 'Aktie',
|
||||
'Google+' => 'Google+',
|
||||
'Pinterest' => 'Pinterest',
|
||||
'LinkedIn' => 'LinkedIn',
|
||||
'We are currently checking QloApps compatibility with your system environment' => 'Wir prüfen derzeit die Kompatibilität von QloApps mit Ihrer Systemumgebung',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Wenn Sie Fragen haben, besuchen Sie bitte unsere <a href="%1$s" target="_blank">Dokumentation</a> und unser <a href="%2$s" target="_blank">Community-Forum</a>.',
|
||||
'QloApps compatibility with your system environment has been verified!' => 'Die Kompatibilität von QloApps mit Ihrer Systemumgebung wurde überprüft!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Hoppla! Bitte korrigieren Sie die folgenden Punkte und klicken Sie dann auf „Informationen aktualisieren“, um die Kompatibilität Ihres neuen Systems zu testen.',
|
||||
'Refresh these settings' => 'Diese Einstellungen aktualisieren',
|
||||
'QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.' => 'Zum Ausführen von QloApps sind mindestens 128 MB Arbeitsspeicher erforderlich: Bitte überprüfen Sie die Direktive „memory_limit“ in Ihrer php.ini-Datei oder wenden Sie sich diesbezüglich an Ihren Hostprovider.',
|
||||
'Welcome to the QloApps %s Installer' => 'Willkommen beim QloApps %s Installer',
|
||||
'Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.' => 'Die Installation von QloApps ist schnell und einfach. In nur wenigen Augenblicken werden Sie Teil einer Community. Sie sind auf dem Weg, Ihre eigene Hotelbuchungswebsite zu erstellen, die Sie jeden Tag problemlos verwalten können.',
|
||||
'If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.' => 'Wenn Sie Hilfe benötigen, <a href="%1$s" target="_blank">sehen Sie sich dieses kurze Tutorial an</a> oder lesen Sie <a href="%2$s" target="_blank">unsere Dokumentation</a>.',
|
||||
'Continue the installation in:' => 'Setzen Sie die Installation fort in:',
|
||||
'The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!' => 'Die obige Sprachauswahl gilt nur für den Installationsassistenten. Sobald QloApps installiert ist, können Sie die Sprache Ihrer Website aus über %d Übersetzungen auswählen, alles kostenlos!',
|
||||
),
|
||||
);
|
||||
@@ -6,12 +6,12 @@
|
||||
<admin_template>order_refund_pending_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_denied">
|
||||
<name>Refund denied</name>
|
||||
<name>Denied</name>
|
||||
<customer_template>order_refund_denied_customer</customer_template>
|
||||
<admin_template>order_refund_denied_admin</admin_template>
|
||||
</order_return_state>
|
||||
<order_return_state id="Refund_completed">
|
||||
<name>Refund completed</name>
|
||||
<name>Completed</name>
|
||||
<customer_template>order_refund_completed_customer</customer_template>
|
||||
<admin_template>order_refund_completed_admin</admin_template>
|
||||
</order_return_state>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user