mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
* Calendar/Categrory report: Consider multidays events in over range calculation
This commit is contained in:
parent
06bf277940
commit
2fe12757e0
@ -139,6 +139,7 @@ class calendar_category_report extends calendar_ui{
|
|||||||
$events_log[$user_id][$previous_week_number][$event['id']]['counted']))
|
$events_log[$user_id][$previous_week_number][$event['id']]['counted']))
|
||||||
{
|
{
|
||||||
$events_log[$user_id][$week_number][$event['id']]['counted'] = true;
|
$events_log[$user_id][$week_number][$event['id']]['counted'] = true;
|
||||||
|
$events_log[$user_id][$week_number][$event['id']]['over_range'] = $is_over_range_event? true: false;
|
||||||
}
|
}
|
||||||
// In case of start range is in middle of multidays event, we need to calculate the
|
// In case of start range is in middle of multidays event, we need to calculate the
|
||||||
// amount base on the part of event on the range and keep track of counting to avoid
|
// amount base on the part of event on the range and keep track of counting to avoid
|
||||||
|
Loading…
Reference in New Issue
Block a user