From 12448eeb307c9c6e2e5e42584d52071afbce6952 Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Tue, 28 Mar 2017 10:30:37 +0000 Subject: [PATCH] FSN#38299 Flexkenmerken via de API kunnen bewerken svn path=/Website/trunk/; revision=33284 --- APPL/API2/model_alg_kenmerk.inc | 1 + APPL/API2/model_bes_kenmerk.inc | 2 +- APPL/API2/model_cnt_kenmerk.inc | 2 +- APPL/API2/model_faq_kenmerk.inc | 2 +- APPL/API2/model_fin_kenmerk.inc | 1 + APPL/API2/model_ins_kenmerk.inc | 2 +- APPL/API2/model_mld_kenmerk.inc | 2 +- APPL/API2/model_prs_kenmerk.inc | 2 +- APPL/API2/model_prs_perslid.inc | 1 + APPL/API2/model_res_kenmerk.inc | 2 +- 10 files changed, 10 insertions(+), 7 deletions(-) diff --git a/APPL/API2/model_alg_kenmerk.inc b/APPL/API2/model_alg_kenmerk.inc index 402573b747..7653e28ff0 100644 --- a/APPL/API2/model_alg_kenmerk.inc +++ b/APPL/API2/model_alg_kenmerk.inc @@ -24,6 +24,7 @@ function model_alg_kenmerk(niveau) this.autfunction = "WEB_PRSSYS"; this.record_title = L("alg_kenmerk"); this.records_title = L("alg_kenmerk_m"); + this.module = "ALG"; // overrule titel voor schermen. this.record_title = L("mgt_kenmerk") + " " + get_real_estate_name(niveau); diff --git a/APPL/API2/model_bes_kenmerk.inc b/APPL/API2/model_bes_kenmerk.inc index 5b7c6b90c3..0d358b1fa0 100644 --- a/APPL/API2/model_bes_kenmerk.inc +++ b/APPL/API2/model_bes_kenmerk.inc @@ -23,7 +23,7 @@ function model_bes_kenmerk() this.autfunction = "WEB_BESMGT"; this.record_title = L("bes_kenmerk"); this.records_title = L("bes_kenmerk_m"); - + this.module = "BES"; this.fields = { "id": { diff --git a/APPL/API2/model_cnt_kenmerk.inc b/APPL/API2/model_cnt_kenmerk.inc index 33c512e061..c5df2a658b 100644 --- a/APPL/API2/model_cnt_kenmerk.inc +++ b/APPL/API2/model_cnt_kenmerk.inc @@ -23,7 +23,7 @@ function model_cnt_kenmerk() this.autfunction = "WEB_CNTMGT"; this.record_title = L("cnt_kenmerk"); this.records_title = L("cnt_kenmerk_m"); - + this.module = "CNT"; this.fields = { "id": { diff --git a/APPL/API2/model_faq_kenmerk.inc b/APPL/API2/model_faq_kenmerk.inc index 2174383a10..d88ec7e13e 100644 --- a/APPL/API2/model_faq_kenmerk.inc +++ b/APPL/API2/model_faq_kenmerk.inc @@ -23,7 +23,7 @@ function model_faq_kenmerk() this.autfunction = "WEB_FAQMGT"; this.record_title = L("faq_kenmerk"); this.records_title = L("faq_kenmerk_m"); - + this.module = "FAQ"; this.fields = { "id": { diff --git a/APPL/API2/model_fin_kenmerk.inc b/APPL/API2/model_fin_kenmerk.inc index c3348769a9..143d15177b 100644 --- a/APPL/API2/model_fin_kenmerk.inc +++ b/APPL/API2/model_fin_kenmerk.inc @@ -23,6 +23,7 @@ function model_fin_kenmerk() this.autfunction = "WEB_PRSSYS"; this.record_title = L("fin_kenmerk"); this.records_title = L("fin_kenmerk_m"); + this.module = "FIN"; this.fields = { "id": { diff --git a/APPL/API2/model_ins_kenmerk.inc b/APPL/API2/model_ins_kenmerk.inc index 2f266c36e0..ea99195886 100644 --- a/APPL/API2/model_ins_kenmerk.inc +++ b/APPL/API2/model_ins_kenmerk.inc @@ -24,7 +24,7 @@ function model_ins_kenmerk(fnparams) this.autfunction = "WEB_INSMGT"; this.record_title = L("ins_kenmerk"); this.records_title = L("ins_kenmerk_m"); - + this.module = "INS"; this.fields = { "id": { diff --git a/APPL/API2/model_mld_kenmerk.inc b/APPL/API2/model_mld_kenmerk.inc index bbf20421d5..68f309b576 100644 --- a/APPL/API2/model_mld_kenmerk.inc +++ b/APPL/API2/model_mld_kenmerk.inc @@ -26,7 +26,7 @@ function model_mld_kenmerk() this.autfunction = "WEB_MLDMGT"; this.record_title = L("mld_kenmerk"); this.records_title = L("mld_kenmerk_m"); - + this.module = "MLD"; this.fields = { "id": { diff --git a/APPL/API2/model_prs_kenmerk.inc b/APPL/API2/model_prs_kenmerk.inc index 618b5608fe..d5eedf0ae5 100644 --- a/APPL/API2/model_prs_kenmerk.inc +++ b/APPL/API2/model_prs_kenmerk.inc @@ -24,7 +24,7 @@ function model_prs_kenmerk(niveau) this.autfunction = "WEB_PRSSYS"; this.record_title = L("mgt_kenmerk") + " " + get_prs_naam(niveau); this.records_title = L("mgt_kenmerk_m") + " " + get_prs_naam(niveau); - + this.module = "PRS"; this.fields = { "id": { diff --git a/APPL/API2/model_prs_perslid.inc b/APPL/API2/model_prs_perslid.inc index 6791785546..df3381edf9 100644 --- a/APPL/API2/model_prs_perslid.inc +++ b/APPL/API2/model_prs_perslid.inc @@ -37,6 +37,7 @@ function genderLOV() function model_prs_perslid(params) { + params = params || {}; this.records_name = "persons"; this.record_name = "person"; this.table = "prs_perslid"; diff --git a/APPL/API2/model_res_kenmerk.inc b/APPL/API2/model_res_kenmerk.inc index fd7ae00ba4..83001875ef 100644 --- a/APPL/API2/model_res_kenmerk.inc +++ b/APPL/API2/model_res_kenmerk.inc @@ -22,7 +22,7 @@ function model_res_kenmerk() this.autfunction = "WEB_RESMGT"; this.record_title = L("res_kenmerk"); this.records_title = L("res_kenmerk_m"); - + this.module = "RES"; this.fields = { "id": {