summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-06-18 19:09:28 +0000
committerivan <ivan>2008-06-18 19:09:28 +0000
commit5e63ae96cf7d3e618c569c3fe12f6a6dae40038e (patch)
tree290e79ad7f3db8f4817902106008b728ee3299c7 /httemplate
parent8e026f7a5e492cdc9d1d2792453b27f60fc31e03 (diff)
fix setup/recur fees on cloning (customizing) package definitions w/new editor
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index d9dcaa87f..3e0a35466 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -210,6 +210,8 @@ my $new_object_callback = sub {
$part_pkg = $clone_part_pkg->clone;
$part_pkg->disabled('Y');
%options = $clone_part_pkg->options;
+ $part_pkg->set($_ => $option{$_})
+ foreach (qw( setup_fee recur_fee ));
} else {
$part_pkg = FS::part_pkg->new( $hashref );
$part_pkg->set($_ => '0')