From cf5ea7941e280b3f30761213b393ead465124c52 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 16 May 2013 10:01:43 -0700 Subject: [PATCH] fix displaying invoices with credits, RT#23123, fallout from RT#21293 --- FS/FS/Template_Mixin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index ad49ac806..b3d3cf2ed 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -647,7 +647,7 @@ sub print_generic { push @credits, { '_date' => $cust_credit->_date, 'date' => time2str($date_format, $cust_credit->_date), - 'creditreason'=> $cust_credit->cust_credit->reason, + 'creditreason'=> $cust_credit->reason, 'amount' => sprintf('%.2f', $cust_credit->amount), }; } -- 2.11.0