[freeside-commits] branch master updated. def6bb5926b81d4a4b66e0c9dd7ff03bf55706ad
Mitch Jackson
mitch at freeside.biz
Fri Feb 23 16:18:23 PST 2018
The branch, master has been updated
via def6bb5926b81d4a4b66e0c9dd7ff03bf55706ad (commit)
from 9cdd1ab701ad6d70f099cea5a8209c9c589b7bb2 (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 def6bb5926b81d4a4b66e0c9dd7ff03bf55706ad
Author: Mitch Jackson <mitch at freeside.biz>
Date: Sat Feb 24 00:09:38 2018 +0000
RT# 79284 Fix UI bug for Change Package screen
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index f11beec7d..b24b3abe3 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3010,6 +3010,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;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 1 +
httemplate/edit/process/change-cust_pkg.html | 1 +
2 files changed, 2 insertions(+)
More information about the freeside-commits
mailing list