[freeside-commits] freeside/FS/FS/part_pkg flat.pm, 1.34.2.1, 1.34.2.2

Ivan,,, ivan at wavetail.420.am
Mon Mar 8 18:43:43 PST 2010


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	flat.pm 
Log Message:
a package that starts on the 1st and expires after N months, RT#7738

Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.34.2.1
retrieving revision 1.34.2.2
diff -u -w -d -r1.34.2.1 -r1.34.2.2
--- flat.pm	26 Oct 2009 01:11:54 -0000	1.34.2.1
+++ flat.pm	9 Mar 2010 02:43:41 -0000	1.34.2.2
@@ -104,19 +104,30 @@
                              'type' => 'select',
                              'select_options' => \%temporalities,
                            },
-
-    %usage_fields,
-    %usage_recharge_fields,
-
     'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
                                    ' of service at cancellation',
                          'type' => 'checkbox',
                        },
+
+    #used in cust_pkg.pm so could add to any price plan
+    'expire_months' => { 'name' => 'Auto-add an expiration date this number of months out',
+                       },
+    #used in cust_pkg.pm so could add to any price plan where it made sense
+    'start_1st'     => { 'name' => 'Auto-add a start date to the 1st, ignoring the current month.',
+                         'type' => 'checkbox',
+                       },
+
+    %usage_fields,
+    %usage_recharge_fields,
+
     'externalid' => { 'name'   => 'Optional External ID',
                       'default' => '',
                     },
   },
-  'fieldorder' => [ qw( setup_fee recur_fee recur_temporality unused_credit ),
+  'fieldorder' => [ qw( setup_fee recur_fee
+                        recur_temporality unused_credit
+                        expire_months start_1st
+                      ),
                     @usage_fieldorder, @usage_recharge_fieldorder,
                     qw( externalid ),
                   ],



More information about the freeside-commits mailing list