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

--- Comment #214 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211460
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211460&action=edit
Bug 40445: (follow-up) Fix cashup summary dropping same-second transactions

The cashup session boundary conditions in
Koha::Cash::Register::Cashup->summary and ->accountlines used strict
'>' / '<' comparisons against accountlines.date. Since that column only
has second resolution, any transaction recorded in the same second as
either session boundary (the previous cashup, or this cashup's own
timestamp) was silently excluded from the summary and total_grouped
breakdown - most easily triggered by a "quick cashup" performed
immediately after a payment, as happens on self-service kiosks.

Restore the inclusive '-between' comparison used prior to this bug,
which includes transactions recorded exactly on a boundary.

Test plan:
1. prove t/db_dependent/Koha/Cash/Register/Cashup.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to