[freeside-commits] branch FREESIDE_3_BRANCH updated. 784cd44e2e7763acdd7ec8cb4f5681037f36cfe0
Jeremy Davis
jeremyd at 420.am
Wed Jan 20 11:07:51 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via 784cd44e2e7763acdd7ec8cb4f5681037f36cfe0 (commit)
from 03b998e24017b4852d35427770dce5423d2b92d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 784cd44e2e7763acdd7ec8cb4f5681037f36cfe0
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jan 19 12:38:16 2016 -0800
IDT payment type, RT#39868
diff --git a/FS/FS/payby.pm b/FS/FS/payby.pm
index bc709e6..2fccb19 100644
--- a/FS/FS/payby.pm
+++ b/FS/FS/payby.pm
@@ -107,6 +107,12 @@ tie %hash, 'Tie::IxHash',
longname => 'Western Union',
cust_main => 'BILL', #this is a payment type only, customers go to BILL...
},
+ 'IDTP' => {
+ tinyname => 'IDT',
+ shortname => 'IDT Payment Services',
+ longname => 'IDT Payment Services',
+ cust_main => '', #this is a payment type only
+ },
'MCRD' => { #not the same as DCRD
tinyname => 'card',
shortname => 'Manual credit card', # initial payment, then billing
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index ffc6afe..697cf84 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -300,7 +300,7 @@ if ( $cgi->param('magic') ) {
foreach my $payby ( $cgi->param('payby') ) {
$payby =~
- /^(CARD|CHEK|BILL|CASH|PPAL|APPL|ANRD|PREP|WIRE|WEST|EDI|MCRD|MCHK)(-(VisaMC|Amex|Discover|Maestro|Tokenized))?$/
+ /^(CARD|CHEK|BILL|CASH|PPAL|APPL|ANRD|PREP|WIRE|WEST|IDTP|EDI|MCRD|MCHK)(-(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 a25e696..730db68 100644
--- a/httemplate/search/elements/report_cust_pay_or_refund.html
+++ b/httemplate/search/elements/report_cust_pay_or_refund.html
@@ -33,7 +33,7 @@ Examples:
options => [ keys(\%payby) ],
labels => \%payby,
multiple => 1,
- size => 16
+ size => 18,
&>
<TR>
@@ -199,6 +199,7 @@ tie (my %payby, 'Tie::IxHash',
'PREP' => 'prepaid card',
'WIRE' => 'wire transfer',
'WEST' => 'Western Union',
+ 'IDTP' => 'IDT Payment Services',
'EDI' => 'Electronic Debit (EDI)',
'MCRD' => 'manual credit card',
'MCHK' => 'manual electronic check',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/payby.pm | 6 ++++++
httemplate/search/elements/cust_pay_or_refund.html | 2 +-
httemplate/search/elements/report_cust_pay_or_refund.html | 3 ++-
3 files changed, 9 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list