diff options
author | ivan <ivan> | 2008-08-14 11:44:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-14 11:44:52 +0000 |
commit | 5d4d60dd8cbe71a96256b6c375f01e0182296f18 (patch) | |
tree | d59b1dc32860fdf425e02b2b783d061a6c0fdfe6 /FS/FS/tax_rate.pm | |
parent | ec5603ae351d4ed8e4873dcd20bf71f8a4d549bb (diff) |
customer import: add progress bar & redirect to a search of the imported customers, #3475
Diffstat (limited to 'FS/FS/tax_rate.pm')
-rw-r--r-- | FS/FS/tax_rate.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 69dc128..0601032 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -719,7 +719,7 @@ sub batch_import { =item process_batch -Load an batch import as a queued JSRPC job +Load a batch import as a queued JSRPC job =cut @@ -752,7 +752,7 @@ sub process_batch { $error = "No $name supplied"; next; } - my $dir = $FS::UID::conf_dir. "/cache.". $FS::UID::datasrc; + my $dir = '%%%FREESIDE_CACHE%%%/cache.'. $FS::UID::datasrc; my $filename = "$dir/". $files{$file}; open my $fh, "< $filename" or $error ||= "Can't open $name file: $!"; @@ -781,7 +781,7 @@ sub process_batch { 'PLUS4', 'plus4file', \&FS::cust_tax_location::batch_import, 'TXMATRIX', 'txmatrix', \&FS::part_pkg_taxrate::batch_import, ); - my $dir = $FS::UID::conf_dir. "/cache.". $FS::UID::datasrc; + my $dir = '%%%FREESIDE_CACHE%%%/cache.'. $FS::UID::datasrc; while( scalar(@list) ) { my ($name, $file, $import_sub) = (shift @list, shift @list, shift @list); unless ($files{$file}) { |