projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca5c12e
)
fixed format option for TD EFT, RT#10545
author
mark
<mark>
Mon, 31 Jan 2011 20:28:39 +0000
(20:28 +0000)
committer
mark
<mark>
Mon, 31 Jan 2011 20:28:39 +0000
(20:28 +0000)
FS/FS/Conf.pm
patch
|
blob
|
history
httemplate/search/cust_pay_batch.cgi
patch
|
blob
|
history
diff --git
a/FS/FS/Conf.pm
b/FS/FS/Conf.pm
index
9919065
..
c13915b
100644
(file)
--- a/
FS/FS/Conf.pm
+++ b/
FS/FS/Conf.pm
@@
-2974,7
+2974,7
@@
and customer address. Include units.',
'description' => 'Fixed (unchangeable) format for electronic check batches.',
'type' => 'select',
'select_enum' => [ 'csv-td_canada_trust-merchant_pc_batch', 'BoM', 'PAP',
'description' => 'Fixed (unchangeable) format for electronic check batches.',
'type' => 'select',
'select_enum' => [ 'csv-td_canada_trust-merchant_pc_batch', 'BoM', 'PAP',
- 'paymentech', 'ach-spiritone', 'RBC'
+ 'paymentech', 'ach-spiritone', 'RBC'
, 'td_eft1464'
]
},
]
},
diff --git
a/httemplate/search/cust_pay_batch.cgi
b/httemplate/search/cust_pay_batch.cgi
index
cb101d4
..
6d628d3
100755
(executable)
--- a/
httemplate/search/cust_pay_batch.cgi
+++ b/
httemplate/search/cust_pay_batch.cgi
@@
-179,7
+179,15
@@
if ( $pay_batch ) {
).
'<BR></TR>'
;
).
'<BR></TR>'
;
- if ( $fixed ) {
+ if ( $fixed and $fixed eq 'td_eft1464' ) {
+ # special case, this one has two upload formats
+ $html_init .= qq!<TR>Format !.
+ qq!<SELECT NAME="format">!.
+ qq!<OPTION VALUE="td_eftack264">TD EFT Acknowledgement</OPTION>!.
+ qq!<OPTION VALUE="td_eftret80">TD EFT Returned Items</OPTION>!.
+ qq!</SELECT><BR></TR>!;
+ }
+ elsif ( $fixed ) {
$html_init .= qq!<INPUT TYPE="hidden" NAME="format" VALUE="$fixed">!;
} else {
# should pull this from %import_info
$html_init .= qq!<INPUT TYPE="hidden" NAME="format" VALUE="$fixed">!;
} else {
# should pull this from %import_info