projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74d6999
)
RT# 81712 Disallow empty feepart for pkg_fee billing event action
author
Mitch Jackson
<mitch@freeside.biz>
Fri, 9 Nov 2018 22:20:57 +0000
(17:20 -0500)
committer
Mitch Jackson
<mitch@freeside.biz>
Fri, 9 Nov 2018 22:22:40 +0000
(17:22 -0500)
httemplate/edit/process/part_event.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/part_event.html
b/httemplate/edit/process/part_event.html
index
467d69a
..
9a244a8
100644
(file)
--- a/
httemplate/edit/process/part_event.html
+++ b/
httemplate/edit/process/part_event.html
@@
-92,6
+92,10
@@
$cgi->param('disabled', 'Y');
}
$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() } ){
my $balance_age_rx = qr/^(condition.+)\.balance_age\.age$/;
foreach my $param ( keys %{ $cgi->Vars() } ){