[Koha-bugs] [Bug 14702] Fix GetReserveFee

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 24 14:47:08 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14702

--- Comment #8 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 41853
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41853&action=edit
Bug 14702: Refactor GetReserveFee

The code of GetReserveFee was not very clear.
What it did was: check if there are some items not issued. If so and there
are no holds, calculate no fee.

Since AddReserves only calls this sub, we can move the code for charging the
fee to this sub. I renamed it to ChargeReserveFee.
There is no change in behavior.

Test plan:
[1] Make sure that a patron category (X) includes a hold fee.
[2] Select a biblio with 2 items.
[3] Issue one item to another patron.
[4] Place a hold on this biblio by patron with category X. No charge?
[5] Cancel the hold from the previous step.
[6] Use another patron to place another hold on this biblio.
[7] Place hold again by patron with category X. Is it charged?
[8] Cancel that hold again. Issue the second item to another patron.
[9] Place hold again by patron with category X. Is it charged again?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list