1 <HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
2 <BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
3 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
4 <TABLE BORDER=0 CELLPADDING=4><TR><TD VALIGN="top" HEIGHT=384 BGCOLOR="#dddddd">
5 <A HREF="<%= $url %>myaccount">MyAccount</A><BR>
6 <!-- <A HREF="<%= $url %>other">SomethingElse</A><BR> -->
9 Hello <%= $name %>!<BR><BR>
10 Your contact information<BR><%= $small_custview %>
13 $OUT .= qq! <B><A HREF="${url}make_payment">Make a $balance payment</A></B>!;
16 <!--<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
17 <TR><TH>Invoice</TH><TH>Date</TH><TH>Owed</TH></TR>-->
19 if ( @open_invoices ) {
20 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
21 '<TR><TH BGCOLOR="#ff3333" COLSPAN=5>Open Invoices</TH><TD>';
22 my $link = qq!<A HREF="<%= $url %>myaccount!;
27 foreach my $invoice ( @open_invoices ) {
28 my $td = qq!<TD BGCOLOR="#$col">!;
29 my $a=qq!<A HREF="${url}view_invoice;invnum=!. $invoice->{'invnum'}. '">';
31 "<TR>$td${a}Invoice #". $invoice->{'invnum'}. "</A></TD>$td</TD>".
32 "$td$a". $invoice->{'date'}. "</A></TD>$td</TD>".
33 qq!<TD BGCOLOR="#$col" ALIGN="right">$a\$!. $invoice->{'owed'}.
36 $col = $col eq $col1 ? $col2 : $col1;
40 $OUT .= 'You have no outstanding invoices.<BR><BR>';
46 <FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>