projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21ed044
)
add legacy_cust_bill to hold legacy invoice content, RT#12981
author
ivan
<ivan>
Wed, 26 Oct 2011 03:24:01 +0000
(
03:24
+0000)
committer
ivan
<ivan>
Wed, 26 Oct 2011 03:24:01 +0000
(
03:24
+0000)
httemplate/view/cust_main/payment_history.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/payment_history.html
b/httemplate/view/cust_main/payment_history.html
index
752f565
..
467c3bc
100644
(file)
--- 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'})
%
% 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'})
%
% 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 ),
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,
};
}
};
}