projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af73b8
)
fix recurring box graying out on package customize
author
ivan
<ivan>
Sat, 4 Oct 2008 00:30:25 +0000
(
00:30
+0000)
committer
ivan
<ivan>
Sat, 4 Oct 2008 00:30:25 +0000
(
00:30
+0000)
httemplate/edit/part_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
ccce830
..
db706ab
100755
(executable)
--- 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')