[freeside-commits] freeside/httemplate/edit/process quick-cust_pkg.cgi, 1.14, 1.15

Ivan,,, ivan at wavetail.420.am
Thu Aug 6 17:39:16 PDT 2009


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

Modified Files:
	quick-cust_pkg.cgi 
Log Message:
don't start recurring billing when a start date hasn't been reached yet either... and since that works, add the start date to new package order, RT#5347

Index: quick-cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/quick-cust_pkg.cgi,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- quick-cust_pkg.cgi	17 Jun 2009 02:39:09 -0000	1.14
+++ quick-cust_pkg.cgi	7 Aug 2009 00:39:14 -0000	1.15
@@ -49,6 +49,10 @@
 my $cust_pkg = new FS::cust_pkg {
   'custnum'     => $custnum,
   'pkgpart'     => $pkgpart,
+  'start_date'  => ( scalar($cgi->param('start_date'))
+                       ? str2time($cgi->param('start_date'))
+                       : ''
+                   ),
   'refnum'      => $refnum,
   'locationnum' => $locationnum,
 };



More information about the freeside-commits mailing list