[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.58.2.5, 1.58.2.6

Ivan,,, ivan at wavetail.420.am
Tue Oct 25 20:24:03 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	payment_history.html 
Log Message:
add legacy_cust_bill to hold legacy invoice content, RT#12981

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.58.2.5
retrieving revision 1.58.2.6
diff -u -w -d -r1.58.2.5 -r1.58.2.6
--- payment_history.html	25 Oct 2011 22:35:20 -0000	1.58.2.5
+++ payment_history.html	26 Oct 2011 03:24:01 -0000	1.58.2.6
@@ -267,6 +267,8 @@
 %
 %  my $charge  = exists($item->{'charge'})
 %                  ? sprintf("$money_char\%.2f", $item->{'charge'})
+%                  : exists($item->{'charge_nobal'})
+%                    ? sprintf("$money_char\%.2f", $item->{'charge_nobal'})
 %                  : '';
 %
 %  my $payment = exists($item->{'payment'})
@@ -401,7 +403,7 @@
   push @history, {
     'date'   => $legacy_cust_bill->_date,
     'desc'   => include('payment_history/legacy_invoice.html', $legacy_cust_bill, %opt ),
-    'charge' => $legacy_cust_bill->charged,
+    'charge_nobal' => $legacy_cust_bill->charged,
   };
 }
 



More information about the freeside-commits mailing list