Scan passend onderwijs in compact sop

This commit is contained in:
Monique
2022-01-24 10:56:09 +01:00
parent de698f3c60
commit f85b2632b5
12 changed files with 272 additions and 287 deletions
+2 -2
View File
@@ -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