From: ivan Date: Sat, 4 Oct 2008 00:30:25 +0000 (+0000) Subject: fix recurring box graying out on package customize X-Git-Tag: root_of_webpay_support~342 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7d49fd20be0d0756334043439832de923507fa2e fix recurring box graying out on package customize --- 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')