mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-02-15 15:28:41 +00:00
template fixes + bug fixes + style fixes
This commit is contained in:
parent
8662d95454
commit
448a10353a
|
|
@ -58,21 +58,6 @@
|
||||||
"children": []
|
"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": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ final class BackendController extends Controller
|
||||||
->with('createdBy')
|
->with('createdBy')
|
||||||
->with('elements')
|
->with('elements')
|
||||||
->sort('createdAt', OrderType::DESC)
|
->sort('createdAt', OrderType::DESC)
|
||||||
->execute();
|
->executeGetArray();
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ final class CliController extends Controller
|
||||||
'order_suggestion_comparison_duration_type',
|
'order_suggestion_comparison_duration_type',
|
||||||
'segment', 'section', 'sales_group', 'product_group', 'product_type',
|
'segment', 'section', 'sales_group', 'product_group', 'product_type',
|
||||||
], 'IN')
|
], 'IN')
|
||||||
->execute();
|
->executeGetArray();
|
||||||
|
|
||||||
// @todo check for supplier of item if set
|
// @todo check for supplier of item if set
|
||||||
// @todo check for product type of item if set
|
// @todo check for product type of item if set
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,6 @@ return ['Purchase' => [
|
||||||
'ProductGroup' => 'Product Group',
|
'ProductGroup' => 'Product Group',
|
||||||
'MinRange' => 'Min. Range',
|
'MinRange' => 'Min. Range',
|
||||||
'OrderSuggestions' => 'Order Suggestions',
|
'OrderSuggestions' => 'Order Suggestions',
|
||||||
'OrderSuggestion' => 'Order Suggestion',
|
'OrderSuggestion' => 'Order Suggestion',
|
||||||
'Suggestions' => 'Suggestions',
|
'Suggestions' => 'Suggestions',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -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();
|
|
||||||
Loading…
Reference in New Issue
Block a user