summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-10-26 03:24:01 +0000
committerivan <ivan>2011-10-26 03:24:01 +0000
commite41880cfb8d9835bca858ec13c96724b08fa0af7 (patch)
tree4893211522b874207e121dc87a999fe97a341156 /httemplate
parent21ed0448f9f490cf9ffa9d74d7e70035025d5449 (diff)
add legacy_cust_bill to hold legacy invoice content, RT#12981
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/payment_history.html6
1 files changed, 4 insertions, 2 deletions
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("-&nbsp;$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,
};
}