X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=effe84b96c94c620a59ec4262e869118067102fa;hb=f474f79841172f506370814b14a7efe80545f472;hp=b6f6b0dea92464759802e01455adeac59d1c8291;hpb=67b05564568d10ee3833a87f09b752d0319934ba;p=freeside.git diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index b6f6b0dea..effe84b96 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -40,7 +40,7 @@ % }
-
+ %#; padding-right:2px; vertical-align:top"> <% mt('Billing address') |h %> @@ -58,7 +58,7 @@ -
+ <% mt('Service address') |h %> ><% mt('same as billing address') |h %> -
- +
+
<& cust_main/before_ship_location.html, $cust_main &> <& /elements/location.html, object => $cust_main->ship_location, @@ -80,13 +80,12 @@ &> % unless ($conf->exists('invoice-ship_address')) { #it's always on, so hide per-cust config - - @@ -96,23 +95,21 @@
  + <% include('/elements/checkbox.html', 'field' => 'invoice_ship_address', 'value' => 'Y', 'curr_value' => $cust_main->invoice_ship_address, - 'postfix' => emt('included on invoices'), + 'postfix' => emt('Include service address on invoices'), ) %>
- -
+% if ( ! $has_ship_address ) { + $('#div_ship_location').hide(); +% } + + <& cust_main/contacts_new.html, 'cust_main'=>$cust_main, &>