nesh170 / asap-inventory-system

This is a concept inventory system for ECE458. It is built by ASAPsolutions
1 stars 0 forks source link

returned_quantity sometimes adding and sometimes not #208

Closed ankitkayastha closed 7 years ago

ankitkayastha commented 7 years ago

it seems as though when the quantity to return is being updated, sometimes returned_quantity is being added to the original quantity, and sometimes it isn't.

nesh170 commented 7 years ago

https://github.com/nesh170/asap-inventory-system/pull/209

The root cause was because i did loan.returned_quantity = quantity thus not appending.