[freeside-commits] freeside/httemplate/edit REAL_cust_pkg.cgi, 1.23, 1.24

Ivan,,, ivan at wavetail.420.am
Tue Mar 9 00:05:41 PST 2010


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

Modified Files:
	REAL_cust_pkg.cgi 
Log Message:
date editing fix, fallout from date_format

Index: REAL_cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/REAL_cust_pkg.cgi,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- REAL_cust_pkg.cgi	8 Mar 2010 10:57:06 -0000	1.23
+++ REAL_cust_pkg.cgi	9 Mar 2010 08:05:39 -0000	1.24
@@ -128,16 +128,19 @@
 </FORM>
 
 <% include('/elements/footer.html') %>
+<%shared>
+
+my $conf = new FS::Conf;
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
+
+my $format = $date_format. ' %T %z (%Z)';
 
+</%shared>
 <%init>
 
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Edit customer package dates');
 
-my $conf = new FS::Conf;
-my $date_format = $conf->config('date_format') || '%m/%d/%Y';
-
-my $format = $date_format. ' %T %z (%Z)';
 
 my $error = '';
 my( $pkgnum, $cust_pkg );



More information about the freeside-commits mailing list