Koha/t/db_dependent/Members
Jonathan Druart 4b0b273cb0 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

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-20 09:57:25 -03:00
..
AddEnrolmentFeeIfNeeded.t Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded 2013-08-16 15:08:41 +00:00
GetAllIssues.t Bug 12457: Allow UT on a non empty database 2014-07-30 09:50:35 -03:00
GetPendingIssues.t Bug 12457: Allow UT on a non empty database 2014-07-30 09:50:35 -03:00
IssueSlip.t Bug 12847: Items issued today is considered as overdue 2015-04-20 09:57:25 -03:00