Look: Modif esthétique mineure

This commit is contained in:
Laurent Destailleur 2005-07-07 01:21:47 +00:00
parent 794aa5a378
commit 517176eed6

View File

@ -285,7 +285,7 @@ if ($_GET["id"] > 0)
*/ */
if ($reste_a_livrer_total > 0 && defined("MAIN_MODULE_STOCK")) if ($reste_a_livrer_total > 0 && defined("MAIN_MODULE_STOCK"))
{ {
print '<br><table class="liste" cellpadding="3" width="100%"><tr>'; print '<br><table class="liste" width="100%"><tr>';
foreach ($reste_a_livrer as $key => $value) foreach ($reste_a_livrer as $key => $value)
{ {
if ($value > 0) if ($value > 0)
@ -316,21 +316,26 @@ if ($_GET["id"] > 0)
} }
print "</table>"; print "</table>";
} }
print '</div>';
/* /*
* *
* *
*/ */
if ($user->societe_id == 0) if ($user->societe_id == 0)
{ {
print '<p><div class="tabsAction">'; print '<div class="tabsAction">';
if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3) if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3)
{ {
print '<a class="tabAction" href="commande.php?id='.$commande->id.'&amp;action=cloture">Clôturer</a>'; print '<a class="tabAction" href="commande.php?id='.$commande->id.'&amp;action=cloture">'.$langs->trans("Close").'</a>';
} }
print "</div>"; print "</div>";
} }
/* /*
* Déjà livré * Déjà livré
* *