[freeside-commits] branch master updated. f1885b7eb233b3853f0e8baba781846f55bf64ae
Ivan
ivan at 420.am
Tue Sep 16 03:27:28 PDT 2014
The branch, master has been updated
via f1885b7eb233b3853f0e8baba781846f55bf64ae (commit)
from 4e7efe58f1a20dfc4fd306fad2c14c8040585be1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f1885b7eb233b3853f0e8baba781846f55bf64ae
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Sep 16 03:27:26 2014 -0700
fix package changes w/quantities, RT#29753
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 93763dc..174d5cf 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) {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list