[Koha-bugs] [Bug 20912] Rental fees based on time period

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 3 11:11:59 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20912

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dpavlin at rot13.org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #228 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
I'm afraid that this patch broke AddRenewal which now calculates wrong duedate
because of:

-        $datedue =  CalcDateDue($datedue, $itemtype,
_GetCircControlBranch($item_unblessed, $patron_unblessed), $patron_unblessed,
'is a renewal');
+        $datedue =  CalcDateDue($datedue, $itemtype, $circ_library,
$patron_unblessed, 'is a renewal');


This will pass $circ_library object instead of branch name so $duedate will be
calculated wrongly.

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


More information about the Koha-bugs mailing list