[freeside-commits] branch master updated. cd5882bb376d0e46f97d760072311b912f921e26

Ivan ivan at 420.am
Thu May 15 15:11:13 PDT 2014


The branch, master has been updated
       via  cd5882bb376d0e46f97d760072311b912f921e26 (commit)
      from  cf391024cf4c749960ce4e2aedef0531e6c51e44 (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 cd5882bb376d0e46f97d760072311b912f921e26
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 15 15:11:12 2014 -0700

    add package details to invoice when using agent wholesale bulk billing, RT#28456

diff --git a/FS/FS/part_pkg/agent.pm b/FS/FS/part_pkg/agent.pm
index 4a87728..e34b017 100644
--- a/FS/FS/part_pkg/agent.pm
+++ b/FS/FS/part_pkg/agent.pm
@@ -102,11 +102,15 @@ sub calc_recur {
           if $DEBUG;
 
         my $pkg_details = $cust_main->name_short. ': '; #name?
+
+        my $part_pkg = $cust_pkg->part_pkg;
+
         # + something to identify package... primary service probably
+        # no... package def for now
+        $pkg_details .= $part_pkg->pkg. ': ';
 
         my $pkg_charge = 0;
 
-        my $part_pkg = $cust_pkg->part_pkg;
         #option to not fallback? via options above
         my $pkg_setup_fee  =
           $part_pkg->setup_cost || $part_pkg->option('setup_fee');

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

Summary of changes:
 FS/FS/part_pkg/agent.pm |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list