From 25fa2254c135f1212247386005effa65764af64c Mon Sep 17 00:00:00 2001 From: fhenry Date: Thu, 7 Mar 2013 10:50:02 +0100 Subject: [PATCH] Fix [ bug #753 ] cashdesk : Error message when adding product to basket https://doliforge.org/tracker/?func=detail&aid=753&group_id=144 http://www.dolibarr.fr/forum/526-autres-modules/39315-probleme-avec-point-de-vente http://www.dolibarr.es/index.php/foro/6-icomo/2080-errores-con-tpv-y-tipos-de-iva --- htdocs/cashdesk/class/Facturation.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php index 32fa03ad48e..3538a3908d1 100644 --- a/htdocs/cashdesk/class/Facturation.class.php +++ b/htdocs/cashdesk/class/Facturation.class.php @@ -118,7 +118,7 @@ class Facturation } // Define part of HT, VAT, TTC - $resultarray=calcul_price_total($this->qte,$this->prix(),$this->remisePercent(),$vat_rate,0,0,0,'HT',$product->type); + $resultarray=calcul_price_total($this->qte,$this->prix(),$this->remisePercent(),$vat_rate,0,0,0,'HT',$product->type,0); // Calcul du total ht sans remise $total_ht = $resultarray[0];