Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimal packs in prescriptions don't always show #6895

Closed
marthakeezy opened this issue Mar 11, 2025 · 0 comments · Fixed by #6909
Closed

Decimal packs in prescriptions don't always show #6895

marthakeezy opened this issue Mar 11, 2025 · 0 comments · Fixed by #6909
Assignees
Labels
feature: dispensing Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release. Team Piwakawaka James, Carl, John, Zachariah, Ferg
Milestone

Comments

@marthakeezy
Copy link

marthakeezy commented Mar 11, 2025

What went wrong? 😲

I was trying to issue some decimal packs in a prescription, and although saved, when you navigate away and navigate back to the item you are prescribing, the quantity appears as a whole number.

Although, when i refresh the page, the decimal numbers are there - but as soon as i add a new item, the problem is back for new items onwards!

Does not happen when you expand batches - there, the numbers are still decimals

Video of the behaviour is ->>> here

Expected behaviour 🤔

Should be saving in decimal packs and even when you navigate away and back, it should still show the same numbers

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Go to Dispensary -> Prescriptions
  2. Create a new prescription and add an item
  3. Issue decimal quantity -> save -> without navigating away, the number is still decimal
  4. Navigate away and back -> the number is back to a whole number
  5. Add another item -> repeat steps -> the issue is there
  6. Go back to the first item - most likely, there the quantity is now showing decimal number
  7. Inconsistent

Your environment 🌱

  • Open mSupply Version: V2.6.1-RC1
  • Legacy mSupply Central Server Version: V8.00.11
  • Platform: Google Chrome (browser for Mac)
  • Database type: PostgreSQL
@marthakeezy marthakeezy added needs daily triage New bug to be triaged by the release team needs triage Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release. feature: dispensing labels Mar 11, 2025
@jmbrunskill jmbrunskill added Team Piwakawaka James, Carl, John, Zachariah, Ferg and removed needs triage needs daily triage New bug to be triaged by the release team labels Mar 11, 2025
@jmbrunskill jmbrunskill added this to the 2.6.1-RC2 milestone Mar 11, 2025
@fergie-nz fergie-nz self-assigned this Mar 11, 2025
@fergie-nz fergie-nz linked a pull request Mar 12, 2025 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dispensing Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release. Team Piwakawaka James, Carl, John, Zachariah, Ferg
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants