From 7d49fd20be0d0756334043439832de923507fa2e Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 4 Oct 2008 00:30:25 +0000 Subject: [PATCH] fix recurring box graying out on package customize --- httemplate/edit/part_pkg.cgi | 1 + 1 file changed, 1 insertion(+) 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') -- 2.11.0