caisse-bliss/app/Resources/views/logged/angular/current.html.twig

91 lines
3.6 KiB
Twig
Raw Normal View History

2019-06-12 14:13:36 +02:00
<div class="current-selling">
2018-04-17 12:10:21 +02:00
2019-06-12 14:13:36 +02:00
<form>
2018-04-19 17:38:43 +02:00
2019-06-12 14:13:36 +02:00
<div class="row">
<div class="col-xs-12 col-sm-6">
<h2>
<a class="btn " href="{{ path('festival_index') }}">
{% verbatim %}
<i class="fa fa-th-large"></i>
Festival
</a>:
<span class="badge" title="fond de caisse + chiffre d'affaire. veillez à vider votre fond de caisse ailleurs lorsqu'il devient trop important, par exemple au dela de 200€" ng-class="{'badge-warning': activeFestival.fondDeCaisseAvant + activeFestival.chiffreAffaire > 200}">
<i class="fa fa-archive"></i>
{{ activeFestival.fondDeCaisseAvant + activeFestival.chiffreAffaire}} €
</span>
<span class="badge badge-success">
CA {{ activeFestival.chiffreAffaire }}
<span ng-if="sellingOk">
<i class="fa fa-check-circle-o"></i>
</span>
</span>
<span class="badge badge-success">{{ activeFestival.clientsCount }} <i class="fa fa-user"></i></span>
</h2>
</div>
<div class="col-xs-12 col-sm-6">
2018-04-17 15:08:30 +02:00
<input type="text" ng-model="activeFestival.name" placeholder="nom du festival">
2019-06-12 14:13:36 +02:00
<input class="pull-right" type="text" ng-model="activeFestival.commentaire" placeholder="commentaire">
</div>
</div>
2018-04-20 12:15:53 +02:00
2019-06-12 14:13:36 +02:00
<hr>
2018-04-20 12:15:53 +02:00
</div>
<div class="new-display">
2018-10-02 18:35:33 +02:00
<div class="row">
2019-06-12 14:13:36 +02:00
<!-- <div class="col-xs-12 col-sm-6">-->
<!-- <h2>new display without duplicates:</h2>-->
<!-- </div>-->
2018-10-02 18:35:33 +02:00
<div class="col-xs-12 col-sm-6">
2019-06-12 14:13:36 +02:00
<button class="btn btn-warning btn-remove-all" ng-click="removeAll()" ng-disable="!CurrentSellingTotal()">
<i class="fa fa-trash"></i> enlever tout
</button>
2018-10-02 18:35:33 +02:00
</div>
</div>
<div ng-repeat="group in activeSellingFiltered track by $index">
<div class="row">
2019-06-12 14:13:36 +02:00
<div class="col-xs-4">
<div class="input-group">
<input type="text" ng-model="group.name">
</div>
</div>
2019-06-12 14:13:36 +02:00
<div class="col-xs-4 text-right">
<strong>
{{group.unitPrice}}
2019-06-12 14:13:36 +02:00
€ </strong>
<span class="badge badge-default" ng-if="group.count">
<i class="fa fa-times"></i> {{group.count}}
</span>
</div>
2019-06-12 14:13:36 +02:00
<div class="col-xs-4 text-right">
<strong>
{{group.totalPrice}}
€ </strong>
<span class="btn btn-warning remove-item"
ng-click="removeGroupeProducts(group.groupId)">
<i class="fa fa-trash"></i>
</span>
2018-04-06 15:43:14 +02:00
</div>
</div>
</div>
</div>
2018-10-02 18:35:33 +02:00
<hr>
2018-04-17 14:52:31 +02:00
{% endverbatim %}
2019-06-12 14:13:36 +02:00
{% include 'logged/angular/totals.html.twig' %}
{% include 'logged/angular/validate-button.html.twig' %}
{% include 'logged/angular/pause-selling.html.twig' %}
{% verbatim %}
2018-04-19 17:38:43 +02:00
</form>
2018-04-06 15:43:14 +02:00
</div>
{% endverbatim %}