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 );