[Koha-bugs] [Bug 5549] Hourly Loans

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 21 10:40:02 CET 2012


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

Corinne BULAC <corinnebulac at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA

--- Comment #66 from Corinne BULAC <corinnebulac at gmail.com> ---
about RenewalPeriodBase...two options are possible

"Option 1" ->The old due date of the checkout
"Option 2" ->The current date

For a daily loan

- « Option 1 » dones these things
A loan made the « 01/03/2012 », loan period = 14 days, the due date is «
15/03/2012 ». If you renew it the 02/03/2012 », the due date becomes «
29/03/2012 »

- « Option 2 » dones this things
A loan made the « 01/03/2012 », loan period = 14 days, due date is 15/03/2012
». If you renew it the 02/03/2012 », the due date becomes « 16/03/2012 »

For a hourly loan these two options should done :

- « Option 1 »
A loan made the « 01/03/2012  at 15:00», loan period = 1 hour, due date is «
15/03/2012 at 16 :00 ». If you renew it the 01/03/2012 at 15:15, the due date
becomes « 15/03/2012 at 17 :00 »

- « Option 2 »
A loan made the « 01/03/2012  at 15:00», loan period = 1 hour, due date is «
15/03/2012 at 16 :00 ». If you renew it the 01/03/2012 at 15:15, the due date
becomes « 15/03/2012 at 16 :15 »

For an hourly loan, "option 1" doesnt't work. It is as if « option 2 » was
systematically applied

New tests this morning : 

Check-in of a hourly loan gives a software error message “Can’t call method
“inverse” without a package or object reference at
/usr/lib/perl5/DateTime/Duration.pm line 237” and ckeckin is not done

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list