PLAT#38415 Bugfix@Bulkactie 'Terugzetten (jaar)' toegevoegd om mjob inspecties terug te zetten naar hun oorspronkelijke jaar

svn path=/Website/trunk/; revision=35056
This commit is contained in:
2017-08-23 10:00:06 +00:00
parent f84e5889a2
commit 6428a41073

View File

@@ -268,8 +268,8 @@ var transitParam = buildTransitParam(["disc", "srtgroep", "srtdeel", "srtcontrol
rowdata = eval('(' + rowArray[i].getAttribute("ROWDATA") + ')'); rowdata = eval('(' + rowArray[i].getAttribute("ROWDATA") + ')');
// Delete the following ins_deelsrtcontrole records // Delete the following ins_deelsrtcontrole records
if (rowdata.insDeelSrtContrKey && rowdata.insDeelSrtContrKey > -1 && if (rowdata.insDeelSrtContrKey != null && rowdata.insDeelSrtContrKey > -1 &&
rowdata.insDeelSrtContrStatus && rowdata.insDeelSrtContrStatus == 0 && // Ingepland (0) rowdata.insDeelSrtContrStatus != null && rowdata.insDeelSrtContrStatus == 0 && // Ingepland (0)
(!rowdata.insScenKey || rowdata.insScenKey == 1)) (!rowdata.insScenKey || rowdata.insScenKey == 1))
{ {
ins_key_arr.push(rowdata.insKey); ins_key_arr.push(rowdata.insKey);