projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put each CDR web import into a batch
[freeside.git]
/
httemplate
/
misc
/
cdr-import.html
diff --git
a/httemplate/misc/cdr-import.html
b/httemplate/misc/cdr-import.html
index
b466078
..
62e38b2
100644
(file)
--- a/
httemplate/misc/cdr-import.html
+++ b/
httemplate/misc/cdr-import.html
@@
-11,6
+11,8
@@
CDR Format:
Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
+<INPUT TYPE="hidden" NAME="cdrbatch" VALUE="<% $cdrbatch %>"%>
+
<INPUT TYPE="submit" VALUE="Upload">
</FORM>
<INPUT TYPE="submit" VALUE="Upload">
</FORM>
@@
-23,4
+25,6
@@
die "access denied"
tie my %formats, 'Tie::IxHash', FS::cdr->import_formats;
tie my %formats, 'Tie::IxHash', FS::cdr->import_formats;
+my $cdrbatch = time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time);
+
</%init>
</%init>