From 7f28053a6550eaa6dd655cd42ed6d822f83b3b19 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Mon, 8 Jun 2009 15:52:37 -0400 Subject: [PATCH] Bug 2889: Removed toggle variable from aqbudget.tmpl. Used template variable __odd__ instead. Removed toggle variable from aqbudget.pl and aqbudget.tmpl. Used template variable __odd__ instead. Signed-off-by: Galen Charlton --- admin/aqbudget.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/aqbudget.pl b/admin/aqbudget.pl index fccedae079..fb4d168dbf 100755 --- a/admin/aqbudget.pl +++ b/admin/aqbudget.pl @@ -402,14 +402,12 @@ SELECT aqbudgetid, scalar @results - 1, ); - my $toggle = 0; my @loop; foreach my $result (@results[$first .. $last]) { push( @loop, { %{$result}, - toggle => $toggle++%2, bookfundname => $bookfundname_of{ $result->{'bookfundid'} }, branchname => $branches->{ $result->{branchcode} }->{branchname}, startdate => format_date($result->{startdate}), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl index b4b02be5db..3a19feeb5d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget.tmpl @@ -218,7 +218,7 @@ - + -- 2.39.5