[freeside-commits] branch master updated. 9b4ce21c4bfaf4aa5365fe3471a068f77ae9ae48

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


The branch, master has been updated
       via  9b4ce21c4bfaf4aa5365fe3471a068f77ae9ae48 (commit)
      from  5556814b7ff65b0a4837390be9331e1841189427 (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 9b4ce21c4bfaf4aa5365fe3471a068f77ae9ae48
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Oct 25 12:21:05 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 bc3c374..6391fc9 100644
--- a/FS/FS/part_pkg/agent.pm
+++ b/FS/FS/part_pkg/agent.pm
@@ -104,6 +104,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