FSN#37862 Alleen MJOB taken tonen
svn path=/Website/branches/v2016.2/; revision=30905
This commit is contained in:
@@ -193,8 +193,17 @@ var authparamsCTRUSE = user.checkAutorisation("WEB_CTRUSE");
|
||||
<table><!-- x rijen, 2 kolommen: label + veld -->
|
||||
<% sql = "SELECT ins_srtcontrole_key"
|
||||
+ " , ins_srtcontrole_omschrijving"
|
||||
+ " FROM ins_srtcontrole"
|
||||
+ " WHERE (ins_srtcontrole_eind IS NULL OR ins_srtcontrole_eind > SYSDATE)"
|
||||
+ " FROM ins_srtcontrole isc"
|
||||
+ " , ctr_disc_params cdp"
|
||||
+ " , ctr_discipline cd"
|
||||
+ " WHERE isc.ctr_discipline_key = cdp.ctr_ins_discipline_key"
|
||||
+ " AND cdp.ctr_ins_discipline_key = cd.ins_discipline_key"
|
||||
+ " AND cd.ins_discipline_verwijder IS NULL"
|
||||
+ " AND cdp.ctr_disc_params_ismjob = 1"
|
||||
+ " AND (ins_srtcontrole_eind IS NULL OR ins_srtcontrole_eind > SYSDATE)";
|
||||
|
||||
if (ctrdisc_key > 0)
|
||||
sql += " AND cd.ins_discipline_key = " + ctrdisc_key
|
||||
FCLTselector("srtcontrole", // Soort controle
|
||||
sql,
|
||||
{ initKey: srtcontrole,
|
||||
|
||||
Reference in New Issue
Block a user