[freeside-commits] branch FREESIDE_4_BRANCH updated. 38e74e501fd8d14f5426a98a13497aa6b0be8435

Mitch Jackson mitch at freeside.biz
Fri Nov 9 14:28:59 PST 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  38e74e501fd8d14f5426a98a13497aa6b0be8435 (commit)
      from  56424799d5480be18cf21207d1e7f319d2719f35 (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 38e74e501fd8d14f5426a98a13497aa6b0be8435
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