[koha-commits] main Koha release repository branch master updated. v19.05.00-1339-g1ca7b6c

Git repo owner gitmaster at git.koha-community.org
Fri Nov 22 16:32:24 CET 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  1ca7b6c40cfc78bbeaf0c9d5bebeeb2e3b5ce611 (commit)
       via  39cc13d070e1613b4a903ec5e0e2513ebd561285 (commit)
      from  737d8d1c7c044905c22e4ed735f7782589cf1f80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1ca7b6c40cfc78bbeaf0c9d5bebeeb2e3b5ce611
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Nov 21 06:34:11 2019 -0500

    Bug 24075: Unit tests
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 39cc13d070e1613b4a903ec5e0e2513ebd561285
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri Nov 22 12:31:09 2019 +0000

    Bug 24075: Backdating a return to the exact due date and time results in the fine not being refunded
    
    When you use the date picker or book drop mode and check in an item that is due on that date, a fine is assessed and not refunded.
    
    For example: item 12345 is due on 11/19/2109 23:59.  On 11/20/2019 I check the item in using date picker/book drop setting the check in date to 11/19/2019 23:59, the patron is charged a fine, and the fine is not cleared as would be expected, since the item is being checked in before it is overdue.
    
    Test Plan:
    1) Back date a checkout so it is overdue
    2) Run fines.pl to generate the fine
    3) Return the item, backdating to the same date/time is was due
    4) Note the fine was not removed
    5) Apply this patch
    6) Repeat steps 1-3
    7) Fine should be zeroed out now!
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Circulation.pm            |    6 ++----
 C4/Overdues.pm               |    4 ++++
 t/db_dependent/Circulation.t |   45 +++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 50 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list