From 59cd6cc346359e3a4a86a1ebbece1f8893a47623 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Fri, 20 Jun 2008 14:49:21 -0500 Subject: [PATCH] Fix broken link and quick formatting of currency. Signed-off-by: Joshua Ferraro --- acqui/bookfund.pl | 4 ++-- koha-tmpl/intranet-tmpl/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 f5f74bbad9..4769b9b323 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 => \@commited_loop, - 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 9887188aee..3dba4b2e8a 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 @@ - &booksellerid=&basket="> + &booksellerid=&basketno="> -- 2.39.5