Link im linken Menü verlinkt

This commit is contained in:
Eduard Wisch 2026-02-02 18:00:29 +01:00
parent 04dbe4df24
commit 1b71636306

View file

@ -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' $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' // 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 // Url to the file with your last numberversion of this module
//$this->url_last_version = 'http://www.example.com/versionmodule.txt'; //$this->url_last_version = 'http://www.example.com/versionmodule.txt';
@ -463,6 +463,23 @@ class modImportZugferd extends DolibarrModules
'user' => 2, '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 // Exports profiles provided by this module
$r = 0; $r = 0;