Scan passend onderwijs in compact sop
This commit is contained in:
@@ -82,7 +82,7 @@ mh.initCompactSopModel = function(){
|
||||
this.isBreedBlok = ko.pureComputed(function(){
|
||||
if (this.groepen() >=9 ) return true
|
||||
if (this.nummer == 7) return true
|
||||
if (this.nummer == 8) return true
|
||||
// if (this.nummer == 8) return true
|
||||
return false
|
||||
}, this)
|
||||
this.infotekst = ko.pureComputed(function(){
|
||||
@@ -681,7 +681,7 @@ mh.initCompactSopModel = function(){
|
||||
var aantalOnderdelen =0
|
||||
$.each(self.onderdelen(), function(x,onderdeel){
|
||||
if (onderdeel.selected()){
|
||||
if(onderdeel.nummer === '7' ||parseInt(onderdeel.groepen()) > 8 || onderdeel.nummer === '8' ){
|
||||
if(onderdeel.nummer === '7' ||parseInt(onderdeel.groepen()) > 8 ){
|
||||
aantalOnderdelen = parseInt(aantalOnderdelen) + parseInt(2);
|
||||
} else {
|
||||
aantalOnderdelen += 1
|
||||
|
||||
Reference in New Issue
Block a user