many small fixes

This commit is contained in:
Dennis Eichhorn 2023-02-10 18:20:57 +01:00
parent 781f96a5e8
commit d2c701b897
2 changed files with 10 additions and 2 deletions

View File

@ -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,

View File

@ -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()
);
}
}