template fixes + bug fixes + style fixes

This commit is contained in:
Dennis Eichhorn 2024-04-02 21:40:48 +00:00
parent 8662d95454
commit 448a10353a
5 changed files with 3 additions and 36 deletions

View File

@ -58,21 +58,6 @@
"children": []
}
]
},
{
"id": 1002106001,
"pid": "/",
"type": 2,
"subtype": 1,
"name": "Analysis",
"uri": "{/base}/purchase/analysis?{?}",
"target": "self",
"icon": null,
"order": 15,
"from": "Purchase",
"permission": { "permission": 2, "category": null, "element": null },
"parent": 1002101001,
"children": []
}
]
}

View File

@ -228,7 +228,7 @@ final class BackendController extends Controller
->with('createdBy')
->with('elements')
->sort('createdAt', OrderType::DESC)
->execute();
->executeGetArray();
return $view;
}

View File

@ -127,7 +127,7 @@ final class CliController extends Controller
'order_suggestion_comparison_duration_type',
'segment', 'section', 'sales_group', 'product_group', 'product_type',
], 'IN')
->execute();
->executeGetArray();
// @todo check for supplier of item if set
// @todo check for product type of item if set

View File

@ -50,6 +50,6 @@ return ['Purchase' => [
'ProductGroup' => 'Product Group',
'MinRange' => 'Min. Range',
'OrderSuggestions' => 'Order Suggestions',
'OrderSuggestion' => 'Order Suggestion',
'OrderSuggestion' => 'Order Suggestion',
'Suggestions' => 'Suggestions',
]];

View File

@ -1,18 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Sales
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
echo $this->data['nav']->render();