FSN#37642 Verkeerde vastgoedruimte in reservablerooms API

svn path=/Website/trunk/; revision=30615
This commit is contained in:
Jos Groot Lipman
2016-09-07 13:01:13 +00:00
parent de784080d6
commit dea8470cc7

View File

@@ -50,12 +50,16 @@ model_reservablerooms =
"close" : { dbs: "res_ruimte_eindtijd", typ: "time", val: fnTo },
"location" : { dbs: "alg_v_allonroerendgoed.alg_locatie_key", typ: "key", foreign: "alg_locatie", filter: "exact"},
"capacity" : { dbs: "dummy", typ: "varchar", sql: sqlcap },
"room" : { dbs: "res_alg_ruimte.res_alg_ruimte_key", typ: "key", foreign: "alg_ruimte"},
"room" : { dbs: "res_alg_ruimte.alg_ruimte_key", typ: "key", foreign: "alg_ruimte"},
"catalog" : { "dbs": "res_discipline_key",
"label": L("res_discipline_key"),
"typ": "key",
"foreign": {
"tbl": "(select ins_discipline_key, ins_discipline_omschrijving\nfrom ins_tab_discipline\nwhere ins_discipline_verwijder is null\nand ins_discipline_module = 'RES'\nand ins_discipline_min_level = 3)",
"tbl": "(select ins_discipline_key, ins_discipline_omschrijving"
+ " from ins_tab_discipline"
+ " where ins_discipline_verwijder is null"
+ " and ins_discipline_module = 'RES'"
+ " and ins_discipline_min_level = 3)",
"key": "ins_discipline_key",
"desc": "ins_discipline_omschrijving"
},