From: Ivan Kohler Date: Sat, 25 Oct 2014 19:21:05 +0000 (-0700) Subject: show location ID (if present) on wholesale agent bill, RT#30856 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9b4ce21c4bfaf4aa5365fe3471a068f77ae9ae48 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 bc3c37409..6391fc915 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