FSN#43389 behandelaar niet verplicht bij accepteren

svn path=/Website/branches/v2017.2/; revision=35478
This commit is contained in:
Ruud Lipper
2017-09-28 10:47:15 +00:00
parent bfc53bbff4
commit 201f6130d4
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ lcl.set_dialect(mld_melding.srtdisc, "MLD_SRTDISCIPLINE_KEY");
fieldNameKey: "sBehandel_key",
autlevel: this_mld.authparams(autfunction) && this_mld.authparams(autfunction).PRSwritelevel,
urlAdd: urlAdd,
required: true,
required: false,
readonly: !this_mld.canAfhandChange,
filtercode: (mld_info.mld_status == 0 ? "BEHF" : "BEHB")
});

View File

@@ -66,7 +66,7 @@ for (var i = 0; i < mld_key_arr.length; i++)
// Als je niet accepteert met MLDBO3 rechten en je hebt niet de BO3 notificatie aanstaan dan de behandelaar opslaan.
// BO notificatie accept 0=niet, 1=bof, 2=bo3, 3=bo3 (aanmaak nieuwe melding) en dan bof (accepteren melding)
ingesloten.push({mld_key: mld_key_arr[i],
saveBehandelaar: !this_mld.canWrite("WEB_MLDBO3") && mld_info.bonotify < 2 && mld_info.behandel_key != behandelaar_key // Behandelaar alleen in situatie 1 voor bonotify 0 (niet) en 1 (bof) tracken.
saveBehandelaar: !this_mld.canWrite("WEB_MLDBO3") && mld_info.bonotify < 2 && mld_info.behandel_key != behandelaar_key && behandelaar_key != -1 // Behandelaar alleen in situatie 1 voor bonotify 0 (niet) en 1 (bof) tracken.
});
toberejected++;
}