X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=399431311e73bfb64d178540d8226bd9a91f88db;hb=f62a68016f32b443084705b0e7851497b308f81d;hp=2ba40d23ab04c2ee25f62be2a8f91b0545c8cb78;hpb=a0dd6f2c04a3f22aa741d1d639f8985a81c6e81b;p=freeside.git
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 2ba40d23a..399431311 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -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($_) );
% }
% }
-<% mt('Billing address') |h %>
+<% 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 %>
+