Browse Source

[backend] Document : prix ajout produit

prodstable
Guillaume 2 years ago
parent
commit
ad1f9d248d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/web/js/vuejs/document-form.js

+ 1
- 1
backend/web/js/vuejs/document-form.js View File

changeProductAdd: function(event) { changeProductAdd: function(event) {
var idProduct = event.currentTarget.value ; var idProduct = event.currentTarget.value ;
this.productAddId = idProduct ; this.productAddId = idProduct ;
this.productAddPrice = parseFloat(this.productsArray[idProduct].price_with_tax).toFixed(2) ;
this.productAddPrice = parseFloat(this.productsArray[idProduct].price).toFixed(2) ;
this.productAddQuantity = this.getStepProductAdd() ; this.productAddQuantity = this.getStepProductAdd() ;
}, },
changeQuantityProductAdd: function(quantity) { changeQuantityProductAdd: function(quantity) {

Loading…
Cancel
Save