mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-11 17:28:41 +00:00
september update 1
This commit is contained in:
parent
a31b0dd6f4
commit
5d7ab934a3
|
|
@ -1,4 +1,16 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 8.0
|
||||
*
|
||||
* @package Modules
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use Modules\SupplierManagement\Controller\BackendController;
|
||||
use Modules\SupplierManagement\Models\PermissionState;
|
||||
|
|
|
|||
|
|
@ -109,8 +109,8 @@ final class BackendController extends Controller
|
|||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003202001, $request, $response));
|
||||
|
||||
$supplier = SupplierMapper
|
||||
::with('files', limit: 5, orderBy: 'createdAt', sortOrder: 'ASC')
|
||||
::with('notes', limit: 5, orderBy: 'id', sortOrder: 'ASC')
|
||||
::with('files', limit: 5)::orderBy('createdAt', 'ASC')
|
||||
::with('notes', limit: 5)::orderBy('id', 'ASC')
|
||||
::get((int) $request->getData('id'));
|
||||
|
||||
$view->setData('supplier', $supplier);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user