|
|
|
|
|
|
|
|
<input type="text" v-model="order.productOrder[product.id].price_with_tax" class="form-control input-sm" @change="productPriceChange" :data-with-tax="true" :data-id-product="product.id" /> |
|
|
<input type="text" v-model="order.productOrder[product.id].price_with_tax" class="form-control input-sm" @change="productPriceChange" :data-with-tax="true" :data-id-product="product.id" /> |
|
|
<span class="input-group-addon" id="basic-addon2">€ TTC</span> |
|
|
<span class="input-group-addon" id="basic-addon2">€ TTC</span> |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="order.id_invoice || order.id_delivery_note || order.id_quotation"> |
|
|
|
|
|
<span class="label label-primary"> |
|
|
|
|
|
|
|
|
<div v-if="(order.id_invoice || order.id_delivery_note || order.id_quotation) && order.productOrder[product.id].quantity > 0"> |
|
|
|
|
|
<span class="label label-default"> |
|
|
Facturé |
|
|
Facturé |
|
|
<template v-if="order.productOrder[product.id].invoice_price != null">{{ order.productOrder[product.id].invoice_price }}</template> |
|
|
<template v-if="order.productOrder[product.id].invoice_price != null">{{ order.productOrder[product.id].invoice_price }}</template> |
|
|
<template v-else>{{ order.productOrder[product.id].price }}</template> |
|
|
<template v-else>{{ order.productOrder[product.id].price }}</template> |