[Koha-bugs] [Bug 12847] Date comparisons in C4::Members::IssueSlip are broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 16 13:12:03 CEST 2015


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36048|0                           |1
        is obsolete|                            |
  Attachment #36049|0                           |1
        is obsolete|                            |

--- Comment #30 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 37946
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37946&action=edit
Bug 12847: Items issued today is considered as overdue

The date comparisons in C4::Members::IssueSlip does not work as
expected.
Is an item is issue yesterday and due today (23:59), it should not be
considered as an overdue yet.

Test plan:
Define a valid issue slip (code ISSUESLIP)
Check 2 items out and update the issuedate value for one of them as
yesterday (using the mariadb/mysql cli or similar)
Print the slip
Before this patch the item marked as issued yesterday is considered as
overdue.

Special cases:
- hourly loans
- Quick slip is impacted too

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


More information about the Koha-bugs mailing list