[freeside-commits] freeside/FS/FS/part_export radiator.pm,1.5,1.6

Ivan,,, ivan at wavetail.420.am
Wed Dec 14 10:52:25 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv585

Modified Files:
	radiator.pm 
Log Message:
add 'STATE' field for suspensions to Radiator export

Index: radiator.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/radiator.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- radiator.pm	12 Dec 2005 21:39:35 -0000	1.5
+++ radiator.pm	14 Dec 2005 18:52:22 -0000	1.6
@@ -93,6 +93,8 @@
     if $cust_pkg && $cust_pkg->setup;
   $hash{'validfrom'} = $cust_pkg->last_bill || $cust_pkg->setup
     if $cust_pkg &&  ( $cust_pkg->last_bill || $cust_pkg->setup );
+  $hash{'state'} = $cust_pkg->susp ? 1 : 0
+    if $cust_pkg;
 
   %hash;
 }



More information about the freeside-commits mailing list