The Ideal Stock Amount column is not visible in print

Description

When I was testing OLMIS-5494, I noticed that the "Ideal Stock Amount" column is not visible in print neither for requisitions using the demo-data templates, nor for those using newly-created ones.

Reproduction steps:

  1. Set all columns as displayed in e.g. the "Vaccine Stock Based R&R" template.

  2. Initiate a regular requisition for Cuamba as vsrmanager1.

  3. Click the "Print" button.

  4. The printed PDF doesn't contain the "Ideal Stock Amount" column, even though it's visible on the UI.

  5. Create two requisition templates: One stock-based, for which all columns are set as displayed and a regular one, for which all columns but "Calc order qty ISA" are set as displayed.

  6. Assign the templates to suitable programs and facility types.

  7. Initiate a regular requisition using the new stock-based template.

  8. Click the "Print" button.

  9. The printed PDF doesn't contain the "Ideal Stock Amount" column, even though it's visible on the UI.

  10. Initiate a regular requisition using the new regular template.

  11. Click the "Print" button.

  12. The printed PDF doesn't contain the "Ideal Stock Amount" column, even though it's visible on the UI.

Expected behavior:

  • The "Ideal Stock Amount" column should be visible in print and in the UI for requisitions using both demo-data and newly-created requisition templates.

Environment

None

Attachments

4

Activity

Show:

Joanna BebakMarch 18, 2019 at 2:17 PM

I made a re-test, and now everything works correctly.

Hussein HassanMarch 18, 2019 at 12:04 PM

Hi
I have resolved the issue..kindly help to do QA.

Thank you

Joanna BebakMarch 15, 2019 at 10:05 AM
Edited

I tested the ticket, and noticed one minor issue so far: When the Ideal Stock Amount is not defined for a given product (here: Safety Box), it's shown as null on the UI but in print, it's displayed as 0.0. It should be displayed as null also in print. Please look at the attached screenshots:

The issue occurs on both browsers and both for demo-data and new requisition templates. Apart from that, everything works correctly.

Joanna BebakMarch 15, 2019 at 8:46 AM

Are you testing this ticket? If not, I can do it.

Joanna BebakJanuary 11, 2019 at 11:34 AM

I was able to reproduce the issue.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Original estimate

Time tracking

2h 30m logged3h 30m remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created January 8, 2019 at 12:41 PM
Updated November 29, 2020 at 1:03 PM
Resolved March 18, 2019 at 2:17 PM