[freeside-commits] freeside/FS/FS/part_pkg prorate_Mixin.pm, 1.6, 1.7

Mark Wells mark at wavetail.420.am
Tue Dec 7 16:02:45 PST 2010


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

Modified Files:
	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.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- prorate_Mixin.pm	9 Nov 2010 21:40:18 -0000	1.6
+++ prorate_Mixin.pm	8 Dec 2010 00:02:43 -0000	1.7
@@ -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