[freeside-commits] freeside/httemplate/misc cdr-import.html, 1.7, 1.8

Ivan,,, ivan at wavetail.420.am
Tue Oct 7 16:57:45 PDT 2008


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

Modified Files:
	cdr-import.html 
Log Message:
put each CDR web import into a batch

Index: cdr-import.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cdr-import.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cdr-import.html	11 Apr 2008 09:20:50 -0000	1.7
+++ cdr-import.html	7 Oct 2008 23:57:43 -0000	1.8
@@ -11,6 +11,8 @@
 
 Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
 
+<INPUT TYPE="hidden" NAME="cdrbatch" VALUE="<% $cdrbatch %>"%>
+
 <INPUT TYPE="submit" VALUE="Upload">
 </FORM>
 
@@ -23,4 +25,6 @@
 
 tie my %formats, 'Tie::IxHash', FS::cdr->import_formats;
 
+my $cdrbatch = time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time);
+
 </%init>



More information about the freeside-commits mailing list