HCAS#36429 AiAi nieuw object - objectsoortselector
svn path=/Website/branches/v2016.1/; revision=29357
This commit is contained in:
@@ -274,6 +274,7 @@ oRs.Close();
|
||||
module: "BES",
|
||||
srtdeel_key: srtdeel,
|
||||
autfunction: autfunction,
|
||||
filtercode: "VERW",
|
||||
trclass: "secsearch",
|
||||
onChange: "onChangeSrtdeel",
|
||||
urlAdd: [{urlParam: "srtgroep_key", field: "srtgroep"},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<%
|
||||
|
||||
function getFiltClauseSrtdeel(pfiltcode, params) // pfiltcode not used yet
|
||||
function getFiltClauseSrtdeel(pfiltcode, params)
|
||||
{
|
||||
var lfiltClause = {from: "", where: ""};
|
||||
var module = params.module || "INS"; // geldige waarden: INS, BES
|
||||
@@ -39,9 +39,12 @@ function getFiltClauseSrtdeel(pfiltcode, params) // pfiltcode not used yet
|
||||
|
||||
if (params.srtdeel_key && params.srtdeel_key > 0)
|
||||
lfiltClause.where += " AND sd." + module + "_srtdeel_key = " + params.srtdeel_key;
|
||||
|
||||
|
||||
if (pfiltcode == "LEND")
|
||||
lfiltClause.where += " AND sd.ins_srtdeel_uitleenbaar = 1";
|
||||
lfiltClause.where += " AND sd.ins_srtdeel_uitleenbaar = 1";
|
||||
|
||||
if (pfiltcode != "VERW")
|
||||
lfiltClause.where += " AND sd." + module + "_srtdeel_verwijder IS NULL";
|
||||
|
||||
if (params.autfunction != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user