From f3f54e8ebae3d2f05858ab856f0b727f55c434f7 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 13 Apr 2016 13:18:41 -0700 Subject: add part_referral external ID for API signups, #39776 --- httemplate/edit/part_referral.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/part_referral.html b/httemplate/edit/part_referral.html index e9fd79452..04287d632 100755 --- a/httemplate/edit/part_referral.html +++ b/httemplate/edit/part_referral.html @@ -3,11 +3,13 @@ 'table' => 'part_referral', 'fields' => [ 'referral', { field=>'agentnum', type=>'select-agent', }, + 'title', { field=>'disabled', type=>'checkbox', value=>'Y' } , ], 'labels' => { 'refnum' => 'Ad Source', 'referral' => 'Advertising source', 'agentnum' => 'Agent', + 'title' => 'External ID', 'disabled' => 'Disabled', }, 'viewall_dir' => 'browse', -- cgit v1.2.1 From ccd822eb8751deae96b57df4ce6abc56a195b9c4 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 13 Apr 2016 19:18:34 -0700 Subject: tower location CSV download, #39776 --- httemplate/edit/tower.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/tower.html b/httemplate/edit/tower.html index fa3838dcf..4d8ad1e89 100644 --- a/httemplate/edit/tower.html +++ b/httemplate/edit/tower.html @@ -26,9 +26,9 @@ 'default_ip_addr' => 'Tower IP address', 'latitude' => 'Latitude', 'longitude' => 'Longitude', - 'altitude' => 'Altitude', - 'height' => 'Height', - 'veg_height' => 'Vegetation height', + 'altitude' => 'Altitude (feet)', + 'height' => 'Height (feet)', + 'veg_height' => 'Vegetation height (feet)', 'color' => 'Color', }, &> -- cgit v1.2.1 From 497739310211650a12becc4ca7954c2b055499c8 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:10:48 -0500 Subject: RT#41671 Fix double click prevention for all legacy buttons [full-on fixes] --- httemplate/edit/cust_refund.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index bfcbfe725..32da4543e 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -10,7 +10,7 @@ <% small_custview($custnum, $conf->config('countrydefault')) %> % } -
+ @@ -116,7 +116,7 @@
- +
-- cgit v1.2.1 From 55daa3803103f841d0fb2b559040115908724da8 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:21:26 -0500 Subject: RT#41671 Fix double click prevention for all legacy buttons [worked previously, renamed button, still work] --- httemplate/edit/cust_tax_adjustment.html | 8 ++++---- httemplate/edit/prepay_credit.cgi | 4 ++-- httemplate/edit/quick-charge.html | 8 ++++---- httemplate/edit/rate.cgi | 4 ++-- httemplate/edit/reg_code.cgi | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_tax_adjustment.html b/httemplate/edit/cust_tax_adjustment.html index 9d4afbc60..a013da6cc 100644 --- a/httemplate/edit/cust_tax_adjustment.html +++ b/httemplate/edit/cust_tax_adjustment.html @@ -7,9 +7,9 @@ function enable_tax_adjustment () { if ( document.TaxAdjustmentForm.amount.value && document.TaxAdjustmentForm.taxname.selectedIndex > 0 ) { - document.TaxAdjustmentForm.submit.disabled = false; + document.TaxAdjustmentForm.submitButton.disabled = false; } else { - document.TaxAdjustmentForm.submit.disabled = true; + document.TaxAdjustmentForm.submitButton.disabled = true; } } @@ -34,7 +34,7 @@ function validate_tax_adjustment () { -
+ @@ -69,7 +69,7 @@ function validate_tax_adjustment () {
-param('error') ? '' :' DISABLED' %>> +param('error') ? '' :' DISABLED' %>>
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi index 3f0d6ba1d..01a54fc52 100644 --- a/httemplate/edit/prepay_credit.cgi +++ b/httemplate/edit/prepay_credit.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -
+ Generate @@ -74,7 +74,7 @@ $ +
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 14c3f51e6..1ff70009c 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -15,9 +15,9 @@ function enable_quick_charge (e) { if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) { - document.QuickChargeForm.submit.disabled = false; + document.QuickChargeForm.submitButton.disabled = false; } else { - document.QuickChargeForm.submit.disabled = true; + document.QuickChargeForm.submitButton.disabled = true; } % if ( $curuser->option('disable_enter_submit_onetimecharge') ) { @@ -97,7 +97,7 @@ function bill_now_changed (what) { NAME = "QuickChargeForm" ID = "QuickChargeForm" METHOD = "POST" - onSubmit = "document.QuickChargeForm.submit.disabled=true; return validate_quick_charge();" + onSubmit = "document.QuickChargeForm.submitButton.disabled=true; return validate_quick_charge();" > @@ -362,7 +362,7 @@ function bill_now_changed (what) { % my $label = $cust_pkg % ? emt('Modify one-time charge') % : emt('Add one-time charge'); -param('error') || $cust_pkg) ? '' :' DISABLED' %>> diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 5bfc108c1..57a472ec8 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -31,9 +31,9 @@
-" onClick="document.OneTrueForm.submit.disabled=true; process();"> +%>" onClick="document.OneTrueForm.submitButton.disabled=true; process();"> % if($rate->ratenum) { diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi index 76790ab02..e8e08cd5c 100644 --- a/httemplate/edit/reg_code.cgi +++ b/httemplate/edit/reg_code.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -
+ Generate @@ -25,7 +25,7 @@ registration codes for <% $agent->agent %> allowing the following package
- +
-- cgit v1.2.1 From d65927fb45aa1c47d7f593db0142d14799b0fabf Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:38:54 -0500 Subject: RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton] --- httemplate/edit/cust_main_attach.cgi | 2 +- httemplate/edit/cust_pkg_detail.html | 2 +- httemplate/edit/cust_pkg_discount.html | 2 +- httemplate/edit/cust_pkg_quantity.html | 2 +- httemplate/edit/cust_pkg_salesnum.html | 2 +- httemplate/edit/elements/ApplicationCommon.html | 6 +++--- httemplate/edit/elements/part_svc_column.html | 2 +- httemplate/edit/invoice_logo.html | 4 ++-- httemplate/edit/part_svc.cgi | 2 +- httemplate/edit/prospect_main-upload.html | 2 +- httemplate/edit/quotation_pkg_detail.html | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index 0880c760a..ba40b307a 100755 --- a/httemplate/edit/cust_main_attach.cgi +++ b/httemplate/edit/cust_main_attach.cgi @@ -31,7 +31,7 @@
% if(! $disabled) { -"> % } % if(defined $attach and $curuser->access_right('Delete attachment')) { diff --git a/httemplate/edit/cust_pkg_detail.html b/httemplate/edit/cust_pkg_detail.html index a1a6db6d3..37a801373 100644 --- a/httemplate/edit/cust_pkg_detail.html +++ b/httemplate/edit/cust_pkg_detail.html @@ -43,7 +43,7 @@
- + diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html index e1e3daede..5aece573d 100755 --- a/httemplate/edit/cust_pkg_discount.html +++ b/httemplate/edit/cust_pkg_discount.html @@ -23,7 +23,7 @@
- + diff --git a/httemplate/edit/cust_pkg_quantity.html b/httemplate/edit/cust_pkg_quantity.html index ec47ed6cb..eadd1b504 100755 --- a/httemplate/edit/cust_pkg_quantity.html +++ b/httemplate/edit/cust_pkg_quantity.html @@ -21,7 +21,7 @@
- + diff --git a/httemplate/edit/cust_pkg_salesnum.html b/httemplate/edit/cust_pkg_salesnum.html index dba2a905e..da6c0e89b 100755 --- a/httemplate/edit/cust_pkg_salesnum.html +++ b/httemplate/edit/cust_pkg_salesnum.html @@ -21,7 +21,7 @@
- + diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html index a531eaad4..9c068c18e 100644 --- a/httemplate/edit/elements/ApplicationCommon.html +++ b/httemplate/edit/elements/ApplicationCommon.html @@ -103,7 +103,7 @@ function changed(what) { dst = what.options[what.selectedIndex].value; if ( dst == '' ) { - what.form.submit.disabled=true; + what.form.submitButton.disabled=true; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=true; what.form.clear_button.disabled=true; @@ -111,7 +111,7 @@ function changed(what) { return true; } - what.form.submit.disabled=false; + what.form.submitButton.disabled=false; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=false; what.form.clear_button.disabled=false; @@ -373,7 +373,7 @@ function src_amount_changed () {
% $svcpart = '' if $opt{clone};
- format): -
+
% } elsif ( $mode eq 'preview' ) { @@ -71,7 +71,7 @@ % if ( $mode eq 'preview' ) {
- + % } diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index a07fc6005..fa5a81ab3 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -37,7 +37,7 @@ -
+ @@ -69,7 +69,7 @@ function validate_tax_adjustment () {
-param('error') ? '' :' DISABLED' %>> +param('error') ? '' :' DISABLED' %>>
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi index 01a54fc52..3f0d6ba1d 100644 --- a/httemplate/edit/prepay_credit.cgi +++ b/httemplate/edit/prepay_credit.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -
+ Generate @@ -74,7 +74,7 @@ $ +
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 1ff70009c..14c3f51e6 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -15,9 +15,9 @@ function enable_quick_charge (e) { if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) { - document.QuickChargeForm.submitButton.disabled = false; + document.QuickChargeForm.submit.disabled = false; } else { - document.QuickChargeForm.submitButton.disabled = true; + document.QuickChargeForm.submit.disabled = true; } % if ( $curuser->option('disable_enter_submit_onetimecharge') ) { @@ -97,7 +97,7 @@ function bill_now_changed (what) { NAME = "QuickChargeForm" ID = "QuickChargeForm" METHOD = "POST" - onSubmit = "document.QuickChargeForm.submitButton.disabled=true; return validate_quick_charge();" + onSubmit = "document.QuickChargeForm.submit.disabled=true; return validate_quick_charge();" > @@ -362,7 +362,7 @@ function bill_now_changed (what) { % my $label = $cust_pkg % ? emt('Modify one-time charge') % : emt('Add one-time charge'); -param('error') || $cust_pkg) ? '' :' DISABLED' %>> diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 57a472ec8..5bfc108c1 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -31,9 +31,9 @@
-" onClick="document.OneTrueForm.submitButton.disabled=true; process();"> +%>" onClick="document.OneTrueForm.submit.disabled=true; process();"> % if($rate->ratenum) { diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi index e8e08cd5c..76790ab02 100644 --- a/httemplate/edit/reg_code.cgi +++ b/httemplate/edit/reg_code.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -
+ Generate @@ -25,7 +25,7 @@ registration codes for <% $agent->agent %> allowing the following package
- +
-- cgit v1.2.1