From 51beb5fbe399272e17c6a4116055c86730f481d5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 16 Feb 2006 15:58:27 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20on=20pouvait=20attribuer=20une=20remise?= =?UTF-8?q?=20apr=E8s=20validation=20de=20la=20commande?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 5db83a500fd..da35f9acabd 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -708,7 +708,7 @@ else print ''; - if ($_GET['action'] != 'setdiscount') print ''; + if ($_GET['action'] != 'setdiscount' && $commande->brouillon) print ''; print '
'; print $langs->trans('GlobalDiscount').''; print ''.img_edit($langs->trans('Edit')).''.img_edit($langs->trans('Edit')).'
'; print ''; if ($user->rights->commande->creer && $_GET['action'] == 'setdiscount')