Customer #<%= $display_custnum %> - <%= $status_label %> <%= if ( $has_ship_address ) { $OUT .= ''. '
<%= $has_ship_address ? 'Billing Address
' : '' %> <%= encode_entities($first) %> <%= encode_entities($last) %>
<%= $company ? encode_entities($company).'
' : '' %> <%= encode_entities($address1) %>
<%= $address2 ? encode_entities($address2).'
' : '' %> <%= $city %>, <%= $state %> <%= $zip %>
<%= $country && $country ne ($countrydefault||'US') ? $country.'
' : '' %> <%= if ( $daytime && $night ) { $OUT .= "
Day Phone $daytime
Night Phone $night"; } elsif ( $daytime || $night ) { $OUT .= '
'. ($daytime || $night); } ''; %> <%= $fax ? "
Fax $fax" : '' %>
 '. 'Service Address
'. "$ship_first $ship_last
"; $OUT .= "$ship_company
" if $ship_company; $OUT .= "$ship_address1
"; $OUT .= "$ship_address2
" if $ship_address2; $OUT .= "$ship_city, $ship_state $ship_zip
"; $OUT .= "$ship_country
" if $ship_country && $ship_country ne ($countrydefault||'US'); if ( $ship_daytime && $ship_night ) { $OUT .= "
Day Phone $ship_daytime
Night Phone $ship_night"; } elsif ( $ship_daytime || $ship_night ) { $OUT .= '
<%= unless ( $access_pkgnum ) { if ($balance >= 0) { $OUT .= '
Balance: '. $balance_pretty . '
'; } else { my $credit_balance_pretty = $balance_pretty; $credit_balance_pretty =~ s/-//; $OUT .= '
Credit Balance: '. $credit_balance_pretty . '
'; } } ''; %>