Bug Fixing : 217 (Suivi.paulpoulain.com : use ecost for actual cost rather than repla...
authorHenri-Damien LAURENT <henridamien@koha-fr.org>
Tue, 9 Oct 2007 21:46:50 +0000 (16:46 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 10 Oct 2007 00:12:08 +0000 (19:12 -0500)
+ another bug fixing.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Bookfund.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl

index 4368ef5..375e62f 100644 (file)
@@ -228,7 +228,7 @@ sub GetBookFundBreakdown {
         FROM   aqorders
         LEFT JOIN aqorderbreakdown ON aqorders.ordernumber=aqorderbreakdown.ordernumber
         LEFT JOIN aqbookfund ON (aqorderbreakdown.bookfundid=aqbookfund.bookfundid and aqorderbreakdown.branchcode=aqbookfund.branchcode)
-        LEFT JOIN aqbudget ON (aqbudget.bookfundid=aqbookfund.bookfundid and aqbudget.branchcode=aqbudget.branchcode)
+        LEFT JOIN aqbudget ON (aqbudget.bookfundid=aqbookfund.bookfundid and aqbudget.branchcode=aqbookfund.branchcode)
         WHERE  aqorderbreakdown.bookfundid=?
             AND (datecancellationprinted IS NULL OR datecancellationprinted='0000-00-00')
             AND ((budgetdate >= ? and budgetdate < ?) OR (startdate>=? and enddate<=?))
index db9eba9..1b0a8b7 100644 (file)
@@ -54,7 +54,7 @@
         <!-- TMPL_IF name="unitprice"-->
          <input type="text" size="20" name="cost" value="<!-- TMPL_VAR NAME="unitprice" -->" />
         <!-- TMPL_ELSE -->
-            <input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="rrp" -->" />
+            <input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost" -->" />
         <!-- /TMPL_IF --></p>
         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
     <!-- TMPL_IF name="catview" -->