[Koha-bugs] [Bug 14702] Refactor GetReserveFee

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 08:30:03 CEST 2015


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

--- Comment #20 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Joonas Kylmälä from comment #18)
> (In reply to Marcel de Rooy from comment #8)
> >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.
> 
> I'd suggest putting the fee calculation to another subroutine because it
> will help keeping the Koha code more modulated and reusable in future cases
> (even though it's not many lines (2!?)).
I will move these lines.

> Also the code below the comment "# If not all items are issued and there are
> no holds: charge no fee" shouldn't work like that. What if someone wants to
> explicitly have that one item or an item from one specific branch and the
> library doesn't do inter-library transportations.
This is outside the scope of this report. This report does not change behavior
but actually documents what Koha does here. If we want to change behavior, we
should open a new report on top of this one.

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


More information about the Koha-bugs mailing list