diff --git a/.github/dev_bug_report.md b/.github/dev_bug_report.md deleted file mode 100644 index ef93e56..0000000 --- a/.github/dev_bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Dev Bug Report -about: Create a report to help us improve -title: '' -labels: stat_backlog, type_bug -assignees: '' - ---- - -# Bug Description -A clear and concise description of what the bug is. - -# How to Reproduce - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## Minimal Code Example - -``` -// your code ... -``` - -# Expected Behavior -A clear and concise description of what you expected to happen. - -# Screenshots -If applicable, add screenshots to help explain your problem. - -# Additional Information -Add any other context about the problem here. diff --git a/.github/dev_feature_request.md b/.github/dev_feature_request.md deleted file mode 100644 index 9573c35..0000000 --- a/.github/dev_feature_request.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Dev Feature Request -about: Suggest an idea for this project -title: '' -labels: stat_backlog, type_feature -assignees: '' - ---- - -# What is the feature you request -* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -* A clear and concise description of what you want to happen. - -# Alternatives -A clear and concise description of any alternative solutions or features you've considered. - -# Additional Information -Add any other context or screenshots about the feature request here. diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 2ebedd9..f1497c2 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Assets", - "uri": "{/base}/accounting/asset/list", + "uri": "{/base}/accounting/asset/list?{?}", "target": "self", "icon": null, "order": 1, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/base}/accounting/asset/list", + "uri": "{/base}/accounting/asset/list?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Table", - "uri": "{/base}/accounting/asset/table", + "uri": "{/base}/accounting/asset/table?{?}", "target": "self", "icon": null, "order": 1, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Entries", - "uri": "{/base}/accounting/asset/entry/list", + "uri": "{/base}/accounting/asset/entry/list?{?}", "target": "self", "icon": null, "order": 15, diff --git a/Admin/Installer.php b/Admin/Installer.php index da46304..5b81871 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -84,7 +84,7 @@ final class Installer extends InstallerAbstract $assetTypes = []; /** @var \Modules\AssetManagement\Controller\ApiAssetTypeController $module */ - $module = $app->moduleManager->getModuleInstance('AssetManagement', 'ApiAssetType'); + $module = $app->moduleManager->get('AssetManagement', 'ApiAssetType'); /** @var array $type */ foreach ($types as $type) { @@ -148,7 +148,7 @@ final class Installer extends InstallerAbstract $inspectionTypes = []; /** @var \Modules\AssetManagement\Controller\ApiInspectionTypeController $module */ - $module = $app->moduleManager->getModuleInstance('AssetManagement', 'ApiInspectionType'); + $module = $app->moduleManager->get('AssetManagement', 'ApiInspectionType'); /** @var array $type */ foreach ($types as $type) { @@ -209,7 +209,7 @@ final class Installer extends InstallerAbstract $itemAttrType = []; /** @var \Modules\AssetManagement\Controller\ApiAssetAttributeController $module */ - $module = $app->moduleManager->getModuleInstance('AssetManagement', 'ApiAssetAttribute'); + $module = $app->moduleManager->get('AssetManagement', 'ApiAssetAttribute'); /** @var array $attribute */ foreach ($attributes as $attribute) { @@ -277,7 +277,7 @@ final class Installer extends InstallerAbstract $itemAttrValue = []; /** @var \Modules\AssetManagement\Controller\ApiAssetAttributeController $module */ - $module = $app->moduleManager->getModuleInstance('AssetManagement', 'ApiAssetAttribute'); + $module = $app->moduleManager->get('AssetManagement', 'ApiAssetAttribute'); foreach ($attributes as $attribute) { $itemAttrValue[$attribute['name']] = [];