fix billing error with intro rate packages when billing dates have been edited non...
authorIvan Kohler <ivan@freeside.biz>
Thu, 25 Jan 2018 01:48:52 +0000 (17:48 -0800)
committerIvan Kohler <ivan@freeside.biz>
Thu, 25 Jan 2018 01:48:52 +0000 (17:48 -0800)
FS/FS/part_pkg/prorate_Mixin.pm

index 5690bbf..6de30fd 100644 (file)
@@ -204,7 +204,7 @@ sub prorate_setup {
         # For some reason (probably user override), the bill date has been set even
         # though the package isn't billing yet. Start billing as though that was the
         # start date.
-        $sdate = $cust_pkg->bill;
+        $$sdate = $cust_pkg->bill;
         $cust_pkg->setup($cust_pkg->bill);
       }
       # Now figure the start and end of the period that contains the start date.