From 9b4209f91ad9e3c4cef7deebfb0180f6faf1d0dc Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 26 Mar 2012 19:20:29 -0700 Subject: [PATCH] more contact-aware new customer screen, RT#16819 --- httemplate/edit/cust_main.cgi | 17 +- httemplate/edit/cust_main/billing.html | 4 +- httemplate/edit/cust_main/contact.html | 211 ++++++++++----------- httemplate/edit/cust_main/contacts_new.html | 61 ++++++ httemplate/edit/cust_main/first_pkg.html | 4 +- httemplate/edit/cust_main/top_misc.html | 64 ++++++- httemplate/edit/elements/edit.html | 275 +++++++++++++++------------- httemplate/edit/process/cust_main.cgi | 13 ++ 8 files changed, 402 insertions(+), 247 deletions(-) create mode 100644 httemplate/edit/cust_main/contacts_new.html diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index d2c0cb785..399431311 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -50,7 +50,7 @@ % }
-<% mt('Billing address') |h %> +<% mt('Billing address') |h %> <& cust_main/contact.html, 'cust_main' => $cust_main, @@ -127,9 +127,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_', @@ -138,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 %> +