msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

Inconsistent number behaviour when issuing a prescription #5357

Open marthakeezy opened 3 weeks ago

marthakeezy commented 3 weeks ago

What went wrong? šŸ˜²

Scenario: trying to issue a prescription for an item, that has decimal pack quantity available

Video of the behaviour attached ->>> here

Expected behaviour šŸ¤”

Available quantities should match to avoid confusion, rounding should also be consistent - either up, down or no rounding. If typing in decimal packs is allowed, both fields should be allowed or not allowed, not one or another.

How to Reproduce šŸ”Ø

Steps to reproduce the behaviour:

  1. Have an item in your store with some decimal availability (e.g. 2.5 units for example)
  2. Go to Dispensary -> Prescriptions and create a new prescription
  3. When issuing that item, note the numbers showing are different - can be confusing for the user. Play around with entering decimal numbers.

Your environment šŸŒ±

mark-prins commented 4 days ago

Can we retest please after the prescription changes are in šŸ™