koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/reports catalogue_stats.pl,1.8,1.9


From: Henri-Damien LAURENT
Subject: [Koha-cvs] CVS: koha/reports catalogue_stats.pl,1.8,1.9
Date: Wed, 09 Mar 2005 04:31:48 -0800

Update of /cvsroot/koha/koha/reports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32134/reports

Modified Files:
        catalogue_stats.pl 
Log Message:
Modifying 0 value display in templates

Index: catalogue_stats.pl
===================================================================
RCS file: /cvsroot/koha/koha/reports/catalogue_stats.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** catalogue_stats.pl  8 Mar 2005 18:14:40 -0000       1.8
--- catalogue_stats.pl  9 Mar 2005 12:31:45 -0000       1.9
***************
*** 399,404 ****
                if ($celvalue) {
                        $cell{rowtitle} = $celvalue;
!               } else {
!                       $cell{rowtitle} = "";
                }
                $cell{totalrow} = 0;
--- 399,404 ----
                if ($celvalue) {
                        $cell{rowtitle} = $celvalue;
! #             } else {
! #                     $cell{rowtitle} = "";
                }
                $cell{totalrow} = 0;
***************
*** 441,446 ****
                if ($celvalue) {
                        $cell{coltitle} = $celvalue;
!               } else {
!                       $cell{coltitle} = "";
                }
                $ft{totalcol} = 0;
--- 441,446 ----
                if ($celvalue) {
                        $cell{coltitle} = $celvalue;
! #             } else {
! #                     $cell{coltitle} = "";
                }
                $ft{totalcol} = 0;
***************
*** 606,610 ****
                foreach my $col ( @loopcol ) {
                        my $value =$table{$row}->{($col->{coltitle} eq 
"NULL")?"zzEMPTY":$col->{coltitle}};
!                       push @loopcell, {value => ($value)?$value:""  } ;
                }
                push @looprow,{ 'rowtitle' => ($row eq "zzEMPTY")?"NULL":$row,
--- 606,610 ----
                foreach my $col ( @loopcol ) {
                        my $value =$table{$row}->{($col->{coltitle} eq 
"NULL")?"zzEMPTY":$col->{coltitle}};
!                       push @loopcell, {value => $value  } ;
                }
                push @looprow,{ 'rowtitle' => ($row eq "zzEMPTY")?"NULL":$row,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]