human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Ensuring that the value of the “Total on Hand” column is zero

Open GiovannyCordeiro opened this issue 6 months ago • 10 comments

Resolves #5004

Description

Bug fix (non-breaking change which fixes an issue)

Type of change

  • Changes to the “Itemized donation” and “Itemized distributions” pages by removing “Unknown” to zero
  • Tests have been carried out to guarantee this change

How Has This Been Tested?

I ran a test by creating a fictitious donation of five units, followed by a simulated distribution of those same units. In this way, the visualization in the "reports" tab of both windows showed zero, as expected.

GiovannyCordeiro avatar Jun 11 '25 16:06 GiovannyCordeiro

Functionality looks good. Asking @dorner for a review.

cielf avatar Jun 12 '25 19:06 cielf

Hey @GiovannyCordeiro A process note here -- please avoid force pushes once we've started reviews.

cielf avatar Jun 17 '25 20:06 cielf

Oh... Sorry @cielf, I just wanted the branch to be up to date with the main branch for revision.

GiovannyCordeiro avatar Jun 17 '25 22:06 GiovannyCordeiro

Rechecked the functional - still looks good.

cielf avatar Jun 18 '25 17:06 cielf

Hrmm @GiovannyCordeiro It looks like there is a test failing that is related to your work.

cielf avatar Jun 18 '25 17:06 cielf

The error was happening because I didn't set the filter to enter the range of the donation creation I made. Sorry.

But I've fixed it!

GiovannyCordeiro avatar Jun 18 '25 18:06 GiovannyCordeiro

Very good! The next step is @dorner's review -- to set expectations, that may take up to 2 weeks due to him being extra busy atm.

cielf avatar Jun 18 '25 19:06 cielf

@GiovannyCordeiro is this ready for re-review?

cielf avatar Jul 13 '25 16:07 cielf

Not yet. Unfortunately, I haven't been able to dedicate time to it in the last two weeks. I still need to identify why the test logic doesn't work properly when a code change occurs. I hope to take a look tomorrow. Sorry, @cielf

GiovannyCordeiro avatar Jul 14 '25 02:07 GiovannyCordeiro

I believe @GiovannyCordeiro said they have to go quiet for awhile on another issue.

cielf avatar Jul 20 '25 01:07 cielf