expiration date not meaningful for non-CARD, RT#7419
authorivan <ivan>
Sat, 27 Feb 2010 03:15:31 +0000 (03:15 +0000)
committerivan <ivan>
Sat, 27 Feb 2010 03:15:31 +0000 (03:15 +0000)
httemplate/edit/cust_refund.cgi

index 94c0993..34e3812 100755 (executable)
@@ -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',