projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
<rjbs> More of the same: these patches make it safer to subclass FS::part_pkg's pkg_s...
[freeside.git]
/
httemplate
/
view
/
cust_pkg.cgi
diff --git
a/httemplate/view/cust_pkg.cgi
b/httemplate/view/cust_pkg.cgi
index
5f0e6bf
..
a20149a
100755
(executable)
--- a/
httemplate/view/cust_pkg.cgi
+++ b/
httemplate/view/cust_pkg.cgi
@@
-104,8
+104,9
@@
unless ($cancel) {
#list of services this pkgpart includes
my $pkg_svc;
#list of services this pkgpart includes
my $pkg_svc;
- my %pkg_svc = ();
- foreach $pkg_svc ( qsearch('pkg_svc',{'pkgpart'=> $cust_pkg->pkgpart }) ) {
+ my %pkg_svc;
+ #foreach $pkg_svc ( qsearch('pkg_svc',{'pkgpart'=> $cust_pkg->pkgpart }) ) {
+ foreach $pkg_svc ( $cust_pkg->part_pkg->pkg_svc ) {
$pkg_svc{$pkg_svc->svcpart} = $pkg_svc->quantity if $pkg_svc->quantity;
}
$pkg_svc{$pkg_svc->svcpart} = $pkg_svc->quantity if $pkg_svc->quantity;
}