|
|
|
|
|
|
|
|
<li><span class="glyphicon glyphicon-time"></span> {{ dateFormat }}</li> |
|
|
<li><span class="glyphicon glyphicon-time"></span> {{ dateFormat }}</li> |
|
|
<li><span class="glyphicon glyphicon-map-marker"></span> {{ pointSaleActive.name }} <span class="locality" v-if="pointSaleActive.locality.length > 0">à {{ pointSaleActive.locality }}</span></li> |
|
|
<li><span class="glyphicon glyphicon-map-marker"></span> {{ pointSaleActive.name }} <span class="locality" v-if="pointSaleActive.locality.length > 0">à {{ pointSaleActive.locality }}</span></li> |
|
|
<li><span class="glyphicon glyphicon-th-list"></span> {{ countProductOrdered() }} produits</li> |
|
|
<li><span class="glyphicon glyphicon-th-list"></span> {{ countProductOrdered() }} produits</li> |
|
|
<li><span class="glyphicon glyphicon-chevron-right"></span> {{ priceTotal() }}</li> |
|
|
|
|
|
|
|
|
<li><span class="glyphicon glyphicon-chevron-right"></span> {{ priceTotal(true) }}</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
<div class="clr"></div> |
|
|
<div class="clr"></div> |
|
|
|
|
|
|
|
|
</tr> |
|
|
</tr> |
|
|
<tr class="total"> |
|
|
<tr class="total"> |
|
|
<td colspan="3"></td> |
|
|
<td colspan="3"></td> |
|
|
<td class="price-total">{{ priceTotal() }}</td> |
|
|
|
|
|
|
|
|
<td class="price-total">{{ priceTotal(true) }}</td> |
|
|
</tr> |
|
|
</tr> |
|
|
</tbody> |
|
|
</tbody> |
|
|
</table> |
|
|
</table> |
|
|
|
|
|
|
|
|
<textarea id="order-comment" v-model="comment" class="form-control"></textarea> |
|
|
<textarea id="order-comment" v-model="comment" class="form-control"></textarea> |
|
|
</div> |
|
|
</div> |
|
|
<div class="credit"> |
|
|
<div class="credit"> |
|
|
<input type="checkbox" id="checkbox-credit" v-model="creditCheckbox" /> |
|
|
|
|
|
<label for="checkbox-credit">Utiliser mon Crédit : {{ formatPrice(credit) }}</label> |
|
|
|
|
|
<div class="info"> |
|
|
|
|
|
<span v-if="creditCheckbox == true"> |
|
|
|
|
|
{{ priceTotal() }} seront débités |
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
<div v-if="producer.credit == 1 && pointSaleActive.credit == 1"> |
|
|
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> La commande va être réglée via votre Crédit ({{ formatPrice(credit) }}). |
|
|
|
|
|
<div class="info"> |
|
|
|
|
|
<span v-if="order == null || order.amount_paid == 0">{{ priceTotal(true) }} seront débités</span> |
|
|
|
|
|
<span v-else-if="order != null && order.amount_paid > 0 && order.amount_paid < priceTotal()">{{ formatPrice(priceTotal() - order.amount_paid) }} seront débités</span> |
|
|
|
|
|
<span v-else-if="order != null && order.amount_paid > priceTotal()">{{ formatPrice(order.amount_paid - priceTotal()) }} seront remboursés</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div v-else> |
|
|
|
|
|
<span class="glyphicon glyphicon-chevron-right"></span> La commande sera à régler sur place. |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="block-actions"> |
|
|
<div class="block-actions"> |