[freeside-commits] branch FREESIDE_3_BRANCH updated. 6a7f8564f88170dbe675fd0a24ee6dd4734728c7

Mitch Jackson mitch at freeside.biz
Fri Nov 9 14:37:19 PST 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  6a7f8564f88170dbe675fd0a24ee6dd4734728c7 (commit)
      from  34ca4dcb1b76194d63d02ae459075fa001d65b1c (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 6a7f8564f88170dbe675fd0a24ee6dd4734728c7
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Fri Nov 9 17:20:57 2018 -0500

    RT# 81712 Disallow empty feepart for pkg_fee billing event action

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() } ){

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/process/part_event.html | 4 ++++
 1 file changed, 4 insertions(+)




More information about the freeside-commits mailing list