Files
Facilitor/APPL/API2/model_issues_mini.inc
Jos Groot Lipman 703c12a1cd KFNS#86575 Toevoegen gegevens van plaats en melder bij benaderen orders via REST
svn path=/Website/trunk/; revision=67937
2025-02-11 14:08:22 +00:00

36 lines
1.6 KiB
PHP

<% /*
$Revision$
$Id$
File: model_issues_mini.inc
Description: Melding mini model
Parameters:
Context: Minimaal aantal velden. Puur voor 'include' bij model_mld_opdr.inc
Notes:
*/
%>
<%
function model_issues_mini(mld_key)
{
this.module = "MLD";
this.table = "mld_melding";
this.primary = "mld_melding_key";
this.records_name = "issues";
this.record_name = "issue";
this.fields =
{
"id" : { dbs: "mld_melding_key", typ: "key" },
"contact" : { dbs: "prs_perslid_key", typ: "key", foreign: "prs_perslid", label: L("lcl_mld_name") },
"location" : { dbs: "mld_alg_locatie_key", typ: "key", foreign: "alg_locatie", label: L("lcl_location") },
"building" : { dbs: "alg_v_allonroerendgoed.alg_gebouw_key", typ: "key", foreign: "alg_gebouw", label: L("lcl_building") },
"floor" : { dbs: "alg_v_allonroerendgoed.alg_verdieping_key", typ: "key", foreign: "alg_verdieping", label: L("lcl_floor") },
"room" : { dbs: "alg_v_allonroerendgoed.alg_ruimte_key", typ: "key", foreign: "alg_ruimte", label: L("lcl_room") },
"terrain" : { dbs: "alg_v_allonroerendgoed.alg_terreinsector_key", typ: "key", foreign: "alg_terreinsector", label: L("lcl_room") }
};
}
%>