FSN#47247 Betere authorisatie API flexbijlagen
svn path=/Website/branches/v2017.2/; revision=36150
This commit is contained in:
@@ -168,7 +168,7 @@ function model_bes_kenmerk(params)
|
|||||||
|
|
||||||
this.getPropertyType = function (kenmerkdata)
|
this.getPropertyType = function (kenmerkdata)
|
||||||
{
|
{
|
||||||
var typedata = api2.GET(new model_bes_srtkenmerk(), kenmerkdata.orderpropertytype.id);
|
var typedata = api2.GET(new model_bes_srtkenmerk({internal: params.internal}), kenmerkdata.orderpropertytype.id);
|
||||||
return typedata;
|
return typedata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ function model_bes_srtkenmerk()
|
|||||||
this.table = "bes_srtkenmerk";
|
this.table = "bes_srtkenmerk";
|
||||||
this.primary = "bes_srtkenmerk_key";
|
this.primary = "bes_srtkenmerk_key";
|
||||||
this.soft_delete = "bes_srtkenmerk_verwijder";
|
this.soft_delete = "bes_srtkenmerk_verwijder";
|
||||||
this.autfunction = "WEB_BESMGT";
|
this.autfunction = params.internal?false:"WEB_BESMGT";
|
||||||
this.record_title = L("bes_srtkenmerk");
|
this.record_title = L("bes_srtkenmerk");
|
||||||
this.records_title = L("bes_srtkenmerk_m");
|
this.records_title = L("bes_srtkenmerk_m");
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ function model_cnt_kenmerk(params)
|
|||||||
|
|
||||||
this.getPropertyType = function (kenmerkdata)
|
this.getPropertyType = function (kenmerkdata)
|
||||||
{
|
{
|
||||||
var typedata = api2.GET(new model_cnt_srtkenmerk(), kenmerkdata.contractpropertytype.id);
|
var typedata = api2.GET(new model_cnt_srtkenmerk({internal: params.internal}), kenmerkdata.contractpropertytype.id);
|
||||||
return typedata;
|
return typedata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ function model_cnt_srtkenmerk()
|
|||||||
this.table = "cnt_srtkenmerk";
|
this.table = "cnt_srtkenmerk";
|
||||||
this.primary = "cnt_srtkenmerk_key";
|
this.primary = "cnt_srtkenmerk_key";
|
||||||
this.soft_delete = "cnt_srtkenmerk_verwijder";
|
this.soft_delete = "cnt_srtkenmerk_verwijder";
|
||||||
this.autfunction = "WEB_CNTMGT";
|
this.autfunction = params.internal?false:"WEB_CNTMGT";
|
||||||
this.record_title = L("cnt_srtkenmerk");
|
this.record_title = L("cnt_srtkenmerk");
|
||||||
this.records_title = L("cnt_srtkenmerk_m");
|
this.records_title = L("cnt_srtkenmerk_m");
|
||||||
|
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ function model_ins_kenmerk(niveau, params)
|
|||||||
|
|
||||||
this.getPropertyType = function (kenmerkdata)
|
this.getPropertyType = function (kenmerkdata)
|
||||||
{
|
{
|
||||||
var typedata = api2.GET(new model_ins_srtkenmerk(), kenmerkdata.objectpropertytype.id);
|
var typedata = api2.GET(new model_ins_srtkenmerk({internal: params.internal}), kenmerkdata.objectpropertytype.id);
|
||||||
return typedata;
|
return typedata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ function model_ins_srtkenmerk()
|
|||||||
this.table = "ins_srtkenmerk";
|
this.table = "ins_srtkenmerk";
|
||||||
this.primary = "ins_srtkenmerk_key";
|
this.primary = "ins_srtkenmerk_key";
|
||||||
this.soft_delete = "ins_srtkenmerk_verwijder";
|
this.soft_delete = "ins_srtkenmerk_verwijder";
|
||||||
this.autfunction = "WEB_INSMGT";
|
this.autfunction = params.internal?false:"WEB_INSMGT";
|
||||||
this.record_title = L("ins_srtkenmerk");
|
this.record_title = L("ins_srtkenmerk");
|
||||||
this.records_title = L("ins_srtkenmerk_m");
|
this.records_title = L("ins_srtkenmerk_m");
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ function model_res_kenmerk(params)
|
|||||||
|
|
||||||
this.getPropertyType = function (kenmerkdata)
|
this.getPropertyType = function (kenmerkdata)
|
||||||
{
|
{
|
||||||
var typedata = api2.GET(new model_res_srtkenmerk(), kenmerkdata.bookingpropertytype.id);
|
var typedata = api2.GET(new model_res_srtkenmerk({internal: params.internal}), kenmerkdata.bookingpropertytype.id);
|
||||||
return typedata;
|
return typedata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ function model_res_srtkenmerk()
|
|||||||
this.table = "res_srtkenmerk";
|
this.table = "res_srtkenmerk";
|
||||||
this.primary = "res_srtkenmerk_key";
|
this.primary = "res_srtkenmerk_key";
|
||||||
this.soft_delete = "res_srtkenmerk_verwijder";
|
this.soft_delete = "res_srtkenmerk_verwijder";
|
||||||
this.autfunction = "WEB_RESMGT";
|
this.autfunction = params.internal?false:"WEB_RESMGT";
|
||||||
this.record_title = L("mgt_srtkenmerk");
|
this.record_title = L("mgt_srtkenmerk");
|
||||||
this.records_title = L("mgt_srtkenmerk_m");
|
this.records_title = L("mgt_srtkenmerk_m");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user