summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-02-27 03:15:33 +0000
committerivan <ivan>2010-02-27 03:15:33 +0000
commit5116a9f400ed93aca60fa1472e7cb2d5eb6e08c9 (patch)
treea54447a5db075eb4f79c77e15b1e3dcc6eba397e
parentea51ee45bd10a07420588bde56356d5a90047cd7 (diff)
expiration date not meaningful for non-CARD, RT#7419
-rwxr-xr-xhttemplate/edit/cust_refund.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi
index 94c0993d7..34e3812f3 100755
--- a/httemplate/edit/cust_refund.cgi
+++ b/httemplate/edit/cust_refund.cgi
@@ -48,7 +48,7 @@
<TD ALIGN="right">Method</TD><TD BGCOLOR="#ffffff"><% $payby %> # <% $paymask %></TD>
</TR>
-% unless ( $paydate ) { # possibly other reasons: i.e. card has since expired
+% unless ( $paydate || $cust_pay->payby ne 'CARD' ) { # possibly other reasons: i.e. card has since expired
<TR>
<TD ALIGN="right">Expiration</TD><TD BGCOLOR="#ffffff">
<% include( '/elements/select-month_year.html',