From 74b0a0190e99064a501f7168b0a00af1d9da380b Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 31 Jan 2011 20:28:27 +0000 Subject: [PATCH] fixed format option for TD EFT, RT#10545 --- FS/FS/Conf.pm | 2 +- httemplate/search/cust_pay_batch.cgi | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 26dc3abf3..41c7e0578 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -2990,7 +2990,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', - '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 cb101d4db..6d628d39d 100755 --- a/httemplate/search/cust_pay_batch.cgi +++ b/httemplate/search/cust_pay_batch.cgi @@ -179,7 +179,15 @@ if ( $pay_batch ) { ). '
' ; - if ( $fixed ) { + if ( $fixed and $fixed eq 'td_eft1464' ) { + # special case, this one has two upload formats + $html_init .= qq!Format !. + qq!
!; + } + elsif ( $fixed ) { $html_init .= qq!!; } else { # should pull this from %import_info -- 2.11.0