diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 48208eb..f6a461b 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -100,7 +100,7 @@ "uri": "{/lang}/{/app}/purchase/analysis/supplier?{?}", "target": "self", "icon": null, - "order": 10, + "order": 15, "from": "SupplierManagement", "permission": { "permission": 2, "category": null, "element": null }, "parent": 1002106001, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index d9b036c..58c44f4 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -716,6 +716,14 @@ final class ApiController extends Controller } $model = $data['response']; - $this->createModelRelation($request->header->account, $request->getData('id'), $model->getId(), SupplierMapper::class, 'notes', '', $request->getOrigin()); + $this->createModelRelation( + $request->header->account, + $request->getData('id'), + $model->getId(), + SupplierMapper::class, + 'notes', + '', + $request->getOrigin() + ); } }