Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #5504

Category None
Changed by Dan Wells <dbw2ohnoyoudont@calvin.edu>
Changed at Wed 11 Jul 2018 17:09:13
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision a3adec2d9fecd6e63d5feb1532670fc5435bb0db


LP#1749795 Close circ on adjustment when rebilled
When doing a re-bill, we were aborting too early when it rebilled to
exactly zero.  Move the 'zero' check to the top of the loop, and
thereby make sure we check if the xact can be closed if we do any
adjustment, up or down.

To test:
- Run new billing test from previous commit, see it fail
- Apply patch
- Run tests again; all should pass

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

Changed files