[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.45, 1.46

Mark Wells mark at wavetail.420.am
Tue Sep 28 17:38:10 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv26261/process

Modified Files:
	cust_main.cgi 
Log Message:
avoid wiping signupdate when editing cust_main, RT#9972

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -w -d -r1.45 -r1.46
--- cust_main.cgi	22 Sep 2010 21:22:03 -0000	1.45
+++ cust_main.cgi	29 Sep 2010 00:38:08 -0000	1.46
@@ -251,6 +251,11 @@
     $new->payinfo($new_account.'@'.$new_aba);
   }
 
+  if ( ! $conf->exists('cust_main-edit_signupdate') or
+       ! $new->signupdate ) {
+    $new->signupdate($old->signupdate);
+  }
+
   warn "$me calling $new -> replace( $old, \ @invoicing_list )" if $DEBUG;
   local($FS::cust_main::DEBUG) = $DEBUG if $DEBUG;
   local($FS::Record::DEBUG)    = $DEBUG if $DEBUG;



More information about the freeside-commits mailing list