From: Ivan Kohler Date: Wed, 12 Feb 2014 22:59:16 +0000 (-0800) Subject: EDI and other uncommon payments on payment report, RT#27557 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b3215bc9e57be75ca8482f53bf678783dc4beb01;p=freeside.git EDI and other uncommon payments on payment report, RT#27557 --- diff --git a/FS/FS/payby.pm b/FS/FS/payby.pm index b33f8f3d1..197d4995b 100644 --- a/FS/FS/payby.pm +++ b/FS/FS/payby.pm @@ -127,8 +127,8 @@ tie %hash, 'Tie::IxHash', }, 'EDI' => { tinyname => 'EDI', - shortname => 'Electronic Debit', - longname => 'Electronic Debit', + shortname => 'Electronic Debit (EDI)', + longname => 'Electronic Debit (EDI)', cust_main => '', #not a customer type }, 'WIRE' => { diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index 339fddb7e..7afab4e71 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -271,7 +271,7 @@ if ( $cgi->param('magic') ) { foreach my $payby ( $cgi->param('payby') ) { $payby =~ - /^(CARD|CHEK|BILL|PREP|CASH|WEST|MCRD)(-(VisaMC|Amex|Discover|Maestro|Tokenized))?$/ + /^(CARD|CHEK|BILL|CASH|PPAL|APPL|ANRD|PREP|WIRE|WEST|EDI|MCRD)(-(VisaMC|Amex|Discover|Maestro|Tokenized))?$/ or die "illegal payby $payby"; my $payby_search = "$table.payby = '$1'"; diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index 25f7cdadd..3026605ca 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -30,19 +30,28 @@ Examples: <% ucfirst(PL($name_singular)) %> of type: - + %# %# + + - + + + + + + +