Test fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-16 02:14:55 +00:00
parent 2f64935f99
commit 37658cb239
7 changed files with 13 additions and 18 deletions

View File

@ -140,7 +140,7 @@
"null": false "null": false
}, },
"warehousemgmt_stocklocation_z": { "warehousemgmt_stocklocation_z": {
"description": "Height", "comment": "Height",
"name": "warehousemgmt_stocklocation_z", "name": "warehousemgmt_stocklocation_z",
"type": "INT", "type": "INT",
"null": false "null": false
@ -188,7 +188,7 @@
"null": false "null": false
}, },
"warehousemgmt_stockshelf_z": { "warehousemgmt_stockshelf_z": {
"description": "Height", "comment": "Height",
"name": "warehousemgmt_stockshelf_z", "name": "warehousemgmt_stockshelf_z",
"type": "INT", "type": "INT",
"null": false "null": false
@ -214,7 +214,7 @@
"foreignKey": "itemmgmt_item_id" "foreignKey": "itemmgmt_item_id"
}, },
"warehousemgmt_lot_purchase_price": { "warehousemgmt_lot_purchase_price": {
"description": "only used if custom value, otherwise transaction protocol more accurate because of mixed prices and then lifo/fifo etc. depending on internal guidelines", "comment": "only used if custom value, otherwise transaction protocol more accurate because of mixed prices and then lifo/fifo etc. depending on internal guidelines",
"name": "warehousemgmt_lot_purchase_price", "name": "warehousemgmt_lot_purchase_price",
"type": "BIGINT", "type": "BIGINT",
"null": false "null": false
@ -298,13 +298,13 @@
"null": false "null": false
}, },
"warehousemgmt_attr_type_required": { "warehousemgmt_attr_type_required": {
"description": "Every item must have this attribute type if set to true.", "comment": "Every item must have this attribute type if set to true.",
"name": "warehousemgmt_attr_type_required", "name": "warehousemgmt_attr_type_required",
"type": "TINYINT(1)", "type": "TINYINT(1)",
"null": false "null": false
}, },
"warehousemgmt_attr_type_pattern": { "warehousemgmt_attr_type_pattern": {
"description": "This is a regex validation pattern.", "comment": "This is a regex validation pattern.",
"name": "warehousemgmt_attr_type_pattern", "name": "warehousemgmt_attr_type_pattern",
"type": "VARCHAR(255)", "type": "VARCHAR(255)",
"null": false "null": false
@ -634,7 +634,7 @@
"autoincrement": true "autoincrement": true
}, },
"warehousemgmt_stock_transaction_state": { "warehousemgmt_stock_transaction_state": {
"description": "Is draft (= reserved = bill currently in draft) or finalized", "comment": "Is draft (= reserved = bill currently in draft) or finalized",
"name": "warehousemgmt_stock_transaction_state", "name": "warehousemgmt_stock_transaction_state",
"type": "TINYINT", "type": "TINYINT",
"null": false "null": false
@ -705,7 +705,7 @@
"foreignKey": "warehousemgmt_stock_type_id" "foreignKey": "warehousemgmt_stock_type_id"
}, },
"warehousemgmt_stock_transaction_bill_element": { "warehousemgmt_stock_transaction_bill_element": {
"description": "indirectly contains createdat/by in the bill as well as supplier/customer", "comment": "indirectly contains createdat/by in the bill as well as supplier/customer",
"name": "warehousemgmt_stock_transaction_bill_element", "name": "warehousemgmt_stock_transaction_bill_element",
"type": "INT", "type": "INT",
"null": false, "null": false,

View File

@ -1,5 +0,0 @@
# Structure
## ER
![ER](Modules/WarehouseManagement/Docs/Dev/img/er.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

View File

@ -55,7 +55,7 @@ class StockLocation
*/ */
public function __construct(string $name = '') public function __construct(string $name = '')
{ {
$this->name = $name; $this->name = $name;
$this->stock = new NullStock(); $this->stock = new NullStock();
} }
} }

View File

@ -22,5 +22,5 @@ return ['WarehouseManagement' => [
'Type' => 'Typ', 'Type' => 'Typ',
'Location' => 'Lagerplatz', 'Location' => 'Lagerplatz',
'Quantity' => 'Menge', 'Quantity' => 'Menge',
'All' => 'Alle', 'All' => 'Alle',
]]; ]];

View File

@ -22,5 +22,5 @@ return ['WarehouseManagement' => [
'Type' => 'Type', 'Type' => 'Type',
'Location' => 'Location', 'Location' => 'Location',
'Quantity' => 'Quantity', 'Quantity' => 'Quantity',
'All' => 'All', 'All' => 'All',
]]; ]];

View File

@ -2,7 +2,7 @@
"name": { "name": {
"id": 1001300000, "id": 1001300000,
"internal": "WarehouseManagement", "internal": "WarehouseManagement",
"external": "Warehousing" "external": "Warehouse Management"
}, },
"category": "Logistics", "category": "Logistics",
"version": "1.0.0", "version": "1.0.0",
@ -12,9 +12,9 @@
}, },
"creator": { "creator": {
"name": "Jingga", "name": "Jingga",
"website": "jingga.app" "website": "https://jingga.app"
}, },
"description": "Warehousing module.", "description": "Warehouse Management module.",
"directory": "WarehouseManagement", "directory": "WarehouseManagement",
"dependencies": { "dependencies": {
"Admin": "1.0.0", "Admin": "1.0.0",