From d8259f94e148754b220d7276439f2768896fb07a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 4 Mar 2019 13:40:16 +0100 Subject: [PATCH] Work on BOM module --- htdocs/admin/bom.php | 4 ++++ htdocs/core/modules/bom/mod_bom_advanced.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/bom.php b/htdocs/admin/bom.php index e7b1e4fc3d6..220110750a2 100644 --- a/htdocs/admin/bom.php +++ b/htdocs/admin/bom.php @@ -315,6 +315,9 @@ foreach ($dirmodels as $reldir) print "
\n"; +if ($conf->global->MAIN_FEATURES_LEVEL >= 2) +{ + /* * Document templates generators */ @@ -532,6 +535,7 @@ print ''; print ''; print '
'; +} /* * Notifications diff --git a/htdocs/core/modules/bom/mod_bom_advanced.php b/htdocs/core/modules/bom/mod_bom_advanced.php index 373fd5ffa8b..e37ce3d9840 100644 --- a/htdocs/core/modules/bom/mod_bom_advanced.php +++ b/htdocs/core/modules/bom/mod_bom_advanced.php @@ -68,7 +68,7 @@ class mod_bom_advanced extends ModeleNumRefboms $texte.= ''; $texte.= ''; $texte.= ''; - $texte.= ''; + $texte.= '
'; $tooltip=$langs->trans("GenericMaskCodes", $langs->transnoentities("Bom"), $langs->transnoentities("Bom")); $tooltip.=$langs->trans("GenericMaskCodes2");