[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.05-21-g40507ce

Git repo owner gitmaster at git.koha-community.org
Wed Apr 6 16:24:30 CEST 2016


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, 3.22.x has been updated
       via  40507ce1529a237ec5c51837805100e89e96db9c (commit)
       via  8374e3e87119dae08521d68fd99b9975f164e4ec (commit)
      from  c4c7ea475b813d97595a6114ef2e31028ec6efe5 (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 40507ce1529a237ec5c51837805100e89e96db9c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 8 11:58:24 2016 +0000

    Bug 15741: Fix rounding in total fines calculations
    
    C4::Members::GetMemberAccountRecords wrongly casts float to integer
    It's common to use sprintf in Perl to do this job.
    
    % perl -e 'print int(1000*64.60)."\n"';
    64599
    % perl -e 'print sprintf("%.0f", 1000*64.60)."\n"';
    64600
    
    Test plan:
    1) Create manual invoice for 64.60 (or 1.14, 1.36, ...)
    2) Try to pay it using "Pay amount" or "Pay selected" buttons
    
    Signed-off-by: Sally Healey <sally.healey at cheshiresharedservices.gov.uk>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit 92fbb1f3d0f2bdb070a1b647c96edbce5b28a377)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 8374e3e87119dae08521d68fd99b9975f164e4ec
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Wed Mar 23 20:28:56 2016 -0300

    Bug 15741: (regression tests) Rounding is not calculated correctly
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit f1e1eaa32870a5954a1151973bae3dbe3f3b8122)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 C4/Members.pm            |    2 +-
 t/db_dependent/Members.t |   31 ++++++++++++++++++++++++++++++-
 2 files changed, 31 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list