mirror of
https://github.com/Karaka-Management/oms-ClientManagement.git
synced 2026-01-22 20:58:40 +00:00
september update 1
This commit is contained in:
parent
12e49da38a
commit
c48724d095
|
|
@ -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\ClientManagement\Controller\BackendController;
|
||||
use Modules\ClientManagement\Models\PermissionState;
|
||||
|
|
|
|||
|
|
@ -111,8 +111,8 @@ final class BackendController extends Controller
|
|||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003102001, $request, $response));
|
||||
|
||||
$client = ClientMapper
|
||||
::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('client', $client);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user