<%= $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" : '' %> |
<%= if ( $has_ship_address ) {
$OUT .= ''. ' | '.
'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 .= ' |