From 1b71636306d8e22e939d4e26ae38b0acff988425 Mon Sep 17 00:00:00 2001 From: data Date: Mon, 2 Feb 2026 18:00:29 +0100 Subject: [PATCH] =?UTF-8?q?Link=20im=20linken=20Men=C3=BC=20verlinkt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/modules/modImportZugferd.class.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/core/modules/modImportZugferd.class.php b/core/modules/modImportZugferd.class.php index a1af114..c3337b0 100755 --- a/core/modules/modImportZugferd.class.php +++ b/core/modules/modImportZugferd.class.php @@ -76,7 +76,7 @@ class modImportZugferd extends DolibarrModules $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@importzugferd' // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z' - $this->version = '2.5'; + $this->version = '2.7'; // Url to the file with your last numberversion of this module //$this->url_last_version = 'http://www.example.com/versionmodule.txt'; @@ -463,6 +463,23 @@ class modImportZugferd extends DolibarrModules 'user' => 2, ); + // Left menu entry under Products main menu: New Products to Review (after Statistics) + $this->menu[$r++] = array( + 'fk_menu' => 'fk_mainmenu=products,fk_leftmenu=product', + 'type' => 'left', + 'titre' => 'NewProductsToReview', + 'prefix' => img_picto('', 'fa-star', 'class="pictofixedwidth valignmiddle paddingright"'), + 'mainmenu' => 'products', + 'leftmenu' => 'new_products_review', + 'url' => '/importzugferd/new_products.php', + 'langs' => 'importzugferd@importzugferd', + 'position' => 650, + 'enabled' => 'isModEnabled("importzugferd") && isModEnabled("product")', + 'perms' => '$user->hasRight("produit", "lire")', + 'target' => '', + 'user' => 2, + ); + // Exports profiles provided by this module $r = 0;