]> _ Git - fluidbook-html5.git/commitdiff
wip #6864 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Apr 2024 15:39:38 +0000 (17:39 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Apr 2024 15:39:38 +0000 (17:39 +0200)
js/libs/fluidbook/cart/fluidbook.cart.bastide-resah.js

index c73624b248681471c68e753a5b71ba5f77abeb7b..cda134000989b1d7600d4579e4f35516aa03ffd0 100644 (file)
@@ -211,7 +211,7 @@ FluidbookCartBastideResah.prototype = {
 
             total_ht += tht;
             eco_taxe += item.quantity * et;
-            tva += $this.parseFloat($this.data[item.reference]['TVA']) * pvht * q * 0.01;
+            tva += $this.parseFloat($this.data[item.reference]['TVA']) * tht * 0.01;
 
             $.each(columns, function (key, title) {
                 let data = $this.data[item.reference];