mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-18 01:18:41 +00:00
bug fixes
This commit is contained in:
parent
9376d770cc
commit
129154dffa
|
|
@ -59,5 +59,5 @@
|
||||||
"permission": { "permission": 2, "type": null, "element": null },
|
"permission": { "permission": 2, "type": null, "element": null },
|
||||||
"parent": 1002106001,
|
"parent": 1002106001,
|
||||||
"children": []
|
"children": []
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -54,10 +54,9 @@ final class BackendController extends Controller
|
||||||
$view->setTemplate('/Modules/SupplierManagement/Theme/Backend/supplier-list');
|
$view->setTemplate('/Modules/SupplierManagement/Theme/Backend/supplier-list');
|
||||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003202001, $request, $response));
|
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003202001, $request, $response));
|
||||||
|
|
||||||
$supplier = SupplierMapper
|
$supplier = SupplierMapper::with('notes', models: null)
|
||||||
::with('notes', models: null)
|
|
||||||
::with('contactElements', 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);
|
::getAfterPivot(0, null, 25);
|
||||||
|
|
||||||
$view->addData('supplier', $supplier);
|
$view->addData('supplier', $supplier);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user