X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=1ff70009c12f79f95b98be86d74d6fb22036566b;hb=8eb6542c022ac84b125416f3fb0828b278ba600a;hp=4d87fab28840eaf19a06d3531b7e6baf95bec535;hpb=305196a8632844f0224ed58b59aae51e4c6a80cc;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 4d87fab28..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();" > @@ -328,6 +328,8 @@ function bill_now_changed (what) { % my $row = 0; +% # quotation details are handled by quotation_pkg_detail records, added via link from view/quotation.html +% # the details below get attached to the part_pkg record, and there's no way to edit that from quotations % unless ($quotationnum) { @@ -360,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' %>>