From 7bbd16724e43e818393821a1f7612c73ae2b0765 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 29 Apr 2006 13:40:14 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20possibilit=E9e=20d'=E9diter=20une=20com?= =?UTF-8?q?mande=20valid=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index a9fd8e6c408..188670b619e 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -935,7 +935,7 @@ else print ''.price($objp->subprice*$objp->qty*(100-$objp->remise_percent)/100).''; // Icone d'edition et suppression - if ($commande->statut == 0 && $user->rights->commande->creer && $_GET['action'] == '') + if ($commande->statut == 0 && $user->rights->commande->creer && $_GET['action'] == '' || $_GET['action'] == 'modif') { print ''; print img_edit(); @@ -998,7 +998,7 @@ else /* * Ajouter une ligne */ - if ($commande->statut == 0 && $user->rights->commande->creer && ($_GET['action'] == '' || $_GET['action'] == 'builddoc')) + if ($commande->statut == 0 && $user->rights->commande->creer && ($_GET['action'] == '' || $_GET['action'] == 'builddoc' || $_GET['action'] == 'modif')) { print ''; print ''.$langs->trans('Description').'';