[koha-commits] main Koha release repository branch master updated. v3.22.00-983-g92fbb1f

Git repo owner gitmaster at git.koha-community.org
Thu Mar 24 17:04:08 CET 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, master has been updated
       via  92fbb1f3d0f2bdb070a1b647c96edbce5b28a377 (commit)
       via  f1e1eaa32870a5954a1151973bae3dbe3f3b8122 (commit)
      from  541a03cf6daace451f78e614b8019382dcd52acc (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 92fbb1f3d0f2bdb070a1b647c96edbce5b28a377
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>

commit f1e1eaa32870a5954a1151973bae3dbe3f3b8122
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>

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

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