freeside/httemplate/edit cust_bill_pay.cgi,1.8,1.9

ivan ivan at pouncequick.420.am
Mon Jun 28 21:02:50 PDT 2004


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory pouncequick:/tmp/cvs-serv2036/httemplate/edit

Modified Files:
	cust_bill_pay.cgi 
Log Message:
add cust_pay_refund table to refund payments

Index: cust_bill_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_bill_pay.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cust_bill_pay.cgi	27 May 2002 06:53:06 -0000	1.8
+++ cust_bill_pay.cgi	29 Jun 2004 04:02:45 -0000	1.9
@@ -59,10 +59,10 @@
 END
 }
 
-#  if ( cust_bill == "Refund" ) {
-#    what.form.amount.value = "$credited";
-#  }
 print <<END;
+  if ( cust_bill == "Refund" ) {
+    what.form.amount.value = "$unapplied";
+  }
 }
 </SCRIPT>
 END
@@ -75,7 +75,7 @@
         ' -  '. time2str("%D",$cust_bill->_date).
         ' - $'. $cust_bill->owed;
 }
-#print qq!<OPTION VALUE="Refund">Refund!;
+print qq!<OPTION VALUE="Refund">Refund!;
 print "</SELECT>";
 
 print qq!<BR>Amount \$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8>!;




More information about the freeside-commits mailing list