{extends file="admin-layout.tpl"} {block name="page-title"}{intl l='Back-office home'}{/block} {block name="main-content"}
{module_include location='home_top'}
{intl l='Dashboard'}

{intl l="Shop Informations"}
{intl l="Customers"} {count type="customer" current="false" backend_context="1"}
{intl l="Categories"} {count type="category" visible="*" backend_context="1"}
{intl l="Products"} {count type="product" visible="*" backend_context="1"}
{intl l="Online products"} {count type="product" visible="true" backend_context="1"}
{intl l="Offline products"} {count type="product" visible="false" backend_context="1"}
{intl l="Orders"} {count type="order" status="*" backend_context="1"}
{intl l="Sales statistics"}
{intl l="Overall sales"} {stats key="sales" startDate="today" endDate="today"} €
{intl l="Sales excluding shipping"} {$salesNoShipping = {stats key="sales" startDate="today" endDate="today" includeShipping="false"}} {$salesNoShipping} €
{intl l="Yesterday sales"} {stats key="sales" startDate="yesterday" endDate="yesterday"} €
{intl l="Orders"} {$orderCount = {stats key="orders" startDate="today" endDate="today"}} {$orderCount}
{intl l="Average cart"} {if $orderCount == 0} 0 € {else} {($salesNoShipping/$orderCount)|round:"2"} € {/if}
{intl l="Overall sales"} {stats key="sales" startDate="this_month" endDate="this_month"} €
{intl l="Sales excluding shipping"} {$salesNoShipping = {stats key="sales" startDate="this_month" endDate="this_month" includeShipping="false"}} {$salesNoShipping} €
{intl l="Previous month sales"} {stats key="sales" startDate="last_month" endDate="last_month"} €
{intl l="Orders"} {$orderCount = {stats key="orders" startDate="this_month" endDate="this_month"}} {$orderCount}
{intl l="Average cart"} {if $orderCount == 0} 0 € {else} {($salesNoShipping/$orderCount)|round:"2"} € {/if}
{intl l="Overall sales"} {stats key="sales" startDate="this_year" endDate="this_year"} €
{intl l="Sales excluding shipping"} {$salesNoShipping = {stats key="sales" startDate="this_year" endDate="this_year" includeShipping="false"}} {$salesNoShipping} €
{intl l="Previous year sales"} {stats key="sales" startDate="last_year" endDate="last_year"} €
{intl l="Orders"} {$orderCount = {stats key="orders" startDate="this_year" endDate="this_year"}} {$orderCount}
{intl l="Average cart"} {if $orderCount == 0} 0 € {else} {($salesNoShipping/$orderCount)|round:"2"} € {/if}
{intl l="Thelia informations"}
{intl l="Current version"} {$THELIA_VERSION}
{intl l="Latest version available"} V1.5.4.2
{intl l="News"} {intl l="Click here"}
{module_include location='home_bottom'}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/jqplot/jquery.jqplot.min.js'} {/javascripts} {javascripts file='assets/js/jqplot/plugins/jqplot.highlighter.min.js'} {/javascripts} {javascripts file='assets/js/jqplot/plugins/jqplot.barRenderer.min.js'} {/javascripts} {javascripts file='assets/js/jqplot/plugins/jqplot.pieRenderer.min.js'} {/javascripts} {/block}