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

Chris Cormack <ch...@bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29806|0                           |1
        is obsolete|                            |

--- Comment #7 from Chris Cormack <ch...@bigballofwax.co.nz> ---
Created attachment 29941
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29941&action=edit
Bug 12596 - Backdating returns with SpecifiyReturnDate causes fines for items
not overdue!

When using the backdating of returns feature, an item that is not
overdue is treated as being as many days overdue as it is *not* overdue.
This is due to the fact that _get_chargeable_units appears to return the
difference between the return date and the due date without
consideration the return date being earlier than the due date.

Test Plan:
1) Apply the unit test patch
2) prove t/db_dependent/Circulation.t
3) Note the failure
4) Apply the second patch
5) prove t/db_dependent/Circulation.t
6) Note there are no failures

Signed-off-by: Chris Cormack <chr...@catalyst.net.nz>
Fixes some badly named variables also

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to