Gestion Statut

This commit is contained in:
Rodolphe Quiedeville 2007-01-03 16:58:57 +00:00
parent 540b04aa77
commit 2bad2c6b91

View File

@ -413,7 +413,15 @@ class ProductLivre extends Product
$smarty->assign('prod_stock_alert', $this->seuil_stock_alerte);
if ($this->status==1)
$smarty->assign('prod_statut', 'En vente');
{
$smarty->assign('prod_statut', 'En vente');
}
else
{
$smarty->assign('prod_statut', 'Hors vente');
}
if ($this->seuil_stock_alerte > ($this->stock_reel - $this->stock_in_command) && $this->status == 1)
{