X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcdr-import.html;h=7af6c521fc414f5f346450c35fe01378b7c4b714;hb=dc1891ff9a6e6c4b4545fe7f786af6bd0f28b2cf;hp=5e9e2690d2a692ef53a7233b347be635602880f2;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html index 5e9e2690d..7af6c521f 100644 --- a/httemplate/misc/cdr-import.html +++ b/httemplate/misc/cdr-import.html @@ -1,16 +1,61 @@ <% include("/elements/header.html",'Call Detail Record Import') %> -
<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); + +tie my %formats, 'Tie::IxHash', FS::cdr->import_formats; + +my $cdrbatch = time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time); + +%init>