98 lines
5.7 KiB
Smarty
98 lines
5.7 KiB
Smarty
{*
|
|
* 2007-2016 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/afl-3.0.php
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2016 PrestaShop SA
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
|
|
<div class='clearfix'></div>
|
|
|
|
<div class='col-sm-12'>
|
|
<script>
|
|
var currency_format = {$currency->format|floatval};
|
|
var currency_sign = '{$currency->sign|@addcslashes:'\''}';
|
|
var currency_blank = {$currency->blank|intval};
|
|
var priceDisplayPrecision = {$_PS_PRICE_DISPLAY_PRECISION_|intval};
|
|
</script>
|
|
|
|
<section id="dashtrends" class="panel widget{if $allow_push} allow_push{/if}">
|
|
<header class="panel-heading">
|
|
<i class="icon-bar-chart"></i> {l s='Revenue' mod='dashtrends'}
|
|
<span class="panel-heading-action">
|
|
<a class="list-toolbar-btn" href="{$link->getAdminLink('AdminDashboard')|escape:'html':'UTF-8'}&profitability_conf=1" title="{l s='Configure' mod='dashtrends'}">
|
|
<i class="process-icon-configure"></i>
|
|
</a>
|
|
<a class="list-toolbar-btn" href="#" onclick="refreshDashboard('dashtrends'); return false;" title="{l s='Refresh' mod='dashtrends'}">
|
|
<i class="process-icon-refresh"></i>
|
|
</a>
|
|
</span>
|
|
</header>
|
|
<section id="dashtrends_toolbar">
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'sales');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Sum of revenue (excluding tax) generated within the date range by orders considered validated.' mod='dashtrends'}" data-placement="bottom" style='background-color: #72C3F0;'>
|
|
<dt>{l s='Sales' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="sales_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'orders');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Total number of bookings received within the date range that are considered validated.' mod='dashtrends'}" data-placement="bottom" style='background-color: #56CE56;'>
|
|
<dt>{l s='Bookings' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="orders_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'average_cart_value');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Average Order Value is a metric representing the value of an average order within the date range. It is calculated by dividing sales by bookings. This data is provided by the module "Data mining for statistics", so please make sure it is installed and configured.' mod='dashtrends'}" data-placement="bottom" style='background-color: #FF655C;'>
|
|
<dt>{l s='Average Order Value' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="cart_value_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'visits');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Total number of visits within the date range. A visit is the period of time a user is actively engaged with your website. This data is provided by the module "Data mining for statistics", so please make sure it is installed and configured.' mod='dashtrends'}" data-placement="bottom" style='background-color: #FF7F0E;'>
|
|
<dt>{l s='Visits' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="visits_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'conversion_rate');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Conversion Rate is the percentage of visits that resulted in a validated booking.' mod='dashtrends'}" data-placement="bottom" style="background-color: #A569DF;">
|
|
<dt>{l s='Conversion Rate' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="conversion_rate_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
<div class="col-md-4 col-xs-6">
|
|
<dl class="label-tooltip" onclick="selectDashtrendsChart(this, 'net_profits');" data-toggle="tooltip" data-placement="top" data-original-title="{l s='Net Profit is the amount of money earned after deducting all operating costs and expenses over a period of time. You can provide these costs by clicking on the configuration icon right above here.' mod='dashtrends'}" data-placement="bottom" style="background-color: #AF8A42;">
|
|
<dt>{l s='Net Profit' mod='dashtrends'}</dt>
|
|
<dd class="data_value size_l"><span id="net_profits_score"></span></dd>
|
|
</dl>
|
|
</div>
|
|
</section>
|
|
<div id="dash_trends_chart1" class="chart with-transitions">
|
|
<svg></svg>
|
|
</div>
|
|
<div class="col-sm-12 ">
|
|
<p id="no-chart-info" class="alert alert-info no-chart-info">
|
|
{l s='The graph is unavailable when selecting this date range. Select another date range for the graph.' mod='dashtrends'}
|
|
</p>
|
|
</div>
|
|
<div class='clearfix'></div>
|
|
</section>
|
|
</div>
|
|
<div class='clearfix'></div>
|