[freeside-commits] freeside/FS/FS Conf.pm, 1.444, 1.445 cust_main.pm, 1.576, 1.577 Schema.pm, 1.288, 1.289

Erik Levinson levinse at wavetail.420.am
Sun Apr 24 10:04:39 PDT 2011


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

Modified Files:
	Conf.pm cust_main.pm Schema.pm 
Log Message:
add per-customer configurable billing date, RT10813

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -w -d -r1.288 -r1.289
--- Schema.pm	19 Apr 2011 23:49:38 -0000	1.288
+++ Schema.pm	24 Apr 2011 17:04:37 -0000	1.289
@@ -871,6 +871,7 @@
         'archived', 'char', 'NULL', 1, '', '',
         'email_csv_cdr', 'char', 'NULL', 1, '', '',
         'accountcode_cdr', 'char', 'NULL', 1, '', '',
+        'billday',   'int', 'NULL', '', '', '',
       ],
       'primary_key' => 'custnum',
       'unique' => [ [ 'agentnum', 'agent_custid' ] ],

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.444
retrieving revision 1.445
diff -u -w -d -r1.444 -r1.445
--- Conf.pm	13 Apr 2011 04:22:38 -0000	1.444
+++ Conf.pm	24 Apr 2011 17:04:36 -0000	1.445
@@ -683,6 +683,13 @@
   },
 
   {
+    'key'         => 'cust_main-select-billday',
+    'section'     => 'billing',
+    'description' => 'When used with a specific billing event, allows the selection of the day of month on which to charge credit card / bank account automatically, on a per-customer basis',
+    'type'        => 'checkbox',
+  },
+
+  {
     'key'         => 'encryption',
     'section'     => 'billing',
     'description' => 'Enable encryption of credit cards.',

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.576
retrieving revision 1.577
diff -u -w -d -r1.576 -r1.577
--- cust_main.pm	24 Apr 2011 00:33:36 -0000	1.576
+++ cust_main.pm	24 Apr 2011 17:04:36 -0000	1.577
@@ -1681,6 +1681,7 @@
     || $self->ut_alphan('geocode')
     || $self->ut_floatn('cdr_termination_percentage')
     || $self->ut_floatn('credit_limit')
+    || $self->ut_numbern('billday')
   ;
 
   #barf.  need message catalogs.  i18n.  etc.



More information about the freeside-commits mailing list