X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=02892466918a7bc5681f614660b07c12ba3b1134;hb=1ae273f69e5bf2b46c9c5fcd990ad923770ace56;hp=e823f7c93b774c575c3975de5cdb6fdb1e8bad46;hpb=40f436877b2334fc2d4fd34c50d54807ae8777af;p=freeside.git diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index e823f7c93..028924669 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -26,20 +26,14 @@ <& cust_main/top_misc.html, $cust_main, 'custnum' => $custnum &> %# birthdate -% if ( $conf->exists('cust_main-enable_birthdate') ) { +% if ( $conf->exists('cust_main-enable_birthdate') +% || $conf->exists('cust_main-enable_spouse_birthdate') +% ) +% {
<& 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 = ''; @@ -59,7 +53,7 @@ % }
-<% mt('Billing address') |h %> +<% mt('Billing address') |h %> <& cust_main/contact.html, 'cust_main' => $cust_main, @@ -136,9 +130,9 @@ function samechanged(what) {
-<% 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_', @@ -147,17 +141,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 %> +