From 4f82212607fbecbcb8e83622d2ad4de60b3e4738 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Mon, 20 Feb 2023 14:13:47 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/bom/bom_net_needs.php | 48 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/htdocs/bom/bom_net_needs.php b/htdocs/bom/bom_net_needs.php index 32cb02db295..0a1b0d367ad 100644 --- a/htdocs/bom/bom_net_needs.php +++ b/htdocs/bom/bom_net_needs.php @@ -214,7 +214,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print ''.img_picto('', 'folder', 'class="paddingright"').$langs->trans("UndoExpandAll").' '; } print ''; - if($action == 'treeview') print ''.$langs->trans('ProducedBy').''; + if ($action == 'treeview') print ''.$langs->trans('ProducedBy').''; print ''.$langs->trans('Quantity').''; print ''.$form->textwithpicto($langs->trans("PhysicalStock"), $text_stock_options, 1).''; print ''.$form->textwithpicto($langs->trans("VirtualStock"), $langs->trans("VirtualStockDesc")).''; @@ -231,13 +231,13 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea $prod->fetch($TProduct['bom']->fk_product); if ($TProduct['parentid'] != $object->id) print ''; else print ''; - if($action == 'treeview') print ''.str_repeat($repeatChar, $TProduct['level']).$prod->getNomUrl(1); - else print ''.str_repeat($repeatChar, $TProduct['level']).$TProduct['bom']->getNomUrl(1); + if ($action == 'treeview') print ''.str_repeat($repeatChar, $TProduct['level']).$prod->getNomUrl(1); + else print ''.str_repeat($repeatChar, $TProduct['level']).$TProduct['bom']->getNomUrl(1); print ' '; print img_picto('', 'folder-open'); print ''; print ''; - if($action == 'treeview') print ''.$TProduct['bom']->getNomUrl(1).''; + if ($action == 'treeview') print ''.$TProduct['bom']->getNomUrl(1).''; print ''.$TProduct['qty'].''; print ''; print ''; @@ -252,7 +252,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea if ($fk_bom != $object->id) print ''; else print ''; print ''.str_repeat($repeatChar, $TInfos['level']).$prod->getNomUrl(1).''; - if($action == 'treeview') print ''; + if ($action == 'treeview') print ''; print ''.$TInfos['qty'].''; print ''.price2num($prod->stock_reel, 'MS').''; print ''.$prod->stock_theorique.''; @@ -297,29 +297,29 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea