schooljaar erbij

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