|
|
|
|
|
|
|
|
<span class="other"> |
|
|
<span class="other"> |
|
|
<span v-if="product.description.length">/</span> |
|
|
<span v-if="product.description.length">/</span> |
|
|
<span class="description">{{ product.description }}</span> |
|
|
<span class="description">{{ product.description }}</span> |
|
|
<span v-if="product.unit == 'piece' && product.weight">({{ product.weight }}g)</span> |
|
|
|
|
|
|
|
|
<span v-if="product.weight">({{ product.weight }}g)</span> |
|
|
</span> |
|
|
</span> |
|
|
<span v-if="product.quantity_max > 0 && ((product.quantity_form / product.coefficient_unit == product.quantity_remaining) || ((product.quantity_remaining * product.coefficient_unit) - product.quantity_form) < product.step)" class="label label-danger"> |
|
|
<span v-if="product.quantity_max > 0 && ((product.quantity_form / product.coefficient_unit == product.quantity_remaining) || ((product.quantity_remaining * product.coefficient_unit) - product.quantity_form) < product.step)" class="label label-danger"> |
|
|
Épuisé |
|
|
Épuisé |
|
|
</span> |
|
|
</span> |
|
|
<div class="recipe" v-if="product.recipe.length">{{ product.recipe }}</div> |
|
|
|
|
|
|
|
|
<div class="recipe" v-if="product.recipe.length">{{ product.recipe }}</div> |
|
|
</td> |
|
|
</td> |
|
|
<td class="price-unit"> |
|
|
<td class="price-unit"> |
|
|
<template v-if="product.price_with_tax > 0">{{ formatPrice(product.price_with_tax) }}<br /><span class="unit">{{ product.wording_unit }}</span></template> |
|
|
<template v-if="product.price_with_tax > 0">{{ formatPrice(product.price_with_tax) }}<br /><span class="unit">{{ product.wording_unit }}</span></template> |