[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.47, 1.48

Ivan,,, ivan at wavetail.420.am
Wed Aug 4 12:14:52 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv23911/httemplate/view/cust_main

Modified Files:
	payment_history.html 
Log Message:
show cust_pay_pending attempted payments on customer payment history, RT#8815

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -w -d -r1.47 -r1.48
--- payment_history.html	8 Mar 2010 10:57:06 -0000	1.47
+++ payment_history.html	4 Aug 2010 19:14:50 -0000	1.48
@@ -422,6 +422,16 @@
 
 }
 
+#declined payments
+foreach my $cust_pay_pending ($cust_main->cust_pay_pending_attempt) {
+  push @history, {
+    'date'    => $cust_pay_pending->_date,
+    'desc'    => include('payment_history/attempted_payment.html', $cust_pay_pending, %opt ),
+    'void_payment' => $cust_pay_pending->paid, #??
+    #'target'  => $target, #XXX
+  };
+}
+
 #credits (some false laziness w/payments)
 foreach my $cust_credit ($cust_main->cust_credit) {
   push @history, {



More information about the freeside-commits mailing list