unbreak "Enter refund" popup, from #18548
authorMark Wells <mark@freeside.biz>
Fri, 1 Feb 2013 17:46:03 +0000 (09:46 -0800)
committerMark Wells <mark@freeside.biz>
Fri, 1 Feb 2013 17:46:03 +0000 (09:46 -0800)
httemplate/edit/cust_refund.cgi

index 656d5eb..df42e63 100755 (executable)
     </TD>
   </TR>
 % } 
-
+% if ( $cust_pay->processor ) {
     <TR>
       <TD ALIGN="right">Processor</TD>
       <TD BGCOLOR="#ffffff"><% $cust_pay->processor %></TD>
     </TR>
-% if ( length($auth) ) { 
+% if ( length($cust_pay->auth) ) { 
 
       <TR>
         <TD ALIGN="right">Authorization</TD>
         <TD BGCOLOR="#ffffff"><% $cust_pay->order_number %></TD>
       </TR>
 % } 
-% }  #if $cust_pay
+% } # if ($cust_pay->processor)
 
   </TABLE>
-% } 
+% }  #if $cust_pay
 
 
 <BR>Refund