tonen swvoverzicht sop
This commit is contained in:
@@ -18,14 +18,12 @@
|
|||||||
<th style="padding: 5px; color: white; background-color: #a07b8e; ">SWOP</th>
|
<th style="padding: 5px; color: white; background-color: #a07b8e; ">SWOP</th>
|
||||||
<th style="padding: 5px; color: white; background-color: #a07b8e;" data-bind="text: naam">
|
<th style="padding: 5px; color: white; background-color: #a07b8e;" data-bind="text: naam">
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|
||||||
<tbody >
|
<tbody >
|
||||||
<!-- ko forach: kamers -->
|
<!-- ko foreach: kamers -->
|
||||||
<tr style="border-bottom: 1px solid #A28A29;">
|
<tr style="border-bottom: 1px solid #A28A29;">
|
||||||
<td style="background-color: #ded0d7">
|
<td style="background-color: #ded0d7">
|
||||||
<button data-bind="visible: erIsEenSop(), click: $root.fOpenPDF"
|
<button data-bind="visible: erIsEenSop(), click: $root.fOpenPDF"
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
<div class="col-xs-3"></div>
|
<div class="col-xs-3"></div>
|
||||||
|
|
||||||
<div class="col-xs-6 " >
|
<div class="col-xs-6 " >
|
||||||
<h3>Compacte Ontwikkelingsplannen</h3>
|
|
||||||
|
<h3 data-bind="text: orgsoort() == 4 ? 'Compact Ondersteuningsprofiel' : 'Compacte Ondersteuningsprofielen' ">
|
||||||
|
</h3>
|
||||||
|
|
||||||
<p>Selecteer een schooljaar:</p>
|
<p>Selecteer een schooljaar:</p>
|
||||||
<select data-bind=" options: schooljaren,
|
<select data-bind=" options: schooljaren,
|
||||||
@@ -12,49 +14,24 @@
|
|||||||
event: {change: fChangeSchooljaar}">
|
event: {change: fChangeSchooljaar}">
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- <div class="col-sm-5" >-->
|
<!-- ko if: orgsoort() == 4 -->
|
||||||
|
<?php $this->load->view("monpas/compactsop/overzicht/_school"); ?>
|
||||||
<!-- <p style="margin-top: 8px;">Ordening</p>-->
|
<!--/ko -->
|
||||||
<!--if orgsoort = 1 of 2-->
|
|
||||||
<!-- <p>-->
|
|
||||||
<!-- <i class="fa fa-check-square"-->
|
|
||||||
<!-- style="color: #A28A29;"-->
|
|
||||||
<!-- data-bind="click: $root.fToggleOrdening"></i>-->
|
|
||||||
<!-- <span data-bind="click: $root.fToggleOrdening">per bestuur-->
|
|
||||||
<!-- </span>-->
|
|
||||||
<!-- </p>-->
|
|
||||||
<!-- <p>-->
|
|
||||||
<!-- <i class="fa fa-square"-->
|
|
||||||
<!-- style="color: #A28A29;"-->
|
|
||||||
<!-- data-bind="click: $root.fToggleOrdening"-->
|
|
||||||
<!-- ></i>-->
|
|
||||||
<!-- <span data-bind="click: $root.fToggleOrdening">alfabetisch-->
|
|
||||||
<!-- </span>-->
|
|
||||||
<!-- </p>-->
|
|
||||||
<!---->
|
|
||||||
<!-- </div>-->
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row" data-bind="visible: orgsoort()== 4 ">
|
|
||||||
<?php $this->load->view("monpas/compactsop/overzicht/_school"); ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ko if: orgsoort() == 3 -->
|
<!-- ko if: orgsoort() == 3 -->
|
||||||
<div class="row" ">
|
<?php $this->load->view("monpas/compactsop/overzicht/_bestuur"); ?>
|
||||||
<?php $this->load->view("monpas/compactsop/overzicht/_bestuur"); ?>
|
<!--/ko -->
|
||||||
</div>
|
|
||||||
<!--/ko -->
|
|
||||||
<div class="row" data-bind="visible: orgsoort()== 2 ">
|
|
||||||
<?php $this->load->view("monpas/compactsop/overzicht/_regio"); ?>
|
|
||||||
</div>
|
|
||||||
<div class="row" data-bind="visible: orgsoort()== 1 ">
|
|
||||||
<?php $this->load->view("monpas/compactsop/overzicht/_swv"); ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<!-- ko if: orgsoort() == 2 -->
|
||||||
|
<?php $this->load->view("monpas/compactsop/overzicht/_regio"); ?>
|
||||||
|
<!--/ko -->
|
||||||
|
<!-- ko if: orgsoort() == 1 -->
|
||||||
|
<?php $this->load->view("monpas/compactsop/overzicht/_swv"); ?>
|
||||||
|
<!--/ko -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,16 +94,20 @@ ls.initMenuModel = function(){
|
|||||||
var self = ls.MenuModel;
|
var self = ls.MenuModel;
|
||||||
self.menuitems.removeAll();
|
self.menuitems.removeAll();
|
||||||
$.post("index.php/shared/menu/get_menu",function(data){
|
$.post("index.php/shared/menu/get_menu",function(data){
|
||||||
|
self.organisatie(data.organisatie);
|
||||||
|
console.log(data.organisatie, "data organisatie")
|
||||||
self.menuitems.removeAll();
|
self.menuitems.removeAll();
|
||||||
if (data.menu){
|
if (data.menu){
|
||||||
|
console.log(data.menu, "data menu")
|
||||||
$.each(data.menu, function(i,p){
|
$.each(data.menu, function(i,p){
|
||||||
|
|
||||||
self.menuitems.push(new fAddMenuitem(p));
|
self.menuitems.push(new fAddMenuitem(p));
|
||||||
}); // foreach
|
}); // foreach
|
||||||
if (self.menuitems()[0]){
|
if (self.menuitems()[0]){
|
||||||
self.menuitems()[0].gekozen(true);
|
self.menuitems()[0].gekozen(true);
|
||||||
}
|
}
|
||||||
self.user(data.user);
|
self.user(data.user);
|
||||||
self.organisatie(data.organisatie);
|
|
||||||
self.module(data.module);
|
self.module(data.module);
|
||||||
if(self.module() == 90 || self.module() == 610 ) self.logo("logokokoklein.png")
|
if(self.module() == 90 || self.module() == 610 ) self.logo("logokokoklein.png")
|
||||||
};
|
};
|
||||||
@@ -250,9 +254,8 @@ ls.initMenuModel = function(){
|
|||||||
$.each(self.menuitems(), function (i, m){
|
$.each(self.menuitems(), function (i, m){
|
||||||
m.gekozen(false);
|
m.gekozen(false);
|
||||||
$.each(m.subpaginas(), function (x, s){
|
$.each(m.subpaginas(), function (x, s){
|
||||||
|
|
||||||
s.subgekozen(false);
|
s.subgekozen(false);
|
||||||
if(that.id === s.id){
|
if(that.id === s.id ){
|
||||||
s.subgekozen(true);
|
s.subgekozen(true);
|
||||||
m.gekozen(true);
|
m.gekozen(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user