<span class="glyphicon glyphicon-time" title="Paiement automatique" v-if="order.auto_payment && producer && producer.credit && (order.amount_paid == 0 || order.amount_paid < order.amount)"></span> | <span class="glyphicon glyphicon-time" title="Paiement automatique" v-if="order.auto_payment && producer && producer.credit && (order.amount_paid == 0 || order.amount_paid < order.amount)"></span> | ||||
</div> | </div> | ||||
<script type="text/x-template" id="order-form-template"> | |||||
</script> | |||||
<!-- template for the order-form component --> | <!-- template for the order-form component --> | ||||
<script type="text/x-template" id="order-form-template"> | <script type="text/x-template" id="order-form-template"> |
Vue.component('modal', { | Vue.component('modal', { | ||||
template: '#modal-template' | template: '#modal-template' | ||||
}) | |||||
}); | |||||
Vue.component('order-form',{ | Vue.component('order-form',{ | ||||
props: ['date', 'dateFormat', 'pointsSale', 'idActivePointSale', 'meansPayment', 'users', 'products', 'order', 'producer', 'loadingUpdateProductOrder'], | props: ['date', 'dateFormat', 'pointsSale', 'idActivePointSale', 'meansPayment', 'users', 'products', 'order', 'producer', 'loadingUpdateProductOrder'], |