[freeside-commits] branch FREESIDE_3_BRANCH updated. 26cd0bcebfd35aa805162718a2e27206ff65e4e4
Ivan
ivan at 420.am
Thu May 15 15:11:14 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 26cd0bcebfd35aa805162718a2e27206ff65e4e4 (commit)
from 786877092cb39a3b6cf3185f99185f2a61ab1fbc (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 26cd0bcebfd35aa805162718a2e27206ff65e4e4
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu May 15 15:11:13 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 6ab21d6..6d5af91 100644
--- a/FS/FS/part_pkg/agent.pm
+++ b/FS/FS/part_pkg/agent.pm
@@ -105,11 +105,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