[freeside-commits] freeside/FS/FS/part_pkg voip_cdr.pm, 1.118, 1.119 prorate_delayed.pm, 1.5, 1.6

Erik Levinson levinse at wavetail.420.am
Sat Jun 4 23:05:14 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv31122/FS/FS/part_pkg

Modified Files:
	voip_cdr.pm prorate_delayed.pm 
Log Message:
add suspend_bill package option to more pkgparts, RT10586

Index: voip_cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/voip_cdr.pm,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -w -d -r1.118 -r1.119
--- voip_cdr.pm	27 Apr 2011 05:22:21 -0000	1.118
+++ voip_cdr.pm	5 Jun 2011 06:05:12 -0000	1.119
@@ -48,6 +48,9 @@
   'shortname' => 'VoIP/telco CDR rating (standard)',
   'inherit_fields' => [ 'global_Mixin' ],
   'fields' => {
+    'suspend_bill' => { 'name' => 'Continue recurring billing while suspended',
+                        'type' => 'checkbox',
+                      },
     #false laziness w/flat.pm
     'recur_temporality' => { 'name' => 'Charge recurring fee for period',
                              'type' => 'select',
@@ -270,7 +273,7 @@
                        411_rewrite
                        output_format usage_mandate summarize_usage usage_section
                        bill_every_call bill_inactive_svcs
-                       count_available_phones
+                       count_available_phones suspend_bill
                      )
                   ],
   'weight' => 40,

Index: prorate_delayed.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/prorate_delayed.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- prorate_delayed.pm	24 Dec 2010 09:49:32 -0000	1.5
+++ prorate_delayed.pm	5 Jun 2011 06:05:12 -0000	1.6
@@ -21,8 +21,11 @@
                                   ' no warning)',
                      'default' => 0,
                     },
+    'suspend_bill' => { 'name' => 'Continue recurring billing while suspended',
+                        'type' => 'checkbox',
   },
-  'fieldorder' => [ 'free_days', 'recur_notify' ],
+  },
+  'fieldorder' => [ 'free_days', 'recur_notify', 'suspend_bill', ],
   #'setup' => '\'my $d = $cust_pkg->bill || $time; $d += 86400 * \' + what.free_days.value + \'; $cust_pkg->bill($d); $cust_pkg_mod_flag=1; \' + what.setup_fee.value',
   #'recur' => 'what.recur_fee.value',
   'weight' => 22,



More information about the freeside-commits mailing list