projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e9e0c
)
show location ID (if present) on wholesale agent bill, RT#30856
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 25 Oct 2014 19:21:07 +0000
(12:21 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 25 Oct 2014 19:21:07 +0000
(12:21 -0700)
FS/FS/part_pkg/agent.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/agent.pm
b/FS/FS/part_pkg/agent.pm
index
62cf185
..
e24ebe1
100644
(file)
--- 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