[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/acqui basket.pl,1.24.2.1,1.24.2.2
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/acqui basket.pl,1.24.2.1,1.24.2.2 |
Date: |
Thu, 14 Apr 2005 13:31:56 -0700 |
Update of /cvsroot/koha/koha/acqui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22297/acqui
Modified Files:
Tag: rel_2_2
basket.pl
Log Message:
Fixing switch for alternating table row colors (using 'highlight' variable in
the template)
Index: basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/basket.pl,v
retrieving revision 1.24.2.1
retrieving revision 1.24.2.2
diff -C2 -r1.24.2.1 -r1.24.2.2
*** basket.pl 5 Apr 2005 09:38:08 -0000 1.24.2.1
--- basket.pl 14 Apr 2005 20:31:38 -0000 1.24.2.2
***************
*** 65,69 ****
my $gist; # GST
my $grand_total; # $subttotal + $gist
- my $toggle=0;
my @books_loop;
--- 65,68 ----
***************
*** 75,84 ****
$sub_total+=$line_total;
my %line;
! if ($toggle==0){
! $line{color}='#EEEEEE';
! $toggle=1;
} else {
! $line{color}='white';
! $toggle=0;
}
$line{ordernumber} = $results[$i]->{'ordernumber'};
--- 74,81 ----
$sub_total+=$line_total;
my %line;
! if ($i % 2){
! $line{highlight}=1;
} else {
! $line{highlight}=0;
}
$line{ordernumber} = $results[$i]->{'ordernumber'};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/acqui basket.pl,1.24.2.1,1.24.2.2,
Owen Leonard <=