[koha-commits] main Koha release repository branch 3.18.x updated. v3.18.03-64-g0085f89

Git repo owner gitmaster at git.koha-community.org
Sun Feb 15 06:46:58 CET 2015


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.18.x has been updated
       via  0085f89df9ff2f8c5b3c364da6a7994376914a43 (commit)
       via  d469db4b387cb9dd8111034ffa65fde58734d9e6 (commit)
      from  a3189a6f68cf2812849573c8ec64ff76d9fa593d (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 0085f89df9ff2f8c5b3c364da6a7994376914a43
Author: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date:   Sun Feb 8 16:23:41 2015 +0100

    Bug 13352: QA Follow-up: Remove Price filter from "Warning at (%)"
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

commit d469db4b387cb9dd8111034ffa65fde58734d9e6
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Mon Jan 26 10:28:27 2015 +0100

    Bug 13352: On editing, prices should not be formatted
    
    Bug 12979 refactored the way to display prices.
    The price format configuration was duplicated everywhere it was used.
    
    All calls looks good except the one in admin/aqbudgetperiods.pl
    In this one, the prices are formatted for an edition field (input).
    This means the input is incorrectly filled even if the user does not
    update the field.
    
    At the end, maybe should we manage formatted prices everywhere, even in
    inputs, but it's not in the scope of this bug.
    
    Technically, a new subroutine format_for_editing is added to the
    Koha::Number::Price module.
    It should be called everywhere a price is displayed in an input field.
    At the moment, it only does a sprintf("%.2f"), but it is a first step to
    let the number of decimals to display configurable.
    
    To test:
    1/ Verify the issue described is fixed (editing a budget with a total
    amount > 1000 (With CurrencyFormat is US or FR).
    2/ Verify you can edit a fund with a total amount > 1000
    
    Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

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

Summary of changes:
 Koha/Number/Price.pm                                    |   15 +++++++++++++++
 Koha/Template/Plugin/Price.pm                           |    9 +++++++--
 admin/aqbudgetperiods.pl                                |    5 -----
 admin/aqbudgets.pl                                      |    1 -
 .../prog/en/modules/admin/aqbudgetperiods.tt            |    7 +++----
 .../intranet-tmpl/prog/en/modules/admin/aqbudgets.tt    |    6 +++---
 6 files changed, 28 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list