X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Frecur_Common.pm;h=b73c62c25399cfc9923aa37659dc23a550d35a07;hp=ebf8869f655df773b9a10d1a0649028c528e1588;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hpb=b7a2175dd9b386441f4ab66869d73083e5e8beb1 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 {