mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-09 13:38:40 +00:00
bug fixes
This commit is contained in:
parent
9376d770cc
commit
129154dffa
|
|
@ -59,5 +59,5 @@
|
|||
"permission": { "permission": 2, "type": null, "element": null },
|
||||
"parent": 1002106001,
|
||||
"children": []
|
||||
},
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -54,10 +54,9 @@ final class BackendController extends Controller
|
|||
$view->setTemplate('/Modules/SupplierManagement/Theme/Backend/supplier-list');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003202001, $request, $response));
|
||||
|
||||
$supplier = SupplierMapper
|
||||
::with('notes', models: null)
|
||||
$supplier = SupplierMapper::with('notes', models: null)
|
||||
::with('contactElements', models: null)
|
||||
::with('type', 'backend_image', models: [Media::class]) // @todo: it would be nicer if I coult say files:type or files/type and remove the models parameter?
|
||||
//::with('type', 'backend_image', models: [Media::class]) // @todo: it would be nicer if I coult say files:type or files/type and remove the models parameter?
|
||||
::getAfterPivot(0, null, 25);
|
||||
|
||||
$view->addData('supplier', $supplier);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user