---
 acqui/bookfund.pl                                  |    4 ++--
 .../prog/en/modules/acqui/bookfund.tmpl            |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/acqui/bookfund.pl b/acqui/bookfund.pl
index f5f74bb..4769b9b 100755
--- a/acqui/bookfund.pl
+++ b/acqui/bookfund.pl
@@ -84,7 +84,7 @@ while ( my $data = $sth->fetchrow_hashref ) {
     }
     if ( $left && $left > 0 ) {
         my $subtotal = $left * $data->{'ecost'};
-        $data->{subtotal} = $subtotal;
+        $data->{subtotal} = sprintf("%.2f",$subtotal);
         $data->{'left'} = $left;
         push @commited_loop, $data;
         $total += $subtotal;
@@ -93,7 +93,7 @@ while ( my $data = $sth->fetchrow_hashref ) {
 
 $template->param(
     COMMITTEDLOOP => [EMAIL PROTECTED],
-    total        => $total
+    total        =>  sprintf("%.2f",$total),
 );
 $sth->finish;
 $dbh->disconnect;
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/bookfund.tmpl 
b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/bookfund.tmpl
index 9887188..3dba4b2 100755
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/bookfund.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/bookfund.tmpl
@@ -33,7 +33,7 @@
        <tr>
        <!--/TMPL_IF-->
                <td><!--TMPL_VAR NAME="title"-->        </td>
-               <td>    <a 
href="/cgi-bin/koha/acqui/newbiblio.pl?ordnum=<!--TMPL_VAR 
NAME="ordnum"-->&amp;booksellerid=<!--TMPL_VAR 
NAME="booksellerid"-->&amp;basket=<!--TMPL_VAR NAME="basketno"-->"><!--TMPL_VAR 
NAME="ordnum"--></a></td>
+               <td>    <a 
href="/cgi-bin/koha/acqui/neworderempty.pl?ordnum=<!--TMPL_VAR 
NAME="ordnum"-->&amp;booksellerid=<!--TMPL_VAR 
NAME="booksellerid"-->&amp;basketno=<!--TMPL_VAR 
NAME="basketno"-->"><!--TMPL_VAR NAME="ordnum"--></a></td>
                <td><!--TMPL_VAR NAME="itemtype"-->     </td>
                <td><!--TMPL_VAR NAME="left"--> </td>
                <td><!--TMPL_VAR NAME="ecost"-->        </td>
-- 
1.5.5.GIT

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to