summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-01-19 12:38:16 -0800
committerIvan Kohler <ivan@freeside.biz>2016-01-19 12:38:16 -0800
commit816f74ae7cec86971d6fd2abfd45a166532f720c (patch)
tree4c04788e2922bf77b446de0f6ede14c6c11b4980
parent9984a835dcb4cf39bc659643f0556e4b3011cbf8 (diff)
IDT payment type, RT#39868
-rw-r--r--FS/FS/payby.pm6
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html2
-rw-r--r--httemplate/search/elements/report_cust_pay_or_refund.html3
3 files changed, 9 insertions, 2 deletions
diff --git a/FS/FS/payby.pm b/FS/FS/payby.pm
index 443a130ac..530d88d80 100644
--- a/FS/FS/payby.pm
+++ b/FS/FS/payby.pm
@@ -100,6 +100,12 @@ tie %hash, 'Tie::IxHash',
longname => 'Western Union',
cust_main => '', #this is a payment type only
},
+ '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 ffc6afed3..697cf844b 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 a25e69643..730db68e8 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',