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