X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=399431311e73bfb64d178540d8226bd9a91f88db;hb=f62a68016f32b443084705b0e7851497b308f81d;hp=1c188dc14956455e79ed0e15c09fd92a4314db62;hpb=b5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1;p=freeside.git diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 1c188dc14..399431311 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -15,7 +15,7 @@ % if ( $custnum ) { - Customer #<% $cust_main->display_custnum %> - + <% mt('Customer #') |h %><% $cust_main->display_custnum %> - <% ucfirst($cust_main->status) %> @@ -31,15 +31,6 @@ <& cust_main/birthdate.html, $cust_main &> % } -%# latitude and longitude -% if ( $conf->exists('cust_main-require_censustract') ) { -% my ($latitude, $longitude) = $cust_main->service_coordinates; -% $latitude ||= $conf->config('company_latitude') || ''; -% $longitude ||= $conf->config('company_longitude') || ''; - - -% } - %# contact info % my $same_checked = ''; @@ -51,14 +42,15 @@ % push @ship_style, 'background-color:#dddddd'; % foreach ( % qw( last first company address1 address2 city county state zip country -% daytime night fax ) +% latitude longitude coord_auto +% daytime night fax mobile ) % ) { % $cust_main->set("ship_$_", $cust_main->get($_) ); % } % }
-Billing address +<% mt('Billing address') |h %> <& cust_main/contact.html, 'cust_main' => $cust_main, @@ -73,7 +65,7 @@
-<% mt('Service address') |h %> +<% mt('Service address') |h %> -(><% mt('same as billing address') |h %>) +><% mt('same as billing address') |h %> <& cust_main/contact.html, 'cust_main' => $cust_main, 'pre' => 'ship_', @@ -146,17 +138,23 @@ function samechanged(what) { 'style' => \@ship_style &> +<& cust_main/contacts_new.html, + 'cust_main' => $cust_main, +&> + %# billing info <& cust_main/billing.html, $cust_main, 'payinfo' => $payinfo, 'invoicing_list' => \@invoicing_list, &> +
% my $ro_comments = $conf->exists('cust_main-use_comments')?'':'readonly'; % if (!$ro_comments || $cust_main->comments) { -
<% mt('Comments') |h %> - <% &ntable("#cccccc") %> +
+ <% mt('Comments') |h %> +