Changeset 823 for trunk/Modules/Finance/Manage.php
- Timestamp:
- Apr 4, 2016, 12:44:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Manage.php
r799 r823 50 50 51 51 /* Get start and end of aligned period */ 52 $MonthFrom = floor(($MonthCurrent - 1) / $MonthCount) + 1;52 $MonthFrom = floor(($MonthCurrent - 1) / $MonthCount) * $MonthCount + 1; 53 53 $MonthTo = $MonthFrom + $MonthCount - 1; 54 54 55 55 /* Use period from current month to end month so months before current month are cut out */ 56 56 $MonthCount = $MonthTo - $MonthCurrent + 1;
Note:
See TracChangeset
for help on using the changeset viewer.