From e5d6af11f52aabe8c9e6e12ce43c3401ccf025a8 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 2 Jan 2013 19:01:16 -0800 Subject: move credit card transaction results out of paybatch and into real fields, #18548 --- httemplate/edit/cust_refund.cgi | 20 ++++++++------------ httemplate/edit/process/cust_pay.cgi | 2 ++ 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index 1ef69fdae..656d5ebb5 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -60,29 +60,25 @@ % } -% -% #false laziness w/FS/FS/cust_main::realtime_refund_bop -% if ( $cust_pay->paybatch =~ /^(\w+):(\w+)(:(\w+))?$/ ) { -% my ( $processor, $auth, $order_number ) = ( $1, $2, $4 ); -% - - - Processor<% $processor %> + Processor + <% $cust_pay->processor %> % if ( length($auth) ) { - Authorization<% $auth %> + Authorization + <% $cust_pay->auth %> % } -% if ( length($order_number) ) { +% if ( length($cust_pay->order_number) ) { - Order number<% $order_number %> + Order number + <% $cust_pay->order_number %> % } -% } +% } #if $cust_pay % } diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi index ce0ec3212..a002fa181 100755 --- a/httemplate/edit/process/cust_pay.cgi +++ b/httemplate/edit/process/cust_pay.cgi @@ -57,6 +57,8 @@ my $new = new FS::cust_pay ( { bank depositor account teller ) #} fields('cust_pay') + # gatewaynum, processor, auth, order_number + # are for realtime payments only, and can't be entered manually } ); my @rights = ('Post payment'); -- cgit v1.2.1