[freeside-commits] branch FREESIDE_3_BRANCH updated. f94f089ecfc6094c90b4ae31ee83777fe53d403d

Mark Wells mark at 420.am
Thu Jun 4 18:51:44 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  f94f089ecfc6094c90b4ae31ee83777fe53d403d (commit)
      from  52f30b1d784918f63cd403fa03a20eacf9c1a471 (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 f94f089ecfc6094c90b4ae31ee83777fe53d403d
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jun 4 18:42:58 2015 -0700

    provide pkgpart in _item_discount for template use, #35103

diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index 70c7adc..4448da6 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -837,6 +837,8 @@ sub _item_discount {
     description     => $self->mt('Discount'),
     amount          => 0,
     ext_description => \@ext,
+    pkgpart         => $self->pkgpart,
+    feepart         => $self->feepart,
     # maybe should show quantity/unit discount?
   };
   foreach my $pkg_discount (@pkg_discounts) {

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

Summary of changes:
 FS/FS/cust_bill_pkg.pm |    2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list