[freeside-commits] branch FREESIDE_3_BRANCH updated. 4ac4e6000f4bbdc3482ef3a0432ddab954581f0e

Ivan Kohler ivan at freeside.biz
Wed Jan 24 17:48:53 PST 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  4ac4e6000f4bbdc3482ef3a0432ddab954581f0e (commit)
      from  547606a9623bd76bc9e2c832e8de758a05bbb6f4 (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 4ac4e6000f4bbdc3482ef3a0432ddab954581f0e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 24 17:48:52 2018 -0800

    fix billing error with intro rate packages when billing dates have been edited non-sensically (bill date set even though package is not billing yet), RT#78349

diff --git a/FS/FS/part_pkg/prorate_Mixin.pm b/FS/FS/part_pkg/prorate_Mixin.pm
index 5690bbf29..6de30fd78 100644
--- a/FS/FS/part_pkg/prorate_Mixin.pm
+++ b/FS/FS/part_pkg/prorate_Mixin.pm
@@ -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.

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_pkg/prorate_Mixin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list