From de08ca952669b2b57c1dc6bfa648e332a0140680 Mon Sep 17 00:00:00 2001 From: erics Date: Fri, 9 Jan 2004 00:01:57 +0000 Subject: [PATCH] =?UTF-8?q?quand=20j'ai=20ajout=E9=20un=20article=20qui=20?= =?UTF-8?q?n'est=20pas=20dans=20la=20base=20d'article=20dans=20une=20propa?= =?UTF-8?q?le=20et=20que=20je=20transforme=20la=20propale=20en=20facture,?= =?UTF-8?q?=20le=20prix=20de=20cet=20article=20est=20perdu=20dans=20la=20t?= =?UTF-8?q?ransaction=20...=20la=20requete=20SQL=20=E9tait=20incompl=E8te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/propal.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index 5abed48f596..b106796f6a9 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 Éric Seigne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -385,7 +386,7 @@ class Propal /* * Lignes génériques */ - $sql = "SELECT d.qty, d.description, d.price, d.tva_tx, d.rowid, d.remise_percent"; + $sql = "SELECT d.qty, d.description, d.price, d.subprice, d.tva_tx, d.rowid, d.remise_percent"; $sql .= " FROM llx_propaldet as d"; $sql .= " WHERE d.fk_propal = ".$this->id ." AND d.fk_product = 0";