When this calculation fails:
|
$this->item->datum_eind = $start_schooljaar->addMonths($monthsToAdd)->addDays($daysToAdd-1); |
Problems occur when the currentWeek is 0 (in 'bufferweek'). Smartpoints wont correctly calculate the achievable points, nor show which 'feedbackmomenten' should have been completed (they're all greyed out):

To work around this I added an edit function in 7f7db4c so we can manually adjust the datum_eind, but really we should find a proper way to fix this