diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 397ff291ec5..69adde70895 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1081,8 +1081,9 @@ if ($placeid > 0) if ($resql) { $obj = $db->fetch_object($resql); $stock_real = price2num($obj->reel, 'MS'); - if ($line->qty>$stock_real) $htmlforlines .= ""; - $htmlforlines .= $line->qty.' ('.$langs->trans("Of").' '.$stock_real.')'; + $htmlforlines .= $line->qty + if ($line->qty>$stock_real) $htmlforlines .= ''; + $htmlforlines .= ' ('.$langs->trans("Stock").' '.$stock_real.')'; if ($line->qty>$stock_real) $htmlforlines .= ""; } }