Main Koha release repository https://koha-community.org
Find a file
Christophe Croullebois 392ae1245f 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@univ-rennes2.fr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-29 21:26:28 -04:00
acqui Bug 9923: (MT #11060) actual cost not getting populated 2013-03-29 21:26:28 -04:00
admin Bug 9257 - Add "groups" to normal search pulldown 2013-03-22 08:20:08 -04:00
authorities
basket
C4 Revert "Merge branch 'bug_7688' into 3.12-master" 2013-03-23 00:36:37 -04:00
catalogue Bug 9875: Hide empty items tab 2013-03-20 14:37:52 -04:00
cataloguing Bug 9457: [ENH] Ordering branches should be case independent (2) 2013-03-20 15:35:58 -04:00
circ Bug 9604: filter overdues with homebranch and holdingbranch 2013-03-22 22:05:38 -04:00
debian Bug 9918 - build script updates, default to building 3.12 2013-03-27 21:49:27 -04:00
docs Add two new developers to the history 2013-03-27 22:14:22 -04:00
errors
etc Bug 9883 - Add missing parameter to koha-conf.xml causing Plugins.t to fail 2013-03-22 09:52:26 -04:00
install_misc Bug 9914: dependency updates for 3.12 2013-03-23 10:46:07 -04:00
installer Bug 9919: Correct syntax error caused by missing comma. 2013-03-25 08:43:26 -04:00
Koha Bug 9907 - Plugins test dies early on some servers 2013-03-22 17:50:09 -04:00
koha-tmpl Merge branch 'bug_9930' into 3.12-master 2013-03-29 21:09:49 -04:00
labels Bug 9239: Allow the use of QueryParser for all queries 2013-03-16 21:32:32 -04:00
members Bug 9457 - Followup - Ordering branches should be case independent (2) 2013-03-20 15:36:19 -04:00
misc Update release notes for 3.12.00-beta1 2013-03-23 09:35:08 -04:00
offline_circ Bug 8220 - Allow koc uploads to go to process queue instead of being applied directly. 2013-03-21 20:35:37 -04:00
opac Bug 7740 follow-up : removing duplicate declaration 2013-03-22 22:57:32 -04:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
patroncards Bug 9695 - Use alphabet system preference on page used to browse patrons for patron card batches 2013-03-13 08:43:25 -04:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 9117: Reports hierarchies management improvements 2013-03-21 18:54:09 -04:00
reserve Bug 9457 - Followup - Ordering branches should be case independent (2) 2013-03-20 15:36:19 -04:00
reviews
rotating_collections
selenium
serials Revert "Merge branch 'bug_7688' into 3.12-master" 2013-03-23 00:36:37 -04:00
services
skel Bug 7804 - Add Koha Plugin System 2013-03-20 14:49:47 -04:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion
svc Bug 9827: remove 'insecure' system preference 2013-03-19 21:46:34 -04:00
t Bug 9912: DateUtils.t must not access database 2013-03-23 09:13:16 -04:00
tags
test
tmp/modified_authorities
tools Bug 8378 - show all items columns and new items.fine 2013-03-21 21:53:06 -04:00
virtualshelves
xt Bug 9802 - add test case to ensure man pages have correct XML 2013-03-20 15:11:10 -04:00
.htaccess
.mailmap
about.pl Bug 7440 - Remove NoZebra vestiges 2013-03-19 21:17:04 -04:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 7440 - Remove NoZebra vestiges 2013-03-19 21:17:04 -04:00
INSTALL.opensuse
INSTALL.ubuntu
INSTALL.ubuntu.12.04 Bug 9267 - Ubuntu 12.04 install docs broken 2013-03-07 09:46:55 -05:00
INSTALL.ubuntu.lucid
koha_perl_deps.pl
kohaversion.pl Bump version for Koha 3.12.00-beta1 release 2013-03-23 09:54:28 -04:00
LICENSE
mainpage.pl
Makefile.PL Bug 9890 - Fix the new plugin system for package installs 2013-03-22 16:54:04 -04:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 7804 - Add Koha Plugin System 2013-03-20 14:49:47 -04:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/