CSUN#40171: Ali Sewruttan kan meldingen in behandeling nemen die niet voor hem zijn.

svn path=/Website/branches/v2016.3/; revision=33513
This commit is contained in:
Maykel Geerdink
2017-04-18 11:14:17 +00:00
parent c108874d64
commit d8535d4c78

View File

@@ -2637,6 +2637,7 @@ mld = {setmeldingstatus:
params = params || {};
var msql = "SELECT sm.mld_ins_discipline_key"
+ " , m.mld_alg_onroerendgoed_keys"
+ " , m.mld_alg_locatie_key"
+ " , m.mld_melding_status"
+ " , m.prs_perslid_key"
+ " , m.mld_workflowstep_key"
@@ -2712,6 +2713,7 @@ mld = {setmeldingstatus:
var mresult = user.func_enabled2("MLD",
{ ins_discipline_key: moRs("mld_ins_discipline_key").Value,
alg_key: moRs("mld_alg_onroerendgoed_keys").Value, // TODO: Wat als geen INS_SRTDISCIRPLINE_ALG?
loc_key: moRs("mld_alg_onroerendgoed_keys").Value == null? moRs("mld_alg_locatie_key").Value : null,
prs_key: moRs("prs_perslid_key").Value,
knownread: params.knownread
}