mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-01-11 15:18:41 +00:00
bump
This commit is contained in:
parent
b957ef8136
commit
e9ee5ec255
35
.github/dev_bug_report.md
vendored
35
.github/dev_bug_report.md
vendored
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
name: Dev Bug Report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: stat_backlog, type_bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
# Bug Description
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
# How to Reproduce
|
||||
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
## Minimal Code Example
|
||||
|
||||
```
|
||||
// your code ...
|
||||
```
|
||||
|
||||
# Expected Behavior
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
# Screenshots
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
# Additional Information
|
||||
Add any other context about the problem here.
|
||||
18
.github/dev_feature_request.md
vendored
18
.github/dev_feature_request.md
vendored
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
name: Dev Feature Request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: stat_backlog, type_feature
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
# What is the feature you request
|
||||
* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
* A clear and concise description of what you want to happen.
|
||||
|
||||
# Alternatives
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
# Additional Information
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Stock",
|
||||
"uri": "{/base}/warehouse/stock/list",
|
||||
"uri": "{/base}/warehouse/stock/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Stocks",
|
||||
"uri": "{/base}/warehouse/stock/list",
|
||||
"uri": "{/base}/warehouse/stock/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Locations",
|
||||
"uri": "{/base}/warehouse/stock/location/list",
|
||||
"uri": "{/base}/warehouse/stock/location/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Types",
|
||||
"uri": "{/base}/warehouse/stock/type/list",
|
||||
"uri": "{/base}/warehouse/stock/type/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ final class Installer extends InstallerAbstract
|
|||
private static function createDefaultStock(ApplicationAbstract $app) : void
|
||||
{
|
||||
/** @var \Modules\WarehouseManagement\Controller\ApiController $module */
|
||||
$module = $app->moduleManager->getModuleInstance('WarehouseManagement', 'Api');
|
||||
$module = $app->moduleManager->get('WarehouseManagement', 'Api');
|
||||
|
||||
$response = new HttpResponse();
|
||||
$request = new HttpRequest();
|
||||
|
|
@ -100,7 +100,7 @@ final class Installer extends InstallerAbstract
|
|||
$stockTypes = [];
|
||||
|
||||
/** @var \Modules\WarehouseManagement\Controller\ApiStockTypeController $module */
|
||||
$module = $app->moduleManager->getModuleInstance('WarehouseManagement', 'ApiStockType');
|
||||
$module = $app->moduleManager->get('WarehouseManagement', 'ApiStockType');
|
||||
|
||||
foreach ($types as $type) {
|
||||
$response = new HttpResponse();
|
||||
|
|
@ -159,7 +159,7 @@ final class Installer extends InstallerAbstract
|
|||
public static function personalStock(ApplicationAbstract $app, string $type) : void
|
||||
{
|
||||
/** @var \Modules\WarehouseManagement\Controller\ApiController $module */
|
||||
$module = $app->moduleManager->getModuleInstance('WarehouseManagement', 'Api');
|
||||
$module = $app->moduleManager->get('WarehouseManagement', 'Api');
|
||||
|
||||
$mapper = $type === 'client'
|
||||
? \Modules\ClientManagement\Models\ClientMapper::class
|
||||
|
|
|
|||
|
|
@ -103,6 +103,14 @@ final class StockMapper extends DataMapperFactory
|
|||
$reserved = [];
|
||||
$ordered = [];
|
||||
|
||||
if (empty($items)) {
|
||||
return [
|
||||
'dists' => $dists,
|
||||
'reserved' => $reserved,
|
||||
'ordered' => $ordered,
|
||||
];
|
||||
}
|
||||
|
||||
$itemIdsString = \implode(',', $items);
|
||||
|
||||
// @todo only select sales stock. Therefore we need a place to define the sales stock(s)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ echo $this->data['nav']->render();
|
|||
<tr data-id="" draggable="false">
|
||||
<td>
|
||||
<i class="g-icon btn update-form">settings</i>
|
||||
<input id="attributeTable-remove-0" type="checkbox" class="hidden">
|
||||
<input id="attributeTable-remove-0" type="checkbox" class="vh">
|
||||
<label for="attributeTable-remove-0" class="checked-visibility-alt"><i class="g-icon btn form-action">close</i></label>
|
||||
<span class="checked-visibility">
|
||||
<label for="attributeTable-remove-0" class="link default"><?= $this->getHtml('Cancel', '0', '0'); ?></label>
|
||||
|
|
@ -70,7 +70,7 @@ echo $this->data['nav']->render();
|
|||
<td>
|
||||
<i class="g-icon btn update-form">settings</i>
|
||||
<?php if (!$value->type->isRequired) : ?>
|
||||
<input id="localizationTable-remove-<?= $value->id; ?>" type="checkbox" class="hidden">
|
||||
<input id="localizationTable-remove-<?= $value->id; ?>" type="checkbox" class="vh">
|
||||
<label for="localizationTable-remove-<?= $value->id; ?>" class="checked-visibility-alt"><i class="g-icon btn form-action">close</i></label>
|
||||
<span class="checked-visibility">
|
||||
<label for="localizationTable-remove-<?= $value->id; ?>" class="link default"><?= $this->getHtml('Cancel', '0', '0'); ?></label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user