summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-08 19:15:33 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-08 19:15:33 -0500
commit4f5619288413a185e9933088d9dd8c5afbc55dfa (patch)
treed324d8f88926f88abe2001b23d9639660017deb2 /FS/FS/cust_main.pm
parent04969741a587fa292c830b83b077c4c7522621b9 (diff)
RT#34078: Payment History Report / Statement [Fixes for acl and text preview]
Diffstat (limited to 'FS/FS/cust_main.pm')
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index c6602c1a0..f55c3493c 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -4253,6 +4253,8 @@ sub payment_history {
'description' => 'Previous balance',
'amount' => sprintf("%.2f",$previous),
'balance' => sprintf("%.2f",$previous),
+ 'date' => $$opt{'start_date'},
+ 'date_pretty' => $self->time2str_local('short', $$opt{'start_date'} ),
};
#false laziness with above
foreach my $key ( qw(amount balance) ) {