[freeside-commits] branch master updated. 75918c60e09cd556e753fc7be18bba97e360eef9

Mark Wells mark at 420.am
Thu Jun 4 18:52:06 PDT 2015


The branch, master has been updated
       via  75918c60e09cd556e753fc7be18bba97e360eef9 (commit)
      from  0a847ef34e29f867dea12cd0bc59d39eb38cdda1 (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 75918c60e09cd556e753fc7be18bba97e360eef9
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jun 4 18:49:25 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 a5c4410..8233ce0 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -834,6 +834,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