caisse-bliss/app/Resources/views/logged/history.html.twig

48 lines
1.5 KiB
Twig
Raw Normal View History

2018-04-18 15:19:00 +02:00
{% extends 'base.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block body %}
<div id="wrapper">
<div id="container" class="container">
<div class="row">
<h1>Historique</h1>
</div>
<div class="row">
<div class="col-xs-6">
<div class="sells">
<h2>
<div class="badge">
{{ recentSells |length }}
</div>
Clients
</h2>
<h2>
Chiffre d'affaires
<div class="badge">
{{ chiffreAffaires }}
</div>
</h2>
<h2>
panier moyen
<div class="badge">
{{ chiffreAffaires / (recentSells |length) }}
</div>
</h2>
<div>
</div>
</div>
</div>
<div class="col-xs-6 text-right">
<a class="btn btn-success" href="{{ path('export_all') }}">
<i class="fa fa-file-o fa-3x"></i>
Exporter toutes vos données en format csv
</a>
</div>
</div>
</div>
</div>
{% endblock %}