mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-16 09:48:41 +00:00
template fixes + bug fixes + style fixes
This commit is contained in:
parent
376cf3d47f
commit
52dfc5ab55
|
|
@ -56,10 +56,10 @@ final class BackendController extends Controller
|
||||||
->limit(50);
|
->limit(50);
|
||||||
|
|
||||||
if ($request->getData('ptype') === 'p') {
|
if ($request->getData('ptype') === 'p') {
|
||||||
$view->data['logs'] = $mapper->where('id', $request->getDataInt('id') ?? 0, '<')
|
$view->data['logs'] = $mapper->where('id', $request->getDataInt('offset') ?? 0, '<')
|
||||||
->execute();
|
->execute();
|
||||||
} elseif ($request->getData('ptype') === 'n') {
|
} elseif ($request->getData('ptype') === 'n') {
|
||||||
$view->data['logs'] = $mapper->where('id', $request->getDataInt('id') ?? 0, '>')
|
$view->data['logs'] = $mapper->where('id', $request->getDataInt('offset') ?? 0, '>')
|
||||||
->execute();
|
->execute();
|
||||||
} else {
|
} else {
|
||||||
$view->data['logs'] = $mapper->where('id', 0, '>')
|
$view->data['logs'] = $mapper->where('id', 0, '>')
|
||||||
|
|
@ -112,7 +112,7 @@ final class BackendController extends Controller
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1007001001, $request, $response);
|
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1007001001, $request, $response);
|
||||||
|
|
||||||
/** @var \Modules\Exchange\Models\InterfaceManager[] $interfaces */
|
/** @var \Modules\Exchange\Models\InterfaceManager[] $interfaces */
|
||||||
$interfaces = InterfaceManagerMapper::getAll()->execute();
|
$interfaces = InterfaceManagerMapper::getAll()->executeGetArray();
|
||||||
|
|
||||||
$export = [];
|
$export = [];
|
||||||
foreach ($interfaces as $interface) {
|
foreach ($interfaces as $interface) {
|
||||||
|
|
@ -145,7 +145,7 @@ final class BackendController extends Controller
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1007001001, $request, $response);
|
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1007001001, $request, $response);
|
||||||
|
|
||||||
/** @var \Modules\Exchange\Models\InterfaceManager[] $interfaces */
|
/** @var \Modules\Exchange\Models\InterfaceManager[] $interfaces */
|
||||||
$interfaces = InterfaceManagerMapper::getAll()->execute();
|
$interfaces = InterfaceManagerMapper::getAll()->executeGetArray();
|
||||||
|
|
||||||
$import = [];
|
$import = [];
|
||||||
foreach ($interfaces as $interface) {
|
foreach ($interfaces as $interface) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user