From 70d833ddf56f47fa89f429c6a5e84378da848ff9 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 22 Oct 2016 06:02:46 -0700 Subject: [PATCH] fix recurring fee edit on clone/customize, RT#72958 --- httemplate/edit/part_pkg.cgi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 641366b65..7c4a5e665 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -586,6 +586,11 @@ my $clone_callback = sub { $recur_disabled = $object->freq ? 0 : 1; + $recur_show_zero_disabled = + $object->freq + ? $object->option('recur_fee') > 0 ? 1 : 0 + : 1; + }; my $discount_error_callback = sub { -- 2.11.0