summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-11-09 17:20:57 -0500
committerMitch Jackson <mitch@freeside.biz>2018-11-09 17:22:40 -0500
commit8736115c9857c7779baf5d4f54a06a72d6f5ed06 (patch)
treef27073afb29f81ed888d0777531c1730e6779597 /httemplate
parent74d699971acf29b125dd63b1a9571fad1517bcc6 (diff)
RT# 81712 Disallow empty feepart for pkg_fee billing event action
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/process/part_event.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html
index 467d69a..9a244a8 100644
--- a/httemplate/edit/process/part_event.html
+++ b/httemplate/edit/process/part_event.html
@@ -92,6 +92,10 @@
$cgi->param('disabled', 'Y');
}
+ if ( $action eq 'pkg_fee' && !$actionfields{feepart} ) {
+ return "Select a Fee Definition to use this Event Action";
+ }
+
my $balance_age_rx = qr/^(condition.+)\.balance_age\.age$/;
foreach my $param ( keys %{ $cgi->Vars() } ){