X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fsql_external.pm;h=813e8085c96a34bdaaa13ba9bd4d52403b3fc801;hb=f2766e203e1aa144d046a26cf13e01e1f5b00f64;hp=4bf9ecbe72871cd04e53795fea33753701cbea3c;hpb=ca1cb63cc645a3f402048f589c67d76bedf4d597;p=freeside.git diff --git a/FS/FS/part_pkg/sql_external.pm b/FS/FS/part_pkg/sql_external.pm index 4bf9ecbe7..813e8085c 100644 --- a/FS/FS/part_pkg/sql_external.pm +++ b/FS/FS/part_pkg/sql_external.pm @@ -71,7 +71,7 @@ sub calc_recur { } $param->{'override_charges'} = $price; - $self->calc_recur_Common($cust_pkg,$sdate,$details,$param); + ($cust_pkg->quantity || 1) * $self->calc_recur_Common($cust_pkg,$sdate,$details,$param); } sub can_discount { 1; }