[freeside-commits] branch FREESIDE_3_BRANCH updated. 70d833ddf56f47fa89f429c6a5e84378da848ff9
Ivan
ivan at 420.am
Sat Oct 22 06:02:48 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 70d833ddf56f47fa89f429c6a5e84378da848ff9 (commit)
from e986bac6e145eb07244b182d31c03086a508feae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 70d833ddf56f47fa89f429c6a5e84378da848ff9
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Oct 22 06:02:46 2016 -0700
fix recurring fee edit on clone/customize, RT#72958
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index 641366b..7c4a5e6 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 {
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/part_pkg.cgi | 5 +++++
1 file changed, 5 insertions(+)
More information about the freeside-commits
mailing list