diff --git a/htdocs/bom/bom_net_needs.php b/htdocs/bom/bom_net_needs.php index 5fbf5747f96..7d429702060 100644 --- a/htdocs/bom/bom_net_needs.php +++ b/htdocs/bom/bom_net_needs.php @@ -171,7 +171,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea // Object card // ------------------------------------------------------------ - $linkback = ''.$langs->trans("BackToList").''; + $linkback = ''.$langs->trans("BackToList").''; $morehtmlref = '
| '.$TProduct['bom']->getNomUrl(1).' | '; } - print ''.$TProduct['qty'].' | '; + print ''.price(price2num($TProduct['qty'], 'MS')).' | '; print ''; print ' | '; print ''; @@ -306,7 +306,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea if ($action == 'treeview') { print ' | '; } - print ' | '.$TInfos['qty'].' | '; + print ''.price(price2num($TInfos['qty'], 'MS')).' | '; print ''; print ' | '; print ''.price2num($prod->stock_reel, 'MS').' | '; @@ -325,7 +325,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea } print '
| '.$prod->getNomUrl(1).' | '; - print ''.$elem['qty'].' | '; + print ''.price(price2num($elem['qty'], 'MS')).' | '; print ''; $useunit = (($prod->type == Product::TYPE_PRODUCT && getDolGlobalInt('PRODUCT_USE_UNITS')) || (($prod->type == Product::TYPE_SERVICE) && ($elem['fk_unit']))); if ($useunit) { @@ -335,7 +335,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print(isset($unit->label) ? " ".$langs->trans(ucwords($unit->label))." " : ''); } print ' | '; - print ''.price2num($prod->stock_reel, 'MS').' | '; + print ''.price(price2num($prod->stock_reel, 'MS')).' | '; print ''.$prod->stock_theorique.' | '; print '