projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use per-agent config for all EFT Canada batch options, #23757, from #14859
[freeside.git]
/
FS
/
FS
/
pay_batch
/
eft_canada.pm
diff --git
a/FS/FS/pay_batch/eft_canada.pm
b/FS/FS/pay_batch/eft_canada.pm
index
b24c9c3
..
64fd2f9
100644
(file)
--- a/
FS/FS/pay_batch/eft_canada.pm
+++ b/
FS/FS/pay_batch/eft_canada.pm
@@
-58,7
+58,13
@@
my %holiday = (
init => sub {
my $conf = shift;
init => sub {
my $conf = shift;
- my @config = $conf->config('batchconfig-eft_canada');
+ my $agentnum = shift;
+ my @config;
+ if ( $conf->exists('batch-spoolagent') ) {
+ @config = $conf->config('batchconfig-eft_canada', $agentnum);
+ } else {
+ @config = $conf->config('batchconfig-eft_canada');
+ }
# SFTP login, password, trans code, delay time
my $process_delay;
($trans_code, $process_delay) = @config[2,3];
# SFTP login, password, trans code, delay time
my $process_delay;
($trans_code, $process_delay) = @config[2,3];