mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-02-16 14:18:41 +00:00
Test fixes
This commit is contained in:
parent
2f64935f99
commit
37658cb239
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# Structure
|
|
||||||
|
|
||||||
## ER
|
|
||||||
|
|
||||||

|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 312 KiB |
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ return ['WarehouseManagement' => [
|
||||||
'Type' => 'Typ',
|
'Type' => 'Typ',
|
||||||
'Location' => 'Lagerplatz',
|
'Location' => 'Lagerplatz',
|
||||||
'Quantity' => 'Menge',
|
'Quantity' => 'Menge',
|
||||||
'All' => 'Alle',
|
'All' => 'Alle',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ return ['WarehouseManagement' => [
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
'Location' => 'Location',
|
'Location' => 'Location',
|
||||||
'Quantity' => 'Quantity',
|
'Quantity' => 'Quantity',
|
||||||
'All' => 'All',
|
'All' => 'All',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user