[freeside-commits] freeside/FS/FS/part_pkg prorate_Mixin.pm, 1.5.2.1, 1.5.2.2

Mark Wells mark at wavetail.420.am
Tue Dec 7 16:03:15 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv17795/part_pkg

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	prorate_Mixin.pm 
Log Message:
fix incorrect bill dates from prorate, RT#10830

Index: prorate_Mixin.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/prorate_Mixin.pm,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -w -d -r1.5.2.1 -r1.5.2.2
--- prorate_Mixin.pm	9 Nov 2010 21:41:39 -0000	1.5.2.1
+++ prorate_Mixin.pm	8 Dec 2010 00:03:13 -0000	1.5.2.2
@@ -81,7 +81,7 @@
       $mend = 
         timelocal(0,0,0,$cutoff_day,$mon,$year);
       $mstart = 
-        timelocal(0,0,0,$cutoff_day,$mon == 0 ? 11 : $mon - 1,$year-($mon==11));
+        timelocal(0,0,0,$cutoff_day,$mon == 0 ? 11 : $mon - 1,$year-($mon==0));
     }
    
     # next bill date will be figured as $$sdate + one period



More information about the freeside-commits mailing list