From: ivan Date: Wed, 26 Oct 2011 03:24:01 +0000 (+0000) Subject: add legacy_cust_bill to hold legacy invoice content, RT#12981 X-Git-Tag: freeside_2_3_1~201 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e41880cfb8d9835bca858ec13c96724b08fa0af7 add legacy_cust_bill to hold legacy invoice content, RT#12981 --- diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index 752f56562..467c3bc0c 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -267,7 +267,9 @@ % % 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'}) % ? sprintf("- $money_char\%.2f", $item->{'payment'}) @@ -401,7 +403,7 @@ foreach my $legacy_cust_bill ($cust_main->legacy_cust_bill) { 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, }; }