[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.42, 1.43

Ivan,,, ivan at wavetail.420.am
Wed Aug 19 21:03:37 PDT 2009


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

Modified Files:
	payment_history.html 
Log Message:
Emailing statements of accounts, RT#4860

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- payment_history.html	30 Jul 2009 06:52:16 -0000	1.42
+++ payment_history.html	20 Aug 2009 04:03:35 -0000	1.43
@@ -392,6 +392,15 @@
   };
 }
 
+#statements
+foreach my $cust_statement ($cust_main->cust_statement) {
+  push @history, {
+    'date'   => $cust_statement->_date,
+    'desc'   => include('payment_history/statement.html', $cust_statement, %opt ),
+    #'charge' => $cust_bill->charged,
+  };
+}
+
 #payments (some false laziness w/credits)
 foreach my $cust_pay ($cust_main->cust_pay) {
   push @history, {



More information about the freeside-commits mailing list