%= $url = "$selfurl?action="; ''; %>
<%= include('header', 'My Account') %>
Hello <%= $name %>!
<%= include('small_custview') %>
<%=
$OUT .= qq! View All Invoices !;
%>
<%= if ( $balance > 0 ) {
if (scalar(grep $_, @hide_payment_fields)) { # this sucks
$OUT .= qq! Make a payment
!;
} else {
$OUT .= qq! Make a payment
!;
foreach my $term ( sort { $b <=> $a } keys %discount_terms_hash ) {
my $saved = $discount_terms_hash{$term}->[1];
my $amount = $discount_terms_hash{$term}->[2];
my $savings = ( $amount + $saved > 0 )
? sprintf('%d', $saved / ( $amount + $saved ) * 100 ) : '0';
$OUT .= qq! Save $savings\% by paying for $term months: $amount
!;
}
$OUT .= qq!
!;
}
} %>
<%=
if ( @open_invoices ) {
my $th = q!
Open Invoices | |||
---|---|---|---|
!; my $tdr = qq! | !;
my $a=qq!';
$OUT .=
" |
You have no outstanding invoices.
'; } %> <%= if ( @support_services ) { $OUT .= 'Support Time Remaining | '. '||
---|---|---|
Package | '. ' | Time Remaining | !;
my $a = qq!';
$OUT .=
" |