[koha-commits] main Koha release repository branch master updated. v16.11.00-559-gd84ed89

Git repo owner gitmaster at git.koha-community.org
Fri Mar 3 20:32:18 CET 2017


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  d84ed89557e2c921f261b1c620434d432dcbd3f7 (commit)
      from  7a5f17ff6ecbec3a7f73fa54b900dae909996b29 (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 d84ed89557e2c921f261b1c620434d432dcbd3f7
Author: Colin Campbell <colin.campbell at ptfs-europe.com>
Date:   Tue Apr 5 12:56:24 2016 +0100

    Bug 16202: GetIssuingCharges should return a collectable amount
    
    Charges should not include elements less than a penny/cent
    they are not displayed but can be saved to the database
    causing "odd" behaviour down the line
    
    Make the routine round the resultant charge to nearest cent,
    so consistent values are returned.
    Removed the one case where it was rounded post call.
    Although the main danger is values generated by the discount
    calculation apply the rounding to all returned charges in case
    the item charge is defined using the 3rd or 4th decimal
    places.
    
    NOTE: prove -v t/db_dependent/Circulation.t triggers the change.
          Though, all the returned amounts are 0.00 only.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Circulation.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list