diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:21:07 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:21:07 -0700 |
commit | 2c3d4dac5b3e159a7e5bd4df457db5f148340a31 (patch) | |
tree | 35e0cc6e6056c5ae4a1d13600e9eaec16888859d | |
parent | f1e9e0cd3fb22e3e615142889f5f3df799841cc2 (diff) |
show location ID (if present) on wholesale agent bill, RT#30856
-rw-r--r-- | FS/FS/part_pkg/agent.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/part_pkg/agent.pm b/FS/FS/part_pkg/agent.pm index 62cf185ed..e24ebe11e 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 |