Look: Modif esthétique mineure
This commit is contained in:
parent
794aa5a378
commit
517176eed6
@ -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>";
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
if ($user->societe_id == 0)
|
|
||||||
{
|
|
||||||
print '<p><div class="tabsAction">';
|
|
||||||
if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3)
|
|
||||||
{
|
|
||||||
print '<a class="tabAction" href="commande.php?id='.$commande->id.'&action=cloture">Clôturer</a>';
|
|
||||||
}
|
|
||||||
|
|
||||||
print "</div>";
|
print '</div>';
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
if ($user->societe_id == 0)
|
||||||
|
{
|
||||||
|
print '<div class="tabsAction">';
|
||||||
|
if ($user->rights->expedition->valider && $reste_a_livrer_total == 0 && $commande->statut < 3)
|
||||||
|
{
|
||||||
|
print '<a class="tabAction" href="commande.php?id='.$commande->id.'&action=cloture">'.$langs->trans("Close").'</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
print "</div>";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* Déjà livré
|
* Déjà livré
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user