summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/cust_credit-import.cgi
blob: 4c4d42df2341612104565747d92dbab812fa469e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% $server->process %>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Import');

my %arg = $cgi->param('arg');
$arg{_date} = parse_datetime( $arg{_date} )
  if $arg{_date} && $arg{_date} =~ /\D/;
$cgi->param('arg', %arg );

my $server =
  new FS::UI::Web::JSRPC 'FS::cust_credit::process_batch_import', $cgi;

</%init>