summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-09-16 03:27:26 -0700
committerIvan Kohler <ivan@freeside.biz>2014-09-16 03:27:26 -0700
commitf1885b7eb233b3853f0e8baba781846f55bf64ae (patch)
treec6baa7903e387e00746f13850d48c1c8f4cedaf6 /FS
parent4e7efe58f1a20dfc4fd306fad2c14c8040585be1 (diff)
fix package changes w/quantities, RT#29753
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 93763dc8e..174d5cf7c 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3613,7 +3613,7 @@ sub transfer {
return ('Package does not exist: '.$dest_pkgnum) unless $dest;
foreach my $pkg_svc ( $dest->part_pkg->pkg_svc ) {
- $target{$pkg_svc->svcpart} = $pkg_svc->quantity;
+ $target{$pkg_svc->svcpart} = $pkg_svc->quantity * ( $dest->quantity || 1 );
}
foreach my $cust_svc ($dest->cust_svc) {