[freeside-commits] branch FREESIDE_3_BRANCH updated. 2c3d4dac5b3e159a7e5bd4df457db5f148340a31

Ivan ivan at 420.am
Sat Oct 25 12:21:08 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  2c3d4dac5b3e159a7e5bd4df457db5f148340a31 (commit)
      from  f1e9e0cd3fb22e3e615142889f5f3df799841cc2 (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 2c3d4dac5b3e159a7e5bd4df457db5f148340a31
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Oct 25 12:21:07 2014 -0700

    show location ID (if present) on wholesale agent bill, RT#30856

diff --git a/FS/FS/part_pkg/agent.pm b/FS/FS/part_pkg/agent.pm
index 62cf185..e24ebe1 100644
--- a/FS/FS/part_pkg/agent.pm
+++ b/FS/FS/part_pkg/agent.pm
@@ -107,6 +107,10 @@ sub calc_recur {
 
         my $pkg_details = $cust_main->name_short. ': '; #name?
 
+        my $cust_location = $cust_pkg->cust_location;
+        $pkg_details .= $cust_location->locationname. ': '
+          if $cust_location->locationname;
+
         my $part_pkg = $cust_pkg->part_pkg;
 
         # + something to identify package... primary service probably

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

Summary of changes:
 FS/FS/part_pkg/agent.pm |    4 ++++
 1 file changed, 4 insertions(+)




More information about the freeside-commits mailing list