You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an order with a "Delivered" status, the inventory for the products in the order should decrease by the ordered quantity.
For example:
Product 1 inventory before order: 200
Product 1 in order: 10 units
Product 1 inventory after order: 190
Actual Behaviour:
The inventory for the products in the order remains unchanged.
For example:
Product 1 inventory before order: 200
Product 1 in order: 10 units
Product 1 inventory after order: 200
Steps To Reproduce:
Create a new order with products (e.g., Product 1, quantity: 10).
Set the order status to "Delivered" during creation.
Check the inventory for the products included in the order.
If possible, could you clarify where I should investigate this issue? I couldn't find anything related in the documentation. Could it be a configuration issue, or is there additional logic I need to implement manually?
The text was updated successfully, but these errors were encountered:
Lunar version: 1.0.0-beta6
Laravel Version: 11.33.2
PHP Version: 8.3.14
Database Driver & Version: Mysql 8.0
Expected Behaviour:
When creating an order with a "Delivered" status, the inventory for the products in the order should decrease by the ordered quantity.
For example:
Product 1 inventory before order: 200
Product 1 in order: 10 units
Product 1 inventory after order: 190
Actual Behaviour:
The inventory for the products in the order remains unchanged.
For example:
Product 1 inventory before order: 200
Product 1 in order: 10 units
Product 1 inventory after order: 200
Steps To Reproduce:
Create a new order with products (e.g., Product 1, quantity: 10).
Set the order status to "Delivered" during creation.
Check the inventory for the products included in the order.
If possible, could you clarify where I should investigate this issue? I couldn't find anything related in the documentation. Could it be a configuration issue, or is there additional logic I need to implement manually?
The text was updated successfully, but these errors were encountered: