1 <DIV ID="fs_small_custview">
3 Customer #<B><%= $custnum %></B>
4 - <B><FONT COLOR="#<%= $statuscolor %>"><%= ucfirst($status)%></FONT></B>
6 <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="<%= $box_bgcolor ||= '#c0c0c0' %>">
10 ? '<I><FONT SIZE="-1">Billing Address</FONT></I><BR>'
13 <%= $first %> <%= $last %><BR>
14 <%= $company ? $company.'<BR>' : '' %>
16 <%= $address2 ? $address2.'<BR>' : '' %>
17 <%= $city %>, <%= $state %> <%= $zip %><BR>
18 <%= $country && $country ne ($countrydefault||'US')
22 <%= if ( $daytime && $night ) {
23 $OUT .= "<BR>Day Phone $daytime<BR>Night Phone $night";
24 } elsif ( $daytime || $night ) {
25 $OUT .= '<BR>'. ($daytime || $night);
29 <%= $fax ? "<BR>Fax $fax" : '' %>
33 <%= if ( $has_ship_address ) {
35 $OUT .= '<TD> </TD>'.
37 '<I><FONT SIZE="-1">Service Address</FONT></I><BR>'.
38 "$ship_first $ship_last<BR>";
39 $OUT .= "$ship_company<BR>" if $ship_company;
40 $OUT .= "$ship_address1<BR>";
41 $OUT .= "$ship_address2<BR>" if $ship_address2;
42 $OUT .= "$ship_city, $ship_state $ship_zip<BR>";
43 $OUT .= "$ship_country<BR>"
44 if $ship_country && $ship_country ne ($countrydefault||'US');
47 if ( $ship_daytime && $ship_night ) {
48 $OUT .= "<BR>Day Phone $ship_daytime<BR>Night Phone $ship_night";
49 } elsif ( $ship_daytime || $ship_night ) {
50 $OUT .= '<BR'. ($ship_daytime || $ship_night);
53 $OUT .= "<BR>Fax $ship_fax" if $ship_fax;
62 <%= unless ( $access_pkgnum ) {
63 $OUT .= '<BR>Balance: <B>$'. $balance. '</B><BR>';