2018-04-04 17:42:27 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
{% trans_default_domain 'FOSUserBundle' %}
|
|
|
|
{% block body %}
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="container" class="container">
|
2018-04-05 15:05:04 +02:00
|
|
|
<div id="caisse-now" class="tab-pane fade in active">
|
2018-04-20 12:15:53 +02:00
|
|
|
<div class="caisse-main row"
|
|
|
|
ng-app="caisse"
|
|
|
|
ng-controller="CaisseCtrl as MainCtrl"
|
|
|
|
>
|
2018-04-20 12:30:58 +02:00
|
|
|
<div class="row marged-v">
|
|
|
|
<div class="col-xs-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>activé</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="client-now text-right">
|
|
|
|
<i class="fa fa-user"></i>
|
|
|
|
Client actuel:
|
|
|
|
{% verbatim %}
|
|
|
|
{{ activeSelling.length }} produit<span ng-if="activeSelling.length!=1">s</span>
|
2018-04-20 13:57:10 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<input class="input form-control input-group" type="text" ng-model="sellingComment" placeholder="nom ou commentaire">
|
2018-04-20 12:30:58 +02:00
|
|
|
|
2018-04-20 13:57:10 +02:00
|
|
|
<button type="button" class="btn btn-default input-group-addon" ng-click="sellingComment = ''">
|
2018-04-20 12:30:58 +02:00
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
</button>
|
2018-04-20 13:57:10 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2018-04-20 12:30:58 +02:00
|
|
|
{% endverbatim %}
|
|
|
|
{#<button class="btn btn-default" ng-click="sellingComment = 'boobbbbbb'">#}
|
|
|
|
{#<i class="fa fa-arrow-right"></i>#}
|
|
|
|
{#</button>#}
|
|
|
|
{#<button class="btn btn-default"#}
|
|
|
|
{#ng-click="logger(MainCtrl.sellingComment ) ; logger( sellingComment)">#}
|
|
|
|
{#<i class="fa fa-arrow-down"></i>#}
|
|
|
|
{#</button>#}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-04-18 14:39:15 +02:00
|
|
|
|
2018-04-20 12:15:53 +02:00
|
|
|
{% include 'logged/caisse-main.html.twig' %}
|
|
|
|
</div>
|
2018-04-04 17:42:27 +02:00
|
|
|
</div>
|
2018-04-05 15:05:04 +02:00
|
|
|
<div id="categories" class="tab-pane fade">
|
2018-04-04 17:42:27 +02:00
|
|
|
<h2>Catégories</h2>
|
|
|
|
</div>
|
2018-04-05 15:05:04 +02:00
|
|
|
<div id="products" class="tab-pane fade">
|
2018-04-04 17:42:27 +02:00
|
|
|
<h2>Produits</h2>
|
|
|
|
</div>
|
2018-04-05 15:05:04 +02:00
|
|
|
<div id="history" class="tab-pane fade">
|
2018-04-04 17:42:27 +02:00
|
|
|
<h2>Historique</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-20 12:30:58 +02:00
|
|
|
</div>
|
2018-04-04 17:42:27 +02:00
|
|
|
{% endblock %}
|