Velden met 'foreign' moeten altijd type "key" zijn

svn path=/Website/trunk/; revision=33543
This commit is contained in:
Jos Groot Lipman
2017-04-19 15:19:56 +00:00
parent 35456f99b4
commit f74ce563c5
3 changed files with 4 additions and 4 deletions

View File

@@ -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": {

View File

@@ -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")
}
};

View File

@@ -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 },