fixed the missing translation issue from the templates of the modules
This commit is contained in:
@@ -59,6 +59,6 @@
|
||||
{addJsDefL name=placeholder_blocknewsletter}{l s='Enter your e-mail' mod='blocknewsletter' js=1}{/addJsDefL}
|
||||
{addJsDefL name=email_js_error}{l s='Please Enter Valid E-mail' mod='blocknewsletter' js=1}{/addJsDefL}
|
||||
{if isset($msg) && $msg}
|
||||
{addJsDefL name=alert_blocknewsletter}{l s='Newsletter : %1$s' sprintf=$msg js=1 mod="blocknewsletter"}{/addJsDefL}
|
||||
{addJsDefL name=alert_blocknewsletter}{l s='Newsletter : %1$s' sprintf=$msg js=1 mod='blocknewsletter'}{/addJsDefL}
|
||||
{/if}
|
||||
{/strip}
|
||||
@@ -26,25 +26,25 @@
|
||||
<section id="dashactivity" class="widget allow_push">
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-time"></i> {l s="Activity overview" mod="dashactivity"}
|
||||
<i class="icon-time"></i> {l s="Activity overview" mod='dashactivity'}
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="#" onclick="toggleDashConfig('dashactivity'); return false;" title="{l s="Configure" mod="dashactivity"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="toggleDashConfig('dashactivity'); return false;" title="{l s="Configure" mod='dashactivity'}">
|
||||
<i class="process-icon-configure"></i>
|
||||
</a>
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashactivity'); return false;" title="{l s="Refresh" mod="dashactivity"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashactivity'); return false;" title="{l s="Refresh" mod='dashactivity'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<section id="dashactivity_config" class="dash_config hide">
|
||||
<header><i class="icon-wrench"></i> {l s="Configuration" mod="dashactivity"}</header>
|
||||
<header><i class="icon-wrench"></i> {l s="Configuration" mod='dashactivity'}</header>
|
||||
{$dashactivity_config_form}
|
||||
</section>
|
||||
|
||||
<section class="activity-section dash-live">
|
||||
<span class="title">
|
||||
<a href="{$link->getAdminLink("AdminStats")|escape:"html":"UTF-8"}&module=statslive" target="_blank">
|
||||
<span>{l s="Online Visitors" mod="dashactivity"}</span>
|
||||
<span>{l s="Online Visitors" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="value">
|
||||
@@ -52,7 +52,7 @@
|
||||
</span>
|
||||
<div class="sub-title">
|
||||
<small class="text-muted">
|
||||
{l s="in the last %d minutes" sprintf=$DASHACTIVITY_VISITOR_ONLINE|intval mod="dashactivity"}
|
||||
{l s="in the last %d minutes" sprintf=$DASHACTIVITY_VISITOR_ONLINE|intval mod='dashactivity'}
|
||||
</small>
|
||||
</div>
|
||||
</section>
|
||||
@@ -60,7 +60,7 @@
|
||||
<section class="activity-section dash-live">
|
||||
<span class="title">
|
||||
<a href="{$link->getAdminLink("AdminCarts")|escape:"html":"UTF-8"}" target="_blank">
|
||||
<span>{l s="Active Booking Carts" mod="dashactivity"}</span>
|
||||
<span>{l s="Active Booking Carts" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="value">
|
||||
@@ -68,20 +68,20 @@
|
||||
</span>
|
||||
<div class="sub-title">
|
||||
<small class="text-muted">
|
||||
{l s="in the last %d minutes" sprintf=$DASHACTIVITY_CART_ACTIVE|intval mod="dashactivity"}
|
||||
{l s="in the last %d minutes" sprintf=$DASHACTIVITY_CART_ACTIVE|intval mod='dashactivity'}
|
||||
</small>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="dash_pending" class="activity-section">
|
||||
<span class="title">
|
||||
<span>{l s="Currently Pending" mod="dashactivity"}</span>
|
||||
<span>{l s="Currently Pending" mod='dashactivity'}</span>
|
||||
</span>
|
||||
<ul class="stats-list">
|
||||
<li>
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminOrders")|escape:"html":"UTF-8"}" target="_blank">
|
||||
<span>{l s="Bookings" mod="dashactivity"}</span>
|
||||
<span>{l s="Bookings" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -91,7 +91,7 @@
|
||||
<li>
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminOrderRefundRequests")|escape:"html":"UTF-8"}" target="_blank">
|
||||
<span>{l s="Refunds" mod="dashactivity"}</span>
|
||||
<span>{l s="Refunds" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -101,7 +101,7 @@
|
||||
<li>
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminCarts")|escape:"html":"UTF-8"}" target="_blank">
|
||||
<span>{l s="Abandoned Carts" mod="dashactivity"}</span>
|
||||
<span>{l s="Abandoned Carts" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -114,16 +114,16 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-time"></i> {l s="Activity overview" mod="dashactivity"}
|
||||
<i class="icon-time"></i> {l s="Activity overview" mod='dashactivity'}
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashactivity'); return false;" title="{l s="Refresh" mod="dashactivity"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashactivity'); return false;" title="{l s="Refresh" mod='dashactivity'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<section id="dash_customers" class="activity-section">
|
||||
<span class="title">
|
||||
<span>{l s="Customers & Newsletters" mod="dashactivity"}</span>
|
||||
<span>{l s="Customers & Newsletters" mod='dashactivity'}</span>
|
||||
</span>
|
||||
<div class="sub-title">
|
||||
<small class="text-muted" id="customers-newsletters-subtitle"></small>
|
||||
@@ -133,7 +133,7 @@
|
||||
<li>
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminCustomers")|escape:"html":"UTF-8"}" target="_blank">
|
||||
<span>{l s="New Customers" mod="dashactivity"}</span>
|
||||
<span>{l s="New Customers" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -144,7 +144,7 @@
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminStats")|escape:"html":"UTF-8"}&module=statsnewsletter"
|
||||
target="_blank">
|
||||
<span>{l s="New Subscriptions" mod="dashactivity"}</span>
|
||||
<span>{l s="New Subscriptions" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -155,7 +155,7 @@
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminModules")|escape}&configure=blocknewsletter&module_name=blocknewsletter"
|
||||
target="_blank">
|
||||
<span>{l s="Total Subscribers" mod="dashactivity"}</span>
|
||||
<span>{l s="Total Subscribers" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
<section id="dash_traffic" class="activity-section">
|
||||
<span class="title">
|
||||
<span>{l s="Traffic" mod="dashactivity"}</span>
|
||||
<span>{l s="Traffic" mod='dashactivity'}</span>
|
||||
</span>
|
||||
<div class="sub-title">
|
||||
<small class="text-muted" id="traffic-subtitle"></small>
|
||||
@@ -177,7 +177,7 @@
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminStats")|escape:"html":"UTF-8"}&module=statsforecast"
|
||||
target="_blank">
|
||||
<span>{l s="Visits" mod="dashactivity"}</span>
|
||||
<span>{l s="Visits" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -188,7 +188,7 @@
|
||||
<span class="item-label">
|
||||
<a href="{$link->getAdminLink("AdminStats")|escape:"html":"UTF-8"}&module=statsvisits"
|
||||
target="_blank">
|
||||
<span>{l s="Unique Visitors" mod="dashactivity"}</span>
|
||||
<span>{l s="Unique Visitors" mod='dashactivity'}</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class="item-value">
|
||||
@@ -197,7 +197,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<span class="item-label heading">
|
||||
<span>{l s="Traffic Sources" mod="dashactivity"}</span>
|
||||
<span>{l s="Traffic Sources" mod='dashactivity'}</span>
|
||||
</span>
|
||||
|
||||
<ul class="data_list_small" id="dash_traffic_source"></ul>
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
<section id="dashavailability" class="panel widget allow_push">
|
||||
<header class="panel-heading">
|
||||
<i class="icon-bar-chart"></i>
|
||||
{l s="Availability" mod="dashavailability"}
|
||||
{l s="Availability" mod='dashavailability'}
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" title="Refresh" onclick="refreshAvailabilityBarData();" title="{l s="Refresh" mod="dashavailability"}">
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" title="Refresh" onclick="refreshAvailabilityBarData();" title="{l s="Refresh" mod='dashavailability'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
@@ -35,7 +35,7 @@
|
||||
onclick="availDatePicker()">
|
||||
<i class="icon-calendar-empty"></i>
|
||||
<span class="hidden-xs bar-date">
|
||||
{l s="From" mod="dashavailability"}
|
||||
{l s="From" mod='dashavailability'}
|
||||
<strong>{$dateFromBar|escape:'htmlall':'UTF-8'}</strong>
|
||||
</span>
|
||||
<i class="icon-caret-down"></i>
|
||||
@@ -45,17 +45,17 @@
|
||||
</div>
|
||||
<div class="col-xs-2 col-md-2 col-lg-2 pull-left">
|
||||
<button id='avail_bar_day_5' class="avail-bar-btn bar-btn-active" data-days="5">
|
||||
{l s="5 Days" mod="dashavailability"}
|
||||
{l s="5 Days" mod='dashavailability'}
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-xs-2 col-md-2 col-lg-2 pull-left">
|
||||
<button id='avail_bar_day_15' class="avail-bar-btn" data-days="15)">
|
||||
{l s="15 Days" mod="dashavailability"}
|
||||
{l s="15 Days" mod='dashavailability'}
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-xs-2 col-md-2 col-lg-2 pull-left">
|
||||
<button id='avail_bar_day_30' class="avail-bar-btn" data-days="30)">
|
||||
{l s="30 Days" mod="dashavailability"}
|
||||
{l s="30 Days" mod='dashavailability'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -43,12 +43,12 @@
|
||||
<a href="javascript:void(0);" onclick="dashgoals_changeYear('backward');" class="btn btn-default btn-xs"><i class="icon-backward"></i></a>
|
||||
<a href="javascript:void(0);" onclick="dashgoals_changeYear('forward');" class="btn btn-default btn-xs"><i class="icon-forward"></i></a>
|
||||
</span>
|
||||
|
||||
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="toggleDashConfig('dashgoals');" title="{l s="Configure" mod="dashtrends"}">
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="toggleDashConfig('dashgoals');" title="{l s="Configure" mod='dashtrends'}">
|
||||
<i class="process-icon-configure"></i>
|
||||
</a>
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="refreshDashboard('dashgoals');" title="{l s="Refresh" mod="dashtrends"}">
|
||||
<a class="list-toolbar-btn" href="javascript:void(0);" onclick="refreshDashboard('dashgoals');" title="{l s="Refresh" mod='dashtrends'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
@@ -61,30 +61,30 @@
|
||||
<div class="dashgoals row">
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<label class="btn btn-default label-tooltip" style="background-color:{$colors[0]};"
|
||||
data-toggle="tooltip" data-original-title="{l s="Traffic is the measure of number of visitors on your website over a given time period." mod="dashgoals"}">
|
||||
data-toggle="tooltip" data-original-title="{l s="Traffic is the measure of number of visitors on your website over a given time period." mod='dashgoals'}">
|
||||
<input type="radio" name="options" onchange="selectDashgoalsChart('traffic');"/>
|
||||
{l s="Traffic" mod="dashgoals"}
|
||||
{l s="Traffic" mod='dashgoals'}
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<label class="btn btn-default label-tooltip" style="background-color:{$colors[1]};"
|
||||
data-toggle="tooltip" data-original-title="{l s="Conversion is the measure of visitors who make a booking on your website over a given time period." mod="dashgoals"}">
|
||||
data-toggle="tooltip" data-original-title="{l s="Conversion is the measure of visitors who make a booking on your website over a given time period." mod='dashgoals'}">
|
||||
<input type="radio" name="options" onchange="selectDashgoalsChart('conversion');"/>
|
||||
{l s="Conversion" mod="dashgoals"}
|
||||
{l s="Conversion" mod='dashgoals'}
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<label class="btn btn-default label-tooltip" style="background-color:{$colors[2]};"
|
||||
data-toggle="tooltip" data-original-title="{l s="Average Order Value is the average amount spent on each booking over a given time period." mod="dashgoals"}">
|
||||
data-toggle="tooltip" data-original-title="{l s="Average Order Value is the average amount spent on each booking over a given time period." mod='dashgoals'}">
|
||||
<input type="radio" name="options" onchange="selectDashgoalsChart('avg_cart_value');"/>
|
||||
{l s="Avg. Order Value" mod="dashgoals"}
|
||||
{l s="Avg. Order Value" mod='dashgoals'}
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<label class="btn btn-default label-tooltip" style="background-color:{$colors[3]};"
|
||||
data-toggle="tooltip" data-original-title="{l s="Sales is the measure of total sales on your website over a given time period." mod="dashgoals"}">
|
||||
data-toggle="tooltip" data-original-title="{l s="Sales is the measure of total sales on your website over a given time period." mod='dashgoals'}">
|
||||
<input type="radio" name="options" onchange="selectDashgoalsChart('sales');"/>
|
||||
{l s="Sales" mod="dashgoals"}
|
||||
{l s="Sales" mod='dashgoals'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="badge-strip" style="background-color: #266FFE;"></div>
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">{l s="Arrivals" mod="dashguestcycle"}</p>
|
||||
<p class="text-center">{l s="Arrivals" mod='dashguestcycle'}</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
<p class="text-center">
|
||||
@@ -42,7 +42,7 @@
|
||||
<div class="badge-strip" style="background-color: #72C3F0;"></div>
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">{l s="Departures" mod="dashguestcycle"}</p>
|
||||
<p class="text-center">{l s="Departures" mod='dashguestcycle'}</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
<p class="text-center">
|
||||
@@ -57,7 +57,7 @@
|
||||
<div class="badge-strip" style="background-color: #56CE56;"></div>
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">{l s="New Bookings" mod="dashguestcycle"}</p>
|
||||
<p class="text-center">{l s="New Bookings" mod='dashguestcycle'}</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
<p class="text-center">
|
||||
@@ -72,7 +72,7 @@
|
||||
<div class="badge-strip" style="background-color: #FFC148;"></div>
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">{l s="Stay Overs" mod="dashguestcycle"}</p>
|
||||
<p class="text-center">{l s="Stay Overs" mod='dashguestcycle'}</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
<p class="text-center">
|
||||
@@ -88,7 +88,7 @@
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">
|
||||
{l s="Guest Messages" mod="dashguestcycle"}
|
||||
{l s="Guest Messages" mod='dashguestcycle'}
|
||||
</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
@@ -105,7 +105,7 @@
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">
|
||||
{l s="Cancelled Bookings" mod="dashguestcycle"}
|
||||
{l s="Cancelled Bookings" mod='dashguestcycle'}
|
||||
</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
@@ -122,7 +122,7 @@
|
||||
<div class="badge-content-wrapper">
|
||||
<div class="title-wrapper">
|
||||
<p class="text-center">
|
||||
{l s="Guests (Adults/Children)" mod="dashguestcycle"}
|
||||
{l s="Guests (Adults/Children)" mod='dashguestcycle'}
|
||||
</p>
|
||||
</div>
|
||||
<div class="value-wrapper">
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
<section id="dashinsights" class="widget allow_push">
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-area-chart"></i> {l s="Insights" mod="dashinsights"}
|
||||
<i class="icon-area-chart"></i> {l s="Insights" mod='dashinsights'}
|
||||
<span><small class="text-muted" id="dashinsights_heading_zone_one"></small></span>
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashinsights'); return false;" title="{l s="Refresh" mod="dashinsights"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashinsights'); return false;" title="{l s="Refresh" mod='dashinsights'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<p class="chart-label">{l s='Length of Stay (%)'}</p>
|
||||
<p class="chart-label">{l s='Length of Stay (%)' mod='dashinsights'}</p>
|
||||
<div class="chart with-transitions insight-chart-wrap" id="dashinsights_length_of_stay">
|
||||
<svg></svg>
|
||||
</div>
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
<section>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<p class="chart-label">{l s='Room Nights'}</p>
|
||||
<p class="chart-label">{l s='Room Nights' mod='dashinsights'}</p>
|
||||
<div class="chart with-transitions insight-chart-wrap" id="dashinsights_room_nights">
|
||||
<svg></svg>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<p class="chart-label">{l s='Days of the Week'}</p>
|
||||
<p class="chart-label">{l s='Days of the Week' mod='dashinsights'}</p>
|
||||
<div class="chart with-transitions insight-chart-wrap" id="dashinsights_days_of_the_week">
|
||||
<svg></svg>
|
||||
</div>
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
<header class="panel-heading">
|
||||
<i class="icon-bar-chart"></i> {l s='Sales' mod='dashproducts'}
|
||||
<span class="panel-heading-action">
|
||||
<a class="list-toolbar-btn" href="#" onclick="toggleDashConfig('dashproducts'); return false;" title="{l s="Configure" mod="dashproducts"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="toggleDashConfig('dashproducts'); return false;" title="{l s="Configure" mod='dashproducts'}">
|
||||
<i class="process-icon-configure"></i>
|
||||
</a>
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashproducts'); return false;" title="{l s="Refresh" mod="dashproducts"}">
|
||||
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashproducts'); return false;" title="{l s="Refresh" mod='dashproducts'}">
|
||||
<i class="process-icon-refresh"></i>
|
||||
</a>
|
||||
</span>
|
||||
@@ -41,22 +41,22 @@
|
||||
<ul class="nav nav-pills row">
|
||||
<li class="col-xs-6 col-sm-3 nav-item active">
|
||||
<a href="#dash_recent_orders" data-toggle="tab">
|
||||
<span>{l s="New Bookings" mod="dashproducts"}</span>
|
||||
<span>{l s="New Bookings" mod='dashproducts'}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="col-xs-6 col-sm-3 nav-item">
|
||||
<a href="#dash_best_sellers" data-toggle="tab">
|
||||
<span>{l s="Best Selling" mod="dashproducts"}</span>
|
||||
<span>{l s="Best Selling" mod='dashproducts'}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="col-xs-6 col-sm-3 nav-item">
|
||||
<a href="#dash_most_viewed" data-toggle="tab">
|
||||
<span>{l s="Most Viewed" mod="dashproducts"}</span>
|
||||
<span>{l s="Most Viewed" mod='dashproducts'}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="col-xs-6 col-sm-3 nav-item">
|
||||
<a href="#dash_top_search" data-toggle="tab">
|
||||
<span>{l s="Top Searches" mod="dashproducts"}</span>
|
||||
<span>{l s="Top Searches" mod='dashproducts'}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<div class="tab-content panel">
|
||||
<div class="tab-pane active" id="dash_recent_orders">
|
||||
<h3>{l s="Last %d bookings" sprintf=$DASHPRODUCT_NBR_SHOW_LAST_ORDER|intval mod="dashproducts"}</h3>
|
||||
<h3>{l s="Last %d bookings" sprintf=$DASHPRODUCT_NBR_SHOW_LAST_ORDER|intval mod='dashproducts'}</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table data_table" id="table_recent_orders">
|
||||
<thead></thead>
|
||||
@@ -74,8 +74,8 @@
|
||||
</div>
|
||||
<div class="tab-pane" id="dash_best_sellers">
|
||||
<h3>
|
||||
{l s="Top %d room types" sprintf=$DASHPRODUCT_NBR_SHOW_BEST_SELLER|intval mod="dashproducts"}
|
||||
<span>{l s="From" mod="dashproducts"} {$date_from} {l s="to" mod="dashproducts"} {$date_to}</span>
|
||||
{l s="Top %d room types" sprintf=$DASHPRODUCT_NBR_SHOW_BEST_SELLER|intval mod='dashproducts'}
|
||||
<span>{l s="From" mod='dashproducts'} {$date_from} {l s="to" mod='dashproducts'} {$date_to}</span>
|
||||
</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table data_table" id="table_best_sellers">
|
||||
@@ -86,8 +86,8 @@
|
||||
</div>
|
||||
<div class="tab-pane" id="dash_most_viewed">
|
||||
<h3>
|
||||
{l s="Most Viewed" mod="dashproducts"}
|
||||
<span>{l s="From" mod="dashproducts"} {$date_from} {l s="to" mod="dashproducts"} {$date_to}</span>
|
||||
{l s="Most Viewed" mod='dashproducts'}
|
||||
<span>{l s="From" mod='dashproducts'} {$date_from} {l s="to" mod='dashproducts'} {$date_to}</span>
|
||||
</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table data_table" id="table_most_viewed">
|
||||
@@ -98,8 +98,8 @@
|
||||
</div>
|
||||
<div class="tab-pane" id="dash_top_search">
|
||||
<h3>
|
||||
{l s="Top %d most searched hotels" sprintf=$DASHPRODUCT_NBR_SHOW_TOP_SEARCH|intval mod="dashproducts"}
|
||||
<span>{l s="From" mod="dashproducts"} {$date_from} {l s="to" mod="dashproducts"} {$date_to}</span>
|
||||
{l s="Top %d most searched hotels" sprintf=$DASHPRODUCT_NBR_SHOW_TOP_SEARCH|intval mod='dashproducts'}
|
||||
<span>{l s="From" mod='dashproducts'} {$date_from} {l s="to" mod='dashproducts'} {$date_to}</span>
|
||||
</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table data_table" id="table_top_10_most_search">
|
||||
|
||||
@@ -96,9 +96,9 @@
|
||||
<div class="col-lg-9 ">
|
||||
<span class="switch prestashop-switch fixed-width-lg">
|
||||
<input type="radio" {if isset($edit) && $hotel_info.active==1} checked="checked" {else}checked="checked"{/if} value="1" id="ENABLE_HOTEL_on" name="ENABLE_HOTEL">
|
||||
<label for="ENABLE_HOTEL_on">{l s='Yes'}</label>
|
||||
<label for="ENABLE_HOTEL_on">{l s='Yes' mod='hotelreservationsystem'}</label>
|
||||
<input {if isset($edit) && $hotel_info.active==0} checked="checked" {/if} type="radio" value="0" id="ENABLE_HOTEL_off" name="ENABLE_HOTEL">
|
||||
<label for="ENABLE_HOTEL_off">{l s='No'}</label>
|
||||
<label for="ENABLE_HOTEL_off">{l s='No' mod='hotelreservationsystem'}</label>
|
||||
<a class="slide-button btn"></a>
|
||||
</span>
|
||||
</div>
|
||||
@@ -181,11 +181,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-3 required" for="hotel_country">{l s='Rating :'}</label>
|
||||
<label class="control-label col-sm-3 required" for="hotel_country">{l s='Rating :' mod='hotelreservationsystem'}</label>
|
||||
<div class="col-sm-6">
|
||||
<div style="width: 195px;">
|
||||
<select class="form-control" name="hotel_rating" id="hotel_rating" value="">
|
||||
<option value="">{l s='No star'}</option>
|
||||
<option value="">{l s='No star' mod='hotelreservationsystem'}</option>
|
||||
<option value="1" {if (isset($smarty.post.hotel_rating) && $smarty.post.hotel_rating == '1') || isset($edit) && $hotel_info['rating'] == '1'}selected{/if}>*</option>
|
||||
<option value="2" {if (isset($smarty.post.hotel_rating) && $smarty.post.hotel_rating == '2') || isset($edit) && $hotel_info['rating'] == '2'}selected{/if}>**</option>
|
||||
<option value="3" {if (isset($smarty.post.hotel_rating) && $smarty.post.hotel_rating == '3') || isset($edit) && $hotel_info['rating'] == '3'}selected{/if}>***</option>
|
||||
@@ -318,9 +318,9 @@
|
||||
<div class="col-lg-6">
|
||||
<span class="switch prestashop-switch fixed-width-lg">
|
||||
<input type="radio" {if isset($edit) && isset($order_restrict_date_info.use_global_max_order_date) && $order_restrict_date_info.use_global_max_order_date} checked="checked" {else} checked="checked" {/if} value="1" id="enable_use_global_max_order_date_on" name="enable_use_global_max_order_date">
|
||||
<label for="enable_use_global_max_order_date_on">{l s='Yes'}</label>
|
||||
<label for="enable_use_global_max_order_date_on">{l s='Yes' mod='hotelreservationsystem'}</label>
|
||||
<input {if isset($edit) && isset($order_restrict_date_info.use_global_max_order_date) && !$order_restrict_date_info.use_global_max_order_date} checked="checked" {/if} type="radio" value="0" id="enable_use_global_max_order_date_off" name="enable_use_global_max_order_date">
|
||||
<label for="enable_use_global_max_order_date_off">{l s='No'}</label>
|
||||
<label for="enable_use_global_max_order_date_off">{l s='No' mod='hotelreservationsystem'}</label>
|
||||
<a class="slide-button btn"></a>
|
||||
</span>
|
||||
</div>
|
||||
@@ -338,9 +338,9 @@
|
||||
<div class="col-lg-6">
|
||||
<span class="switch prestashop-switch fixed-width-lg">
|
||||
<input type="radio" {if isset($edit) && isset($order_restrict_date_info.use_global_preparation_time) && $order_restrict_date_info.use_global_preparation_time} checked="checked" {else} checked="checked" {/if} value="1" id="enable_use_global_preparation_time_on" name="enable_use_global_preparation_time">
|
||||
<label for="enable_use_global_preparation_time_on">{l s='Yes'}</label>
|
||||
<label for="enable_use_global_preparation_time_on">{l s='Yes' mod='hotelreservationsystem'}</label>
|
||||
<input {if isset($edit) && isset($order_restrict_date_info.use_global_preparation_time) && !$order_restrict_date_info.use_global_preparation_time} checked="checked" {/if} type="radio" value="0" id="enable_use_global_preparation_time_off" name="enable_use_global_preparation_time">
|
||||
<label for="enable_use_global_preparation_time_off">{l s='No'}</label>
|
||||
<label for="enable_use_global_preparation_time_off">{l s='No' mod='hotelreservationsystem'}</label>
|
||||
<a class="slide-button btn"></a>
|
||||
</span>
|
||||
</div>
|
||||
@@ -436,7 +436,7 @@
|
||||
</div>
|
||||
{else}
|
||||
<div class="alert alert-warning">
|
||||
{l s='No refund rules are created yet.' mod='hotelreservationsystem'} {l s='You can create refund rules by visiting '} <a target="_blank" href="{$link->getAdminLink('AdminOrderRefundRules')}">{l s='create refund rules'}</a>
|
||||
{l s='No refund rules are created yet.' mod='hotelreservationsystem'} {l s='You can create refund rules by visiting ' mod='hotelreservationsystem'} <a target="_blank" href="{$link->getAdminLink('AdminOrderRefundRules')}">{l s='create refund rules' mod='hotelreservationsystem'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
{* room type occupancy Details *}
|
||||
<div>
|
||||
<div class="form-group">
|
||||
<b>{l s='Room Occupancy'}:</b>
|
||||
<span>{l s='Maximum adults'} : {$book_v['room_type_info']['max_adults']}</span> <span>{l s='Maximum children'} : {$book_v['room_type_info']['max_children']}</span> <span>{l s='Maximum guests'} : {$book_v['room_type_info']['max_guests']}</span>
|
||||
<b>{l s='Room Occupancy' mod='hotelreservationsystem'}:</b>
|
||||
<span>{l s='Maximum adults' mod='hotelreservationsystem'} : {$book_v['room_type_info']['max_adults']}</span> <span>{l s='Maximum children' mod='hotelreservationsystem'} : {$book_v['room_type_info']['max_children']}</span> <span>{l s='Maximum guests' mod='hotelreservationsystem'} : {$book_v['room_type_info']['max_guests']}</span>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="nav nav-tabs">
|
||||
@@ -56,7 +56,7 @@
|
||||
<td class="booking_occupancy">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-default btn-left btn-block booking_guest_occupancy input-occupancy" type="button">
|
||||
<span>{l s='Select occupancy'}</span>
|
||||
<span>{l s='Select occupancy' mod='hotelreservationsystem'}</span>
|
||||
</button>
|
||||
<div class="dropdown-menu booking_occupancy_wrapper well well-sm">
|
||||
<input type="hidden" class="max_adults" value="{if isset($book_v)}{$book_v['max_adults']|escape:'html':'UTF-8'}{/if}">
|
||||
@@ -64,22 +64,22 @@
|
||||
<input type="hidden" class="max_guests" value="{if isset($book_v)}{$book_v['max_guests']|escape:'html':'UTF-8'}{/if}">
|
||||
<div class="booking_occupancy_inner row">
|
||||
<div class="occupancy_info_block col-sm-12" occ_block_index="0">
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1'}</label></div>
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1' mod='hotelreservationsystem'}</label></div>
|
||||
<div class="col-sm-12">
|
||||
<div class="row">
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Adults'}</label>
|
||||
<label>{l s='Adults' mod='hotelreservationsystem'}</label>
|
||||
<input type="number" class="form-control num_occupancy num_adults" name="occupancy[0][adults]" value="1" min="1" max="{if isset($book_v)}{$book_v['max_adults']|escape:'html':'UTF-8'}{/if}">
|
||||
</div>
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Children'} <span class="label-desc-txt"></span></label>
|
||||
<label>{l s='Children' mod='hotelreservationsystem'} <span class="label-desc-txt"></span></label>
|
||||
<input type="number" class="form-control num_occupancy num_children" name="occupancy[0][children]" value="0" min="0" max="{if isset($book_v)}{$book_v['max_children']|escape:'html':'UTF-8'}{else}{$max_child_in_room}{/if}">
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years'})
|
||||
({l s='Below' mod='hotelreservationsystem'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years' mod='hotelreservationsystem'})
|
||||
</div>
|
||||
</div>
|
||||
<div class="row children_age_info_block" style="display:none">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="">{l s='All Children'}</label>
|
||||
<label class="">{l s='All Children' mod='hotelreservationsystem'}</label>
|
||||
<div class="">
|
||||
<div class="row children_ages">
|
||||
</div>
|
||||
@@ -143,7 +143,7 @@
|
||||
<td class="booking_occupancy">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-default btn-left btn-block booking_guest_occupancy input-occupancy" type="button">
|
||||
<span>{l s='Select occupancy'}</span>
|
||||
<span>{l s='Select occupancy' mod='hotelreservationsystem'}</span>
|
||||
</button>
|
||||
<div class="dropdown-menu booking_occupancy_wrapper well well-sm">
|
||||
<input type="hidden" class="max_adults" value="{if isset($book_v)}{$book_v['max_adults']|escape:'html':'UTF-8'}{/if}">
|
||||
@@ -151,22 +151,22 @@
|
||||
<input type="hidden" class="max_guests" value="{if isset($book_v)}{$book_v['max_guests']|escape:'html':'UTF-8'}{/if}">
|
||||
<div class="booking_occupancy_inner row">
|
||||
<div class="occupancy_info_block col-sm-12" occ_block_index="0">
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1'}</label></div>
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1' mod='hotelreservationsystem'}</label></div>
|
||||
<div class="col-sm-12">
|
||||
<div class="row">
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Adults'}</label>
|
||||
<label>{l s='Adults' mod='hotelreservationsystem'}</label>
|
||||
<input type="number" class="form-control num_occupancy num_adults" name="occupancy[0][adults]" value="1" min="1" max="{if isset($book_v)}{$book_v['max_adults']|escape:'html':'UTF-8'}{/if}">
|
||||
</div>
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Children'} <span class="label-desc-txt"></span></label>
|
||||
<label>{l s='Children' mod='hotelreservationsystem'} <span class="label-desc-txt"></span></label>
|
||||
<input type="number" class="form-control num_occupancy num_children" name="occupancy[0][children]" value="0" min="0" max="{if isset($book_v)}{$book_v['max_children']|escape:'html':'UTF-8'}{else}{$max_child_in_room}{/if}">
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years'})
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years' mod='hotelreservationsystem'})
|
||||
</div>
|
||||
</div>
|
||||
<div class="row children_age_info_block" style="display:none">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="">{l s='All Children'}</label>
|
||||
<label class="">{l s='All Children' mod='hotelreservationsystem'}</label>
|
||||
<div class="">
|
||||
<div class="row children_ages">
|
||||
</div>
|
||||
|
||||
@@ -34,6 +34,6 @@
|
||||
</div>
|
||||
{else}
|
||||
<div class="col-sm-12">
|
||||
<p class="alert alert-warning"> {l s="No service products found." mod="hotelreservationsystem"}</p>
|
||||
<p class="alert alert-warning"> {l s="No service products found." mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -64,7 +64,7 @@
|
||||
<div class="col-sm-8">
|
||||
<div class="dropdown">
|
||||
<button class="booking_guest_occupancy btn btn-default btn-left btn-block input-occupancy" id="search_occupancy" type="button">
|
||||
<span class="">{if (isset($occupancy_adults) && $occupancy_adults)}{$occupancy_adults} {if $occupancy_adults > 1}{l s='Adults'}{else}{l s='Adult'}{/if}, {if isset($occupancy_children) && $occupancy_children}{$occupancy_children} {if $occupancy_children > 1} {l s='Children'}{else}{l s='Child'}{/if}, {/if}{$occupancy|count} {if $occupancy|count > 1}{l s='Rooms'}{else}{l s='Room'}{/if}{else}{l s='1 Adult, 1 Room'}{/if}</span>
|
||||
<span class="">{if (isset($occupancy_adults) && $occupancy_adults)}{$occupancy_adults} {if $occupancy_adults > 1}{l s='Adults' mod='hotelreservationsystem'}{else}{l s='Adult' mod='hotelreservationsystem'}{/if}, {if isset($occupancy_children) && $occupancy_children}{$occupancy_children} {if $occupancy_children > 1} {l s='Children' mod='hotelreservationsystem'}{else}{l s='Child' mod='hotelreservationsystem'}{/if}, {/if}{$occupancy|count} {if $occupancy|count > 1}{l s='Rooms' mod='hotelreservationsystem'}{else}{l s='Room' mod='hotelreservationsystem'}{/if}{else}{l s='1 Adult, 1 Room' mod='hotelreservationsystem'}{/if}</span>
|
||||
</button>
|
||||
<input type="hidden" class="max_avail_type_qty" value="{if isset($total_available_rooms)} {$total_available_rooms|escape:'html':'UTF-8'}{/if}">
|
||||
<div class="dropdown-menu booking_occupancy_wrapper well well-sm">
|
||||
@@ -74,30 +74,30 @@
|
||||
<hr class="occupancy-info-separator col-sm-12">
|
||||
{foreach from=$occupancy key=key item=$room_occupancy name=occupancyInfo}
|
||||
<div class="occupancy_info_block" occ_block_index="{$key|escape:'htmlall':'UTF-8'}">
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room'} - {$countRoom|escape:'htmlall':'UTF-8'} </label>{if !$smarty.foreach.occupancyInfo.first}<a class="remove-room-link pull-right" href="#">{l s='Remove'}</a>{/if}</div>
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room' mod='hotelreservationsystem'} - {$countRoom|escape:'htmlall':'UTF-8'} </label>{if !$smarty.foreach.occupancyInfo.first}<a class="remove-room-link pull-right" href="#">{l s='Remove' mod='hotelreservationsystem'}</a>{/if}</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="row">
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Adults'}</label>
|
||||
<label>{l s='Adults' mod='hotelreservationsystem'}</label>
|
||||
<input type="number" class="form-control num_occupancy num_adults" name="occupancy[{$key|escape:'htmlall':'UTF-8'}][adults]" value="{$room_occupancy['adults']|escape:'htmlall':'UTF-8'}" min="1">
|
||||
</div>
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Children'} <span class="label-desc-txt"></span></label>
|
||||
<label>{l s='Children' mod='hotelreservationsystem'} <span class="label-desc-txt"></span></label>
|
||||
<input type="number" class="form-control num_occupancy num_children" name="occupancy[{$key|escape:'htmlall':'UTF-8'}][children]" value="{$room_occupancy['children']|escape:'htmlall':'UTF-8'}" min="0" {if $max_child_in_room}max="{$max_child_in_room}"{/if}>
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years'})
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years' mod='hotelreservationsystem'})
|
||||
</div>
|
||||
</div>
|
||||
<div class="row children_age_info_block" {if !$room_occupancy['children']}style="display:none"{/if}>
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="">{l s='All Children'}</label>
|
||||
<label class="">{l s='All Children' mod='hotelreservationsystem'}</label>
|
||||
<div class="">
|
||||
<div class="row children_ages">
|
||||
{if isset($room_occupancy['child_ages']) && $room_occupancy['child_ages']}
|
||||
{foreach $room_occupancy['child_ages'] as $childAge}
|
||||
<div class="form-group col-xs-12 col-sm-12 col-md-6 col-lg-6">
|
||||
<select class="guest_child_age room_occupancies" name="occupancy[{$key|escape:'htmlall':'UTF-8'}][child_ages][]">
|
||||
<option value="-1" {if $childAge == -1}selected{/if}>{l s='Select age'}</option>
|
||||
<option value="0" {if $childAge == 0}selected{/if}>{l s='Under 1'}</option>
|
||||
<option value="-1" {if $childAge == -1}selected{/if}>{l s='Select age' mod='hotelreservationsystem'}</option>
|
||||
<option value="0" {if $childAge == 0}selected{/if}>{l s='Under 1' mod='hotelreservationsystem'}</option>
|
||||
{for $age=1 to ($max_child_age-1)}
|
||||
<option value="{$age|escape:'htmlall':'UTF-8'}" {if $childAge == $age}selected{/if}>{$age|escape:'htmlall':'UTF-8'}</option>
|
||||
{/for}
|
||||
@@ -116,22 +116,22 @@
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="occupancy_info_block col-sm-12" occ_block_index="0">
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1'}</label></div>
|
||||
<div class="occupancy_info_head col-sm-12"><label class="room_num_wrapper">{l s='Room - 1' mod='hotelreservationsystem'}</label></div>
|
||||
<div class="col-sm-12">
|
||||
<div class="row">
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Adults'}</label>
|
||||
<label>{l s='Adults' mod='hotelreservationsystem'}</label>
|
||||
<input type="number" class="form-control num_occupancy num_adults" name="occupancy[0][adults]" value="1" min="1">
|
||||
</div>
|
||||
<div class="form-group col-xs-6 occupancy_count_block">
|
||||
<label>{l s='Children'} <span class="label-desc-txt"></span></label>
|
||||
<label>{l s='Children' mod='hotelreservationsystem'} <span class="label-desc-txt"></span></label>
|
||||
<input type="number" class="form-control num_occupancy num_children" name="occupancy[0][children]" value="0" min="0" {if $max_child_in_room}max="{$max_child_in_room}"{/if}>
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years'})
|
||||
({l s='Below'} {$max_child_age|escape:'htmlall':'UTF-8'} {l s='years' mod='hotelreservationsystem'})
|
||||
</div>
|
||||
</div>
|
||||
<div class="row children_age_info_block" style="display:none">
|
||||
<div class="form-group col-sm-12">
|
||||
<label class="">{l s='All Children'}</label>
|
||||
<label class="">{l s='All Children' mod='hotelreservationsystem'}</label>
|
||||
<div class="">
|
||||
<div class="row children_ages">
|
||||
</div>
|
||||
@@ -144,7 +144,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div class="add_occupancy_block col-sm-12">
|
||||
<a class="add_new_occupancy_btn" href="#"><i class="icon-plus"></i> <span>{l s='Add Room'}</span></a>
|
||||
<a class="add_new_occupancy_btn" href="#"><i class="icon-plus"></i> <span>{l s='Add Room' mod='hotelreservationsystem'}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
{/if}
|
||||
{else}
|
||||
<p class="alert alert-warning">
|
||||
{l s='No hotels available for booking'}
|
||||
{l s='No hotels available for booking' mod='hotelreservationsystem'}
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -227,7 +227,7 @@
|
||||
<form method="post" action="">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="realloc_myModalLabel">{l s='Reallocate Rooms'}</h4>
|
||||
<h4 class="modal-title" id="realloc_myModalLabel">{l s='Reallocate Rooms' }</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
@@ -257,7 +257,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{l s="Close" mod="hotelreservationsyatem"}</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{l s="Close" mod='hotelreservationsyatem'}</button>
|
||||
<input type="submit" id="realloc_allocated_rooms" name="realloc_allocated_rooms" class="btn btn-primary" value="Reallocate">
|
||||
</div>
|
||||
</form>
|
||||
@@ -296,7 +296,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{l s="Close" mod="hotelreservationsyatem"}</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{l s="Close" mod='hotelreservationsyatem'}</button>
|
||||
<input type="submit" id="swap_allocated_rooms" name="swap_allocated_rooms" class="btn btn-primary" value="Swap">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{if isset($customer_name)}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<h3><i class="icon-info-circle"></i> {l s="Customer Details" mod="hotelreservationsystem"}</h3>
|
||||
<h3><i class="icon-info-circle"></i> {l s="Customer Details" mod='hotelreservationsystem'}</h3>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-3">
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="col-sm-12">
|
||||
<h3><i class="icon-info-circle"></i> {l s="Booking Details" mod="hotelreservationsystem"}</h3>
|
||||
<h3><i class="icon-info-circle"></i> {l s="Booking Details" mod='hotelreservationsystem'}</h3>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="id_order_return" value="{$orderReturnInfo['id']|escape:'html':'UTF-8'}">
|
||||
@@ -104,7 +104,7 @@
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<label for="id_refund_state" class="control-label">
|
||||
<p><span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="List of booking requested for refund by the customer." mod="hotelreservationsystem"}'><strong>{l s="Bookings requested for refund" mod="hotelreservationsystem"}</strong></span> :
|
||||
<p><span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="List of booking requested for refund by the customer." mod='hotelreservationsystem'}'><strong>{l s="Bookings requested for refund" mod='hotelreservationsystem'}</strong></span> :
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
@@ -118,8 +118,8 @@
|
||||
<th>{l s='Room type' mod='hotelreservationsystem'}</th>
|
||||
<th>{l s='Hotel' mod='hotelreservationsystem'}</th>
|
||||
<th>{l s='Duration' mod='hotelreservationsystem'}</th>
|
||||
<th>{l s='Total cost (tax incl.)'}</th>
|
||||
<th>{l s='Total paid amount (tax incl.)'}</th>
|
||||
<th>{l s='Total cost (tax incl.)' mod='hotelreservationsystem'}</th>
|
||||
<th>{l s='Total paid amount (tax incl.)' mod='hotelreservationsystem'}</th>
|
||||
{if !$isRefundCompleted}
|
||||
<th>{l s='Rooms cancelation charges' mod='hotelreservationsystem'}</th>
|
||||
{/if}
|
||||
@@ -143,11 +143,11 @@
|
||||
</span>
|
||||
<div class="price_info_container" style="display: none;">
|
||||
<div>
|
||||
<label>{l s='Room cost:'}</label>
|
||||
<label>{l s='Room cost:' mod='hotelreservationsystem'}</label>
|
||||
<span class="pull-right">{displayPrice price=$booking['total_price_tax_incl'] currency=$orderCurrency['id']}</span>
|
||||
</div>
|
||||
<div>
|
||||
<label>{l s='Services cost:'}</label>
|
||||
<label>{l s='Services cost:' mod='hotelreservationsystem'}</label>
|
||||
<span class="pull-right">{displayPrice price=$booking['extra_service_total_price_tax_incl'] currency=$orderCurrency['id']}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -159,11 +159,11 @@
|
||||
</span>
|
||||
<div class="price_info_container" style="display: none;">
|
||||
<div>
|
||||
<label>{l s='Room paid amount:'}</label>
|
||||
<label>{l s='Room paid amount:' mod='hotelreservationsystem'}</label>
|
||||
<span class="pull-right">{displayPrice price=$booking['room_paid_amount'] currency=$orderCurrency['id']}</span>
|
||||
</div>
|
||||
<div>
|
||||
<label>{l s='Services paid amount:'}</label>
|
||||
<label>{l s='Services paid amount:' mod='hotelreservationsystem'}</label>
|
||||
<span class="pull-right">{displayPrice price=$booking['extra_service_total_paid_amount'] currency=$orderCurrency['id']}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -172,7 +172,7 @@
|
||||
<td>
|
||||
{displayPrice price=$booking['cancelation_charge'] currency=$orderCurrency['id']}
|
||||
{if $booking['reduction_type'] == HotelOrderRefundRules::WK_REFUND_RULE_PAYMENT_TYPE_PERCENTAGE}
|
||||
<p class="help-block">{Tools::ps_round($booking['reduction_value'], 2)}{l s='% of'} {displayPrice price=($booking['total_price_tax_incl'] + $booking['extra_service_total_price_tax_incl']) currency=$orderCurrency['id']}</p>
|
||||
<p class="help-block">{Tools::ps_round($booking['reduction_value'], 2)}{l s='% of' mod='hotelreservationsystem'} {displayPrice price=($booking['total_price_tax_incl'] + $booking['extra_service_total_price_tax_incl']) currency=$orderCurrency['id']}</p>
|
||||
{/if}
|
||||
</td>
|
||||
{/if}
|
||||
@@ -300,7 +300,7 @@
|
||||
<div class="form-group">
|
||||
<div class="col-sm-3">
|
||||
<label for="payment_method" class="control-label">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Select the method of payment through which you have refunded to the customer.' mod='hotelreservationsystem'}">{l s='Payment method' mod="hotelreservationsystem"}</span> :
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Select the method of payment through which you have refunded to the customer.' mod='hotelreservationsystem'}">{l s='Payment method' mod='hotelreservationsystem'}</span> :
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
@@ -308,7 +308,7 @@
|
||||
{foreach $paymentMethods as $paymentMod}
|
||||
<option value="{$paymentMod|escape:'html':'UTF-8'}">{$paymentMod|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
<option value="0">{l s='Others' mod="hotelreservationsystem"}</option>
|
||||
<option value="0">{l s='Others' mod='hotelreservationsystem'}</option>
|
||||
<select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -316,7 +316,7 @@
|
||||
<div class="form-group other_payment_mode" {if isset($paymentMethods) && $paymentMethods|count}style="display:none;"{/if}>
|
||||
<div class="col-sm-3">
|
||||
<label for="other_payment_mode" class="control-label required">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Enter the mode of payment through which you have refunded to the customer.' mod='hotelreservationsystem'}">{l s='Payment mode name' mod="hotelreservationsystem"}</span> :
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Enter the mode of payment through which you have refunded to the customer.' mod='hotelreservationsystem'}">{l s='Payment mode name' mod='hotelreservationsystem'}</span> :
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
|
||||
@@ -73,14 +73,14 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="refund_payment_type" class="required control-label col-lg-3">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Select type of deduction (percentage or fixed amount)." mod="hotelreservationsyatem"}'>{l s="Select deduction type" mod="hotelreservationsystem"}</span>
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Select type of deduction (percentage or fixed amount)." mod='hotelreservationsystem'}'>{l s="Select deduction type" mod='hotelreservationsystem'}</span>
|
||||
</label>
|
||||
<div class="col-lg-8">
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
<select id="refund_payment_type" name="refund_payment_type">
|
||||
<option {if isset($edit)} {if $refund_rules_info['payment_type'] == $WK_REFUND_RULE_PAYMENT_TYPE_PERCENTAGE}selected{/if}{/if} value="{$WK_REFUND_RULE_PAYMENT_TYPE_PERCENTAGE|escape:'htmlall':'UTF-8'}">{l s="Percentage" mod="hotelreservationsystem"}</option>
|
||||
<option value="{$WK_REFUND_RULE_PAYMENT_TYPE_FIXED|escape:'htmlall':'UTF-8'}" {if isset($edit)} {if $refund_rules_info['payment_type'] == $WK_REFUND_RULE_PAYMENT_TYPE_FIXED}selected{/if}{/if}>{l s="Fixed amount" mod="hotelreservationsystem"}</option>
|
||||
<option {if isset($edit)} {if $refund_rules_info['payment_type'] == $WK_REFUND_RULE_PAYMENT_TYPE_PERCENTAGE}selected{/if}{/if} value="{$WK_REFUND_RULE_PAYMENT_TYPE_PERCENTAGE|escape:'htmlall':'UTF-8'}">{l s="Percentage" mod='hotelreservationsystem'}</option>
|
||||
<option value="{$WK_REFUND_RULE_PAYMENT_TYPE_FIXED|escape:'htmlall':'UTF-8'}" {if isset($edit)} {if $refund_rules_info['payment_type'] == $WK_REFUND_RULE_PAYMENT_TYPE_FIXED}selected{/if}{/if}>{l s="Fixed amount" mod='hotelreservationsystem'}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="deduction_value_adv_pay" class="required control-label col-lg-3">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter deduction value (percentage or fixed amount) from the total amount, which will be deducted as cancellation charges for advance payment." mod="hotelreservationsyatem"}'>{l s='Deduction value for advance payment' mod="hotelreservationsyatem"}</span>
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter deduction value (percentage or fixed amount) from the total amount, which will be deducted as cancellation charges for advance payment." mod='hotelreservationsystem'}'>{l s='Deduction value for advance payment' mod='hotelreservationsystem'}</span>
|
||||
</label>
|
||||
<div class="col-lg-2">
|
||||
<div class="input-group">
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="deduction_value_full_pay" class="required control-label col-lg-3">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter deduction value (percentage or fixed amount) from the total amount, which will be deducted as cancellation charges for full payment." mod="hotelreservationsyatem"}'>{l s='Deduction value for full payment' mod="hotelreservationsyatem"}</span>
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter deduction value (percentage or fixed amount) from the total amount, which will be deducted as cancellation charges for full payment." mod='hotelreservationsystem'}'>{l s='Deduction value for full payment' mod='hotelreservationsystem'}</span>
|
||||
</label>
|
||||
<div class="col-lg-2">
|
||||
<div class="input-group">
|
||||
@@ -113,7 +113,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cancelation_days" class="required control-label col-lg-3">
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter number of days before check-in date for this rule to be applicable." mod="hotelreservationsyatem"}'>{l s='Days before check-in' mod="hotelreservationsyatem"}</span>
|
||||
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title='{l s="Enter number of days before check-in date for this rule to be applicable." mod='hotelreservationsystem'}'>{l s='Days before check-in' mod='hotelreservationsystem'}</span>
|
||||
</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" id="cancelation_days" name="cancelation_days" {if isset($edit)} {if isset($refund_rules_info['days'])}style = "display:block;" value="{$refund_rules_info['days']}" {/if}{/if}>
|
||||
|
||||
Reference in New Issue
Block a user