summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_refund.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-02-27 03:15:31 +0000
committerivan <ivan>2010-02-27 03:15:31 +0000
commit005237d2424b22ff9e73798868194d68e18b3f6d (patch)
treeaf01410a8a8d8c6901dea13ed55353d9a6b6d03a /httemplate/edit/cust_refund.cgi
parent71f6c7a310cc5482d36d1592a4500b5a3a47e90e (diff)
expiration date not meaningful for non-CARD, RT#7419
Diffstat (limited to 'httemplate/edit/cust_refund.cgi')
-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',