From e221e2a4f4ef13f1d687bd7249c318fcec528dec Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 1 Nov 2007 20:58:01 +0000 Subject: [PATCH] Add the tva --- include/class_gestion_sold.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/class_gestion_sold.php b/include/class_gestion_sold.php index ed7c242fc..5a403296c 100644 --- a/include/class_gestion_sold.php +++ b/include/class_gestion_sold.php @@ -56,10 +56,12 @@ class gestion_sold extends gestion_table qs_quantite, qs_price, qs_vat, + tva_label, + tva_rate, qs_vat_code, qs_client, j_id - from quant_sold + from quant_sold join tva_rate on (qs_vat_code=tva_id) where qs_internal='".$this->qs_internal."'"; $ret=ExecSql($this->db,$sql); // $res contains all the line