tussenopslag

This commit is contained in:
Monique
2022-10-25 14:24:10 +02:00
parent da5ed1afa8
commit a4f2db9611
3 changed files with 16 additions and 4 deletions
@@ -57,9 +57,10 @@ class Compactsop extends MY_Controller{
echo json_encode($soort);
}
function getSchooljaren(){
function getSchooljarenEnOrgs(){
if (!$this->userid) die;
$schooljaren = $this->Schooljaren_model->getschooljaren();
// $orgs = $this->
echo json_encode($schooljaren);
}
@@ -9,6 +9,16 @@
event: {change: fGetCompactSop}" >
</select>
</td>
<!--ko if: orgsoortnummer < 4 -->
<td style="padding-left: 30px;">
<p>Selecteer een organisatie:</p>
<select data-bind=" options: schooljaren,
optionsText: 'naam',
value: $root.selectedSchooljaar,
event: {change: fGetCompactSop}" >
</select>
</td>
<!--/ko -->
<td style="vertical-align: bottom; ">
<button class="buttonCompact"