diff --git a/htdocs/expedition/commande.php b/htdocs/expedition/commande.php index 6f796dc1977..917bcb838b1 100644 --- a/htdocs/expedition/commande.php +++ b/htdocs/expedition/commande.php @@ -285,7 +285,7 @@ if ($_GET["id"] > 0) */ if ($reste_a_livrer_total > 0 && defined("MAIN_MODULE_STOCK")) { - print '
'; + print '
'; foreach ($reste_a_livrer as $key => $value) { if ($value > 0) @@ -316,21 +316,26 @@ if ($_GET["id"] > 0) } print "
"; } - /* - * - * - */ - if ($user->societe_id == 0) - { - print '

'; - if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3) - { - print 'Clôturer'; - } - print "
"; + print ''; + + /* + * + * + */ + if ($user->societe_id == 0) + { + print '
'; + if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3) + { + print ''.$langs->trans("Close").''; + } + + print "
"; + + } + - } /* * Déjà livré *