summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-10-04 00:30:25 +0000
committerivan <ivan>2008-10-04 00:30:25 +0000
commit7d49fd20be0d0756334043439832de923507fa2e (patch)
tree595aa0b4377f12decfef7ba29cbd3e8f81eda4a0 /httemplate/edit/part_pkg.cgi
parent4af73b8c830417be1e90ce274f5c19f5ec90b316 (diff)
fix recurring box graying out on package customize
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index ccce8308c..db706ab92 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -260,6 +260,7 @@ my $new_object_callback = sub {
%options = $clone_part_pkg->options;
$part_pkg->set($_ => $options{$_})
foreach (qw( setup_fee recur_fee ));
+ $recur_disabled = $part_pkg->freq ? 0 : 1;
} else {
$part_pkg = FS::part_pkg->new( $hashref );
$part_pkg->set($_ => '0')