[freeside-commits] branch master updated. cf5ea7941e280b3f30761213b393ead465124c52

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


The branch, master has been updated
       via  cf5ea7941e280b3f30761213b393ead465124c52 (commit)
      from  7ee4bace7200b1ff7b2510c45a08c8a77bd714e0 (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 cf5ea7941e280b3f30761213b393ead465124c52
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 16 10:01:43 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