From 10b17e02c27a4a9503463a1006f71cadef2dce39 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 13 Nov 2007 13:38:21 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20manquait=20des=20valeurs=20=E0=20l'appel?= =?UTF-8?q?=20de=20addligne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fichinter/fiche.php | 2 +- htdocs/product/fiche.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 685aa33de2a..425329939d4 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -536,7 +536,7 @@ elseif ($_GET["id"] > 0) print ''; print ''; print $langs->trans("NoProject").'  '; - if ($fichinter->brouillon) print 'id.'&action=create>'.$langs->trans('AddProject').''; + if ($fichinter->brouillon) print 'id.'&action=create>'.$langs->trans('AddProject').''; print ''; } else diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index a4ae7adb2f9..684a5e10b30 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -409,6 +409,8 @@ if ($_POST["action"] == 'addincommande') $tva_tx, $prod->id, $_POST["remise_percent"], + '', + '', //Todo: voir si fk_remise_except est encore valable car n'apparait plus dans les propales $price_base_type, $pu_ttc ); @@ -487,6 +489,10 @@ if ($_POST["action"] == 'addinfacture' && $user->rights->facture->creer) $tva_tx, $prod->id, $_POST["remise_percent"], + '', + '', + '', + '', $price_base_type, $pu_ttc );