Velden met 'foreign' moeten altijd type "key" zijn
svn path=/Website/trunk/; revision=33543
This commit is contained in:
@@ -90,7 +90,7 @@ function model_fac_setting()
|
||||
"changed_by": {
|
||||
"dbs": "prs_perslid_key",
|
||||
"label": L("prs_perslid"),
|
||||
"typ": "number",
|
||||
"typ": "key",
|
||||
"foreign": "prs_perslid"
|
||||
},
|
||||
"authorization": {
|
||||
|
||||
@@ -36,7 +36,7 @@ function model_mld_typeopdr_srtdiscipline()
|
||||
"ordertype": {
|
||||
"dbs": "mld_typeopdr_key",
|
||||
"label": L("mld_typeopdr"),
|
||||
"typ": "number",
|
||||
"typ": "key",
|
||||
"foreign": {
|
||||
"tbl": "mld_typeopdr",
|
||||
"key": "mld_typeopdr_key",
|
||||
@@ -63,7 +63,7 @@ function model_mld_typeopdr_srtdiscipline()
|
||||
"key": "ins_discipline_key",
|
||||
"desc": "ins_discipline_omschrijving"
|
||||
},
|
||||
"emptyoption": "<Alles>"
|
||||
"emptyoption": L("mgt_all")
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ model_reservationconsumables =
|
||||
"reservation": { dbs: "res_rsv_ruimte_key", typ: "key", filter: "exact", foreign: "res_rsv_ruimte" },
|
||||
"consumable" : { dbs: "res_artikel_key", typ: "key", filter: "exact", foreign: "res_artikel" },
|
||||
"amount" : { dbs: "res_rsv_artikel_aantal", typ: "number"},
|
||||
"status" : { dbs: "res_status_bo_key", typ: "number", filter: "exact", foreign: status_bo },
|
||||
"status" : { dbs: "res_status_bo_key", typ: "key", filter: "exact", foreign: status_bo },
|
||||
"from" : { dbs: "res_rsv_artikel_levering", typ: "time", filter: "exact" },
|
||||
//: "to" { dbs: "res_rsv_artikel_tot", typ: "date" },
|
||||
"price" : { dbs: "res_rsv_artikel_prijs", typ: "float", "iscurrency": true },
|
||||
|
||||
Reference in New Issue
Block a user