make it clearer on the void popup it isn't going to the gateway, RT#81582
authorIvan Kohler <ivan@freeside.biz>
Mon, 29 Oct 2018 18:53:57 +0000 (11:53 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 29 Oct 2018 18:53:57 +0000 (11:53 -0700)
httemplate/misc/void-cust_pay.html

index 205d93a..2a8f33b 100755 (executable)
@@ -11,6 +11,9 @@
 <& /elements/error.html &>
 
 <P ALIGN="center"><B><% mt('Void this payment?') |h %></B>
+% if ( $cust_pay->payby =~ /^(CARD|CHEK)$/ ) {
+    <P ALIGN="center"><% mt('(Do not send anything to the payment gateway)') |h %>
+% }
 
 <FORM action="<% ${p} %>misc/void-cust_pay.html">
 <INPUT TYPE="hidden" NAME="paynum" VALUE="<% $paynum %>">