[koha-commits] main Koha release repository branch new/bug_9923 created. v3.12.00-beta1-17-g392ae12

Git repo owner gitmaster at git.koha-community.org
Sat Mar 30 02:23:23 CET 2013


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, new/bug_9923 has been created
        at  392ae1245fde7d9ab5dc7fc8cacebacd60f857ad (commit)

- Log -----------------------------------------------------------------
commit 392ae1245fde7d9ab5dc7fc8cacebacd60f857ad
Author: Christophe Croullebois <christophe.croullebois at biblibre.com>
Date:   Mon Mar 18 18:46:03 2013 +0100

    Bug 9923: (MT #11060) actual cost not getting populated
    
    The patch 7129 introduces a bug if the unitprice is 0.0000.
    Instead of showing in this case the 'ecost' if there is not 'unitprice',
    it shows 0.00 and the 'Actual cost' must be manually entered. The line:
    if ( @$results[0]->{'unitprice'} == 0 ) {
        @$results[0]->{'unitprice'} = '';
    
    was wrote in this perspective.
    But sprintf ( "%.2f", with '' or 0 or any string will return 0.00
    and then, in the .tt 'unitprice' exists so we have the bad result.
    
    Signed-off-by: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

commit d8f2e43ef521c84e12fdbed55d974690afcc9993
Merge: eb60b90 cd47a74
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Fri Mar 29 21:09:49 2013 -0400

    Merge branch 'bug_9930' into 3.12-master

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list