X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Finvoices.html;h=ffc44ec8548195b13c5a76711128af83a5437dd1;hb=425cf92cbeb8b417c8ebfb5a7e00d23eca866506;hp=752805123233d7bd57380c1968a8b76094e0f033;hpb=b1cfcb4b7edeff225f746837684e7ff956aafefd;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/invoices.html b/fs_selfservice/FS-SelfService/cgi/invoices.html index 752805123..ffc44ec85 100644 --- a/fs_selfservice/FS-SelfService/cgi/invoices.html +++ b/fs_selfservice/FS-SelfService/cgi/invoices.html @@ -3,24 +3,34 @@ <%= if ( @invoices ) { - $OUT .= ''. - ''; - my $col1 = "ffffff"; - my $col2 = "dddddd"; + my $th = q!
All Invoices
!; + 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 #". $invoice->{'invnum'}. "$td ". - "$td$a". $invoice->{'date'}. "$td". + "". + $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 $td = qq!!; + my $tdr = qq!!; my $a=qq!'; $OUT .= - "
'; + $OUT .= '

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

'; + $OUT .= '

You have no invoices.

'; } %>