Fix css
This commit is contained in:
parent
a16788f753
commit
1d6a4f528a
@ -1082,9 +1082,9 @@ if ($placeid > 0)
|
|||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
$stock_real = price2num($obj->reel, 'MS');
|
$stock_real = price2num($obj->reel, 'MS');
|
||||||
$htmlforlines .= $line->qty;
|
$htmlforlines .= $line->qty;
|
||||||
if ($line->qty>$stock_real) $htmlforlines .= '<span style="color: var(--amountremaintopaycolor)">';
|
if ($line->qty && $line->qty > $stock_real) $htmlforlines .= '<span style="color: var(--amountremaintopaycolor)">';
|
||||||
$htmlforlines .= ' <span class="posstocktoolow">('.$langs->trans("Stock").' '.$stock_real.')</span>';
|
$htmlforlines .= ' <span class="posstocktoolow">('.$langs->trans("Stock").' '.$stock_real.')</span>';
|
||||||
if ($line->qty>$stock_real) $htmlforlines .= "</span>";
|
if ($line->qty && $line->qty > $stock_real) $htmlforlines .= "</span>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else $htmlforlines .= $line->qty;
|
else $htmlforlines .= $line->qty;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user