X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;fp=httemplate%2Fedit%2Fcust_main.cgi;h=25932019ed22b22ee1afaf54fd5549d6346bedee;hp=effe84b96c94c620a59ec4262e869118067102fa;hb=b2787f77f842a16df069227e74a2da54b8b36efb;hpb=07b346c23e24d7fb368935b964c091421517dbc0
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index effe84b96..25932019e 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -43,6 +43,7 @@
%#; padding-right:2px; vertical-align:top">
<% mt('Billing address') |h %>
+
|
|
@@ -68,7 +70,7 @@
VALUE="Y"
<% $has_ship_address ? '' : 'CHECKED' %>
><% mt('same as billing address') |h %>
-
+
+
@@ -99,16 +101,20 @@
function samechanged(what) {
if ( what.checked ) {
- $('#div_ship_location').slideUp();
+ $('#ship_location').slideUp();
} else {
- $('#div_ship_location').slideDown();
+ $('#ship_location').slideDown();
}
}
% if ( ! $has_ship_address ) {
- $('#div_ship_location').hide();
+ $('#ship_location').hide();
% }
+$().ready( function() {
+ window.bill_location = new Location($('fieldset#bill_location'));
+});
+
<& cust_main/contacts_new.html, 'cust_main'=>$cust_main, &>