1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header', 'All Invoices') %>
6 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
7 '<TR><TH BGCOLOR="#ff6666" COLSPAN=4>All Invoices</TH></TR>';
12 foreach my $invoice ( @invoices ) {
13 my $td = qq!<TD BGCOLOR="#$col">!;
14 my $a=qq!<A HREF="${url}view_invoice;invnum=!. $invoice->{'invnum'}. '">';
16 "<TR>$td${a}Invoice #". $invoice->{'invnum'}. "</A></TD>$td</TD>".
17 "$td$a". $invoice->{'date'}. "</A></TD>$td</TD>".
19 $col = $col eq $col1 ? $col2 : $col1;
21 $OUT .= '</TABLE><BR>';
23 $OUT .= 'You have no invoices.<BR><BR>';
27 <%= include('footer') %>