Update list.php
This commit is contained in:
parent
36ff576d15
commit
63e4275afb
@ -356,9 +356,9 @@ if ($resql)
|
||||
$generic_product->load_stock();
|
||||
if ($generic_product->stock_reel<$generic_commande->lines[$lig]->qty) {
|
||||
$shippable++;
|
||||
$text_info.='<span style="color:#FF0000">'.$langs->trans('Available').' : '.$generic_product->stock_reel."</span><br>";
|
||||
$text_info.='<span class="warning">'.$langs->trans('Available').' : '.$generic_product->stock_reel."</span><br>";
|
||||
} else {
|
||||
$text_info.='<span style="color:#04B404">'.$langs->trans('Available').' : '.$generic_product->stock_reel."</span><br>";
|
||||
$text_info.='<span class="ok>'.$langs->trans('Available').' : '.$generic_product->stock_reel."</span><br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user