Koha/acqui
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
..
pdfformat Bug 9506: FIX gst list values for each basket 2013-03-23 00:28:57 -04:00
acqui-home.pl Bug 7304: More permissions for budgets 2012-06-27 16:25:44 +02:00
addorder.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
addorderiso2709.pl Bug 9432: Plack changes for acqui/addorderiso2409.pl 2013-02-06 12:31:20 -05:00
basket.pl Bug 7358: reaffect a closed basket to a closed basketgroup 2012-11-25 18:19:29 -05:00
basketgroup.pl Bug 9506: FIX GST values for the basketgroup print action 2013-03-23 00:28:57 -04:00
basketheader.pl Bug 9364: fixes billing/delivery addresses for new baskets 2013-01-18 19:15:24 -05:00
booksellers.pl Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
check_budget_total.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
check_duplicate_barcode_ajax.pl Bug 6963: Corrects a problem when a new order is created with a duplicate barcode. 2011-11-04 10:22:28 +01:00
check_uniqueness.pl Bug 7178: Follow-up Improve order item creation 2012-05-14 16:16:13 +02:00
currency.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
fetch_sort_dropbox.pl Bug 8629: update of statistics fields on fund selection in order creation/edition 2012-09-14 16:57:02 +02:00
finishreceive.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
histsearch.pl Bug 7018 : need all acq permissions to search 2013-03-20 08:05:04 -04:00
invoice.pl Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
invoices.pl Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
lateorders.pl Bug 9014 - Add time due to slips 2013-03-21 11:07:42 -04:00
modordernotes.pl Bug 7166: Adds edit order notes when the basket is closed 2012-03-20 16:45:37 +01:00
neworderbiblio.pl Bug 9239 QA follow-up: the last QA follow-up was missing a require 2013-03-16 21:32:34 -04:00
neworderempty.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
newordersubscription.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
newordersuggestion.pl Bug 4330 : Fixing FSF address and copyright headers for acqui/ 2012-05-28 17:54:18 +02:00
ordered.pl Bug 7735: removal of C4::Dates when unused 2012-03-20 18:11:04 +01:00
orderreceive.pl Bug 9923: (MT #11060) actual cost not getting populated 2013-03-29 21:26:28 -04:00
parcel.pl Bug 9168: Software error when filtering in receipt summary (followup) 2012-12-02 09:06:17 -05:00
parcels.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
spent.pl Bug 5339: Invoices management improvement 2012-09-18 22:42:15 +02:00
supplier.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
uncertainprice.pl Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
updatesupplier.pl Bug 5335 - More granular VAT 2012-09-20 18:09:53 +02:00
z3950_search.pl Bug 9662: Followup for acquisition 2013-02-20 09:55:54 -05:00