diff options
| author | Mitch Jackson <mitch@freeside.biz> | 2018-11-09 17:20:57 -0500 |
|---|---|---|
| committer | Mitch Jackson <mitch@freeside.biz> | 2018-11-09 17:35:08 -0500 |
| commit | 6a7f8564f88170dbe675fd0a24ee6dd4734728c7 (patch) | |
| tree | a2ad528edb7279398aa96789334f469cbc9bfcd1 | |
| parent | 34ca4dcb1b76194d63d02ae459075fa001d65b1c (diff) | |
RT# 81712 Disallow empty feepart for pkg_fee billing event action
| -rw-r--r-- | httemplate/edit/process/part_event.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html index 467d69ac3..9a244a8e1 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() } ){ |
