From 5b507bd1cb845ef44a49f84d4f0ae20ec80118d5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 14 Jun 2015 14:56:51 -0700 Subject: [PATCH] UI spring cleaning: customer edit --- httemplate/edit/cust_main.cgi | 2 -- httemplate/edit/cust_main/billing.html | 24 ++++++++++++---------- httemplate/edit/cust_main/contacts_new.html | 16 ++++++++------- httemplate/edit/cust_main/cust_payby.html | 17 +++++++-------- httemplate/edit/cust_main/first_pkg.html | 2 +- httemplate/edit/cust_main/first_pkg/svc_acct.html | 14 ++++++------- httemplate/edit/cust_main/first_pkg/svc_dsl.html | 16 +++++++-------- httemplate/edit/cust_main/first_pkg/svc_phone.html | 12 +++++------ httemplate/edit/elements/edit.html | 10 +++++++-- 9 files changed, 61 insertions(+), 52 deletions(-) diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index d203e0044..f0de6e14a 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -107,8 +107,6 @@ function samechanged(what) { samechanged(document.getElementById('same')); -
- <& cust_main/contacts_new.html, 'cust_main'=>$cust_main, &> %# billing info diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index d25e88712..c3e89226b 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -15,7 +15,7 @@
<% mt('Billing information') |h %> - <% &ntable("#cccccc") %> + % my $curuser = $FS::CurrentUser::CurrentUser; @@ -63,7 +63,7 @@ % #escape $exempt_group for NAME etc. % my $checked = ($cust_main_exemption || $cgi->param("tax_$exempt_group")); - + % } @@ -108,7 +108,7 @@ % unless ( $conf->exists('cust-email-high-visibility')) { - % } @@ -128,7 +128,7 @@ % if ( $conf->exists('cust_main-select-prorate_day') ) { - + @@ -142,7 +142,7 @@ % ### - + - + - +
   onChange="tax_changed(this)"> Tax Exempt (<% $exempt_group %> taxes)   onChange="tax_changed(this)"> Tax Exempt (<% $exempt_group %> taxes) - Exemption number exempt_number : '' ) |h %>" <% $checked ? '' : 'DISABLED' %>>
+ <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum) ? $r : '' %>Email address(es) @@ -117,7 +117,7 @@ ( $cust_main->message_noemail eq 'Y' ) ? 'CHECKED' : '' - %>> <% emt('Do not send notices') %> + %>> <% emt('Do not send notices') %>
<% mt('Prorate day (1-28)') |h %> <% mt('Prorate day (1-28)') |h %>
<% mt('Charge card/e-check on this day of the month') |h %> <% mt('Charge card/e-check on this day of the month') |h %>
<% mt('Invoice terms') |h %> <% mt('Invoice terms') |h %> <& /elements/select-terms.html, 'curr_value' => $cust_main->invoice_terms, @@ -180,7 +180,7 @@ % ###
<% mt('Credit limit') |h %> <% mt('Credit limit') |h %>