X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fpart_pkg%2Frecur_Common.pm;h=b73c62c25399cfc9923aa37659dc23a550d35a07;hb=7be090f63c78d5e1f969177a76efd861880c6f28;hp=ebf8869f655df773b9a10d1a0649028c528e1588;hpb=876bc8b0e9976e0c4761bf6679354febe7c2ae69;p=freeside.git diff --git a/FS/FS/part_pkg/recur_Common.pm b/FS/FS/part_pkg/recur_Common.pm index ebf8869f6..b73c62c25 100644 --- a/FS/FS/part_pkg/recur_Common.pm +++ b/FS/FS/part_pkg/recur_Common.pm @@ -34,7 +34,7 @@ sub calc_setup { delete $param->{'setup_charge'}; } - sprintf('%.2f', $charge - $discount); + sprintf('%.2f', ($cust_pkg->quantity || 1) * ($charge - $discount) ); } sub cutoff_day {