[freeside-commits] freeside/FS/FS/part_event/Condition cust_bill_owed.pm, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Mon Oct 8 14:06:32 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail:/tmp/cvs-serv17338/FS/FS/part_event/Condition

Modified Files:
	cust_bill_owed.pm 
Log Message:
add cust_bill_owed as an implicit condition (whew), and make sure it is added on migrations (also: fixed implicit conditions like this which only apply to a subset of eventtables)

Index: cust_bill_owed.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition/cust_bill_owed.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_bill_owed.pm	1 Aug 2007 22:24:39 -0000	1.1
+++ cust_bill_owed.pm	8 Oct 2007 21:06:30 -0000	1.2
@@ -16,6 +16,12 @@
     };
 }
 
+sub implicit_flag { 30; }
+
+sub remove_warning {
+  'Are you sure you want to remove this condition?  Doing so will allow this event to run even for invoices which have no outstanding balance.  Perhaps you want to reset "Amount owed over" to 0 instead of removing the condition entirely?'; #better error msg?
+}
+
 sub option_fields {
   (
     'owed' => { 'label'      => 'Amount owed over',



More information about the freeside-commits mailing list