Description
Able to edit the price after selling the goods. The revenue reflected is the old price. Could either not allow users to edit the price if all the goods are sold or update the revenue to show the new value.
Steps to reproduce
add rice 5 1
sold 1 5
revenue
update 1 /price 2
revenue
Expected
Revenue should be $10
Actual
Revenue is $5
This might be confusing when users are accounting later on.
Description
Able to edit the price after selling the goods. The revenue reflected is the old price. Could either not allow users to edit the price if all the goods are sold or update the revenue to show the new value.
Steps to reproduce
add rice 5 1sold 1 5revenueupdate 1 /price 2revenueExpected
Revenue should be $10
Actual
Revenue is $5
This might be confusing when users are accounting later on.