2019-07-04 17:29:26 +02:00
|
|
|
{% verbatim %}
|
2019-06-12 14:13:36 +02:00
|
|
|
<div class="current-selling">
|
2019-07-04 17:29:26 +02:00
|
|
|
<hr>
|
2019-06-12 14:13:36 +02:00
|
|
|
<form>
|
2018-04-19 17:38:43 +02:00
|
|
|
|
2018-10-02 17:47:19 +02:00
|
|
|
<div class="new-display">
|
2019-07-04 18:58:17 +02:00
|
|
|
<div class="row">
|
2019-07-06 12:24:50 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-10-02 18:35:33 +02:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2019-07-04 18:58:17 +02:00
|
|
|
<button class="btn btn-warning btn-remove-all marged-v" ng-click="removeAll()" ng-disable="!CurrentSellingTotal()">
|
2019-06-12 14:13:36 +02:00
|
|
|
<i class="fa fa-trash"></i> enlever tout
|
2018-10-02 17:47:19 +02:00
|
|
|
</button>
|
2019-07-04 18:58:17 +02:00
|
|
|
</div>
|
2018-10-02 18:35:33 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2018-10-02 17:47:19 +02:00
|
|
|
<div ng-repeat="group in activeSellingFiltered track by $index">
|
|
|
|
<div class="row">
|
2019-07-04 18:58:17 +02:00
|
|
|
<div class="col-xs-2">
|
|
|
|
<span class="btn btn-warning remove-item"
|
|
|
|
ng-click="removeGroupeProducts(group.groupId)">
|
|
|
|
<i class="fa fa-trash"></i>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10">
|
|
|
|
<input class="group-name" type="text" ng-model="group.name">
|
2018-10-02 17:47:19 +02:00
|
|
|
</div>
|
2019-07-04 18:58:17 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-7 col-xs-offset-2 ">
|
|
|
|
<span ng-if="group.count > 1">
|
|
|
|
|
2019-06-12 14:13:36 +02:00
|
|
|
<strong>
|
2018-10-02 17:47:19 +02:00
|
|
|
{{group.unitPrice}}
|
2019-06-12 14:13:36 +02:00
|
|
|
€ </strong>
|
2019-07-04 18:58:17 +02:00
|
|
|
</span>
|
2019-06-12 14:13:36 +02:00
|
|
|
<span class="badge badge-default" ng-if="group.count">
|
|
|
|
<i class="fa fa-times"></i> {{group.count}}
|
|
|
|
</span>
|
2018-10-02 17:47:19 +02:00
|
|
|
</div>
|
2019-07-04 18:58:17 +02:00
|
|
|
<div class="col-xs-3 text-right">
|
2019-06-12 14:13:36 +02:00
|
|
|
<strong>
|
|
|
|
{{group.totalPrice}}
|
|
|
|
€ </strong>
|
2019-07-04 18:58:17 +02:00
|
|
|
|
2018-04-06 15:43:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-24 16:56:19 +02:00
|
|
|
</div>
|
2018-10-02 17:47:19 +02:00
|
|
|
</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' %}
|
2019-07-04 18:58:17 +02:00
|
|
|
|
2018-04-19 17:38:43 +02:00
|
|
|
|
|
|
|
</form>
|
2019-07-04 18:58:17 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2018-04-06 15:43:14 +02:00
|
|
|
</div>
|