fix travis case statement
This commit is contained in:
parent
651ea92657
commit
8272408b6e
@ -438,7 +438,7 @@ else
|
|||||||
if ($object->type != 1)
|
if ($object->type != 1)
|
||||||
{
|
{
|
||||||
if ($object->seuil_stock_alerte != '' && $object->stock_theorique < (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
|
if ($object->seuil_stock_alerte != '' && $object->stock_theorique < (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
|
||||||
$out.= $object->stock_theorique;
|
$out.= (double) $object->stock_theorique;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
@ -460,7 +460,7 @@ else
|
|||||||
if ($object->type != 1)
|
if ($object->type != 1)
|
||||||
{
|
{
|
||||||
if ($object->seuil_stock_alerte != '' && $object->stock_reel< (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
|
if ($object->seuil_stock_alerte != '' && $object->stock_reel< (float) $object->seuil_stock_alerte) $out.= img_warning($langs->trans("StockTooLow")).' ';
|
||||||
$out.= (double)$object->stock_reel;
|
$out.= (double) $object->stock_reel;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user