{
function manufacturing_app()
{
- global $installed_extensions;
$this->application("manuf", _($this->help_context = "&Manufacturing"));
$this->add_module(_("Transactions"));
"manufacturing/manage/bom_edit.php?", 'SA_BOM');
$this->add_lapp_function(2, _("&Work Centres"),
"manufacturing/manage/work_centres.php?", 'SA_WORKCENTRES');
- if (count($installed_extensions) > 0)
- {
- foreach ($installed_extensions as $mod)
- {
- if (@$mod['active'] && $mod['type'] == 'plugin' && $mod["tab"] == "manuf")
- $this->add_rapp_function(2, $mod["title"],
- "modules/".$mod["path"]."/".$mod["filename"]."?",
- isset($mod["access"]) ? $mod["access"] : 'SA_OPEN' );
- }
- }
+
+ $this->add_extensions();
}
}