|
|
@@ -636,7 +636,7 @@ $this->setPageTitle('Distributions') ; |
|
|
|
<strong><span class="glyphicon glyphicon-menu-right"></span> Produits</strong> |
|
|
|
<ul> |
|
|
|
<li v-for="product in products" v-if="getProductDistribution(product) && order.productOrder[product.id].quantity > 0"> |
|
|
|
{{ product.name }} : {{ order.productOrder[product.id].quantity }} {{ order.productOrder[product.id].unit == 'piece' ? ' pièce(s)' : ' '+order.productOrder[product.id].unit }} |
|
|
|
{{ product.name }} <span v-if="product.weight">({{ product.weight }}g)</span> : {{ order.productOrder[product.id].quantity }} {{ order.productOrder[product.id].unit == 'piece' ? ' pièce(s)' : ' '+order.productOrder[product.id].unit }} |
|
|
|
<span v-if="getProductDistribution(product).active == 0" class="glyphicon glyphicon-warning-sign" title="Ce produit n'est pas activé"></span> |
|
|
|
</li> |
|
|
|
</ul> |