[freeside-commits] branch master updated. 8736115c9857c7779baf5d4f54a06a72d6f5ed06

Mitch Jackson mitch at freeside.biz
Fri Nov 9 14:23:00 PST 2018


The branch, master has been updated
       via  8736115c9857c7779baf5d4f54a06a72d6f5ed06 (commit)
      from  74d699971acf29b125dd63b1a9571fad1517bcc6 (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 8736115c9857c7779baf5d4f54a06a72d6f5ed06
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