From 517176eed6bfa9669366fe6ff725ca99d3408204 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Jul 2005 01:21:47 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Modif=20esth=E9tique=20mineure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/expedition/commande.php | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) 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é *