diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-02-24 00:09:38 +0000 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-02-24 00:09:38 +0000 |
commit | c46aa55bdeb3e09437c7ab18288f209a6fa44796 (patch) | |
tree | 3a50b9bd3a426e5a42c682db0936715ad197236e | |
parent | db13eb8cb9645a6fd8979541e831fe60ee771e7d (diff) |
RT# 79284 Fix UI bug for Change Package screen
-rw-r--r-- | FS/FS/cust_pkg.pm | 1 | ||||
-rw-r--r-- | httemplate/edit/process/change-cust_pkg.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 9accc3407..604b49941 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -3017,6 +3017,7 @@ sub _parse_new_discounts { discountnum => $opt->{"${type}_discountnum"}, amount => $opt->{"${type}_discountnum_amount"}, percent => $opt->{"${type}_discountnum_percent"}, + months => $opt->{"${type}_discountnum_months"}, }; } diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html index 02b01f8de..c8c623641 100644 --- a/httemplate/edit/process/change-cust_pkg.html +++ b/httemplate/edit/process/change-cust_pkg.html @@ -80,6 +80,7 @@ for my $type (qw|setup_discountnum recur_discountnum|) { $change{$type} = $dnum; $change{"${type}_amount"} = $cgi->param("${type}_amount"); $change{"${type}_percent"} = $cgi->param("${type}_percent"); + $change{"${type}_months"} = $cgi->param("${type}_months"); } elsif ($dnum eq '') { # Set discount as no discount $change{"${type}"} = 0; |