[freeside-commits] branch FREESIDE_3_BRANCH updated. defeeae532736bcbccb01ab01035b36f8e21c9ef
Ivan
ivan at 420.am
Mon Jun 10 23:58:54 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via defeeae532736bcbccb01ab01035b36f8e21c9ef (commit)
from 78d0e4b3ed39b4f44aba115c6711cfdde1a02d72 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit defeeae532736bcbccb01ab01035b36f8e21c9ef
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jun 10 23:58:51 2013 -0700
fix original term discount feature: only show term discounts for flat/subscription/prorate plans
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index fadde35..98d9cde 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -716,9 +716,8 @@ my $javascript = <<'END';
function aux_planchanged(what) { //?
- alert('called!');
var plan = what.options[what.selectedIndex].value;
- var table = document.getElementById('TableNumber7') // XXX NOT ROBUST
+ var table = document.getElementById('TableNumber6') // XXX NOT ROBUST
if ( plan == 'flat' || plan == 'prorate' || plan == 'subscription' ) {
//table.disabled = false;
@@ -899,6 +898,7 @@ my $html_bottom = sub {
labels => \%plan_labels,
curr_value => $object->plan,
layer_callback => $layer_callback,
+ onchange => 'aux_planchanged(what);',
);
my $return =
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/part_pkg.cgi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list