<%= $url = "$selfurl?action="; ''; %> <%= include('header', 'All Invoices') %> <%= if ( @invoices ) { my $th = q!!; my $thr = q!!; $OUT .= ''. ''.$th.'Invoice #'.$th.'Date'.$thr.'Charges' .$th.'Date Paid'.$thr.'Owed'; my $col1 = "#ffffff"; my $col2 = "#dddddd"; my $col = $col1; foreach my $invoice ( @invoices ) { my $td = qq!". $td . $a . $invoice->{'invnum'}. "" . $td . $a . $invoice->{'date'} . "" . $tdr . $a . $money_char . $invoice->{'charged'} . "" . $td . $a . $invoice->{'lastpay'} . "" . $tdr . $a . $money_char . $invoice->{'owed'} . "" . ''; $col = $col eq $col1 ? $col2 : $col1; } my $tht = ''.$tht.'BALANCE DUE'.$tht.$money_char.$balance.''; $OUT .= '
!; my $tdr = qq!!; my $a=qq!'; $OUT .= "
'; $OUT .= '

'; } else { $OUT .= '

You have no invoices.

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