Repository navigation
Tags
Tags
fix: validate stock when a POS order is updated The stock check returned early on every update, so held orders and "Update to Server" carts could check out more than was in stock. Run it on updates too, counting stock this order already reduced as available so re-saving an unchanged order is not rejected. Fixes getdokan/wepos-pro#147
PreviousNext