[freeside-commits] branch FREESIDE_3_BRANCH updated. b8c14d86d1660b23159a3a76c716ea93cb65162b

Ivan ivan at 420.am
Thu May 16 10:01:46 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  b8c14d86d1660b23159a3a76c716ea93cb65162b (commit)
      from  035e845af3291175feda9ffb55396f2de3ebd6da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b8c14d86d1660b23159a3a76c716ea93cb65162b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 16 10:01:45 2013 -0700

    fix displaying invoices with credits, RT#23123, fallout from RT#21293

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index ad49ac8..b3d3cf2 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),
         };
       }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list