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

88 lines
3.8 KiB
Twig
Raw Normal View History

2018-04-04 17:42:27 +02:00
{% extends 'base.html.twig' %}
{% block body %}
2019-06-12 14:13:36 +02:00
<div id="caisse-now" class="tab-pane fade in active">
<div class="caisse-main row-fluid"
ng-app="caisse"
ng-controller="CaisseCtrl as MainCtrl"
>
<div class="row marged-v">
<div class="col-xs-12 col-md-6">
<button
title="la vente express vous permet d'enregistrer une vente pour un seul article sans remplir le formulaire de détail"
class="btn"
ng-class="{'btn-success': expressSelling, 'btn-disabled':!expressSelling}"
ng-click="expressSelling = !expressSelling">
<i class="fa fa-shopping-cart"></i>
mode vente express
<span ng-if=expressSelling>
<i class="fa fa-check-circle"></i></span>
2019-06-12 14:13:36 +02:00
</button>
<button
title="montrer le nombre d'objets restants dans les stocks"
class="btn"
ng-class="{'btn-success': show_config.stock_count, 'btn-disabled':!show_config.stock_count}"
ng-click="show_config.stock_count = !show_config.stock_count">
<i class="fa fa-shopping-cart"></i>
stocks
<span ng-if=show_config.stock_count>
<i class="fa fa-check-circle"></i></span>
2019-06-12 14:13:36 +02:00
</button>
<button
title="montrer le nombre d'objets restants dans les stocks"
class="btn"
ng-class="{'btn-success': show_config.sold, 'btn-disabled':!show_config.sold}"
ng-click="show_config.sold = !show_config.sold">
<i class="fa fa-shopping-cart"></i>
vendus
<span ng-if=show_config.sold>
<i class="fa fa-check-circle"></i>
</span>
2019-06-12 14:13:36 +02:00
</button>
</div>
<div class="col-xs-12 col-md-6">
<div class="row">
2018-07-19 18:26:54 +02:00
<div class="client-now text-right padded">
2019-06-12 14:13:36 +02:00
<div class="col-xs-12">
<i class="fa fa-user"></i>
Client actuel:
</div> {% verbatim %}
<div class="col-xs-10">
<div class="input-group">
2018-04-20 12:30:58 +02:00
2019-06-12 14:13:36 +02:00
<input class="input form-control input-comment" type="text" ng-model="sellingComment" placeholder="nom ou commentaire">
<button type="button" class="deleter" ng-click="sellingComment = ''">
2018-05-04 19:53:57 +02:00
<i class="fa fa-times"></i>
</button>
2019-06-12 14:13:36 +02:00
</div>
2018-05-04 19:53:57 +02:00
<div>
2018-06-27 10:48:02 +02:00
2019-06-12 14:13:36 +02:00
{{ activeSelling.length }} produit<span ng-if="activeSelling.length!=1">s</span>
</div>{% endverbatim %}
2018-04-20 12:30:58 +02:00
</div>
</div>
2018-06-27 10:48:02 +02:00
</div>
2018-07-19 18:26:54 +02:00
</div>
2019-06-12 14:13:36 +02:00
</div>
2018-06-27 10:48:02 +02:00
2019-06-12 14:13:36 +02:00
<div class="row">
{% include 'logged/caisse-main.html.twig' %}
</div>
2018-06-27 10:48:02 +02:00
2019-06-12 14:13:36 +02:00
</div>
<div id="categories" class="tab-pane fade">
<h2>Catégories</h2>
</div>
<div id="products" class="tab-pane fade">
<h2>Produits</h2>
</div>
<div id="history" class="tab-pane fade">
<h2>Historique</h2>
</div>
</div>
2018-07-19 18:26:54 +02:00
</div>
2018-07-19 18:33:41 +02:00
{#</div>#}
{#</div>#}
2018-06-27 10:48:02 +02:00
2019-06-12 14:13:36 +02:00
{% endblock %}