<%= $url = "$selfurl?session=$session_id;action="; ''; %> <%= include('header', 'All Invoices') %> <%= if ( @invoices ) { $OUT .= ''. ''; my $col1 = "ffffff"; my $col2 = "dddddd"; my $col = $col1; foreach my $invoice ( @invoices ) { my $td = qq!$td${a}Invoice #". $invoice->{'invnum'}. "$td ". "$td$a". $invoice->{'date'}. "$td". ''; $col = $col eq $col1 ? $col2 : $col1; } $OUT .= '
All Invoices
!; my $a=qq!'; $OUT .= "

'; } else { $OUT .= 'You have no invoices.

'; } %> <%= include('footer') %>