diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-01-05 14:49:44 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-05 14:49:44 -0800 |
commit | 7a618d4493ab7a87f6eabfd1ce3630a6b3436c2f (patch) | |
tree | ecb446f0297fe53227fc9d6b0be8ee1f4b3208d3 /httemplate/edit | |
parent | 170085d3536733f303e242503f0e034c65016b73 (diff) | |
parent | 949114e0f65232b405e084bcfcff37b1fd9a2926 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/cust_refund.cgi | 20 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_pay.cgi | 2 |
2 files changed, 10 insertions, 12 deletions
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 @@ </TR> % } -% -% #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 ); -% - - <TR> - <TD ALIGN="right">Processor</TD><TD BGCOLOR="#ffffff"><% $processor %></TD> + <TD ALIGN="right">Processor</TD> + <TD BGCOLOR="#ffffff"><% $cust_pay->processor %></TD> </TR> % if ( length($auth) ) { <TR> - <TD ALIGN="right">Authorization</TD><TD BGCOLOR="#ffffff"><% $auth %></TD> + <TD ALIGN="right">Authorization</TD> + <TD BGCOLOR="#ffffff"><% $cust_pay->auth %></TD> </TR> % } -% if ( length($order_number) ) { +% if ( length($cust_pay->order_number) ) { <TR> - <TD ALIGN="right">Order number</TD><TD BGCOLOR="#ffffff"><% $order_number %></TD> + <TD ALIGN="right">Order number</TD> + <TD BGCOLOR="#ffffff"><% $cust_pay->order_number %></TD> </TR> % } -% } +% } #if $cust_pay </TABLE> % } 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'); |