Merge branch 'feature/schooljaardiv' into develop

This commit is contained in:
2023-02-27 09:44:54 +01:00
+1 -1
View File
@@ -77,7 +77,7 @@ class Toner extends MY_Controller{
$month = date("n",strtotime($today));
$year = date("Y", strtotime($today));
if ($month ==4){
if ($month ==2){
$schooljaren = $this->Schooljaren_model->getschooljaren();
if (date("Y", strtotime($schooljaren[0]->eind)) <= $year){
//creeer nieuw schooljaar