VOLK#57540 Bugfix; readofe undefined, nu -> juist juist gedefinieerd
svn path=/Website/branches/v2019.1/; revision=42221
This commit is contained in:
@@ -48,6 +48,8 @@ function make_cat(discipline_key, rsv_ruimte_key, existing_only, res_artikel_key
|
||||
//user.auth_required_or_abort(this_res.canChange);
|
||||
var backo = this_res.canWrite("WEB_RESBOF");
|
||||
var fronto = this_res.canWrite("WEB_RESFOF");
|
||||
var frontend = !fronto && !backo;
|
||||
var readonlyFE = (rsv_ruimte_key != -1 && frontend && !this_res.canChange && this_res.canChangeFEExtended);
|
||||
|
||||
if (!backo && !fronto && res_van < res.discipline_expire(discipline_key))
|
||||
{ %>
|
||||
@@ -285,6 +287,7 @@ function make_cat(discipline_key, rsv_ruimte_key, existing_only, res_artikel_key
|
||||
artikel_key: art_key,
|
||||
rsv_ruimte_key: rsv_ruimte_key,
|
||||
reado: false,
|
||||
readofe: readonlyFE,
|
||||
flexcolumns: S("res_flexcolumns"),
|
||||
requiredbyfield: "inpb_c_" + art_str
|
||||
});
|
||||
|
||||
@@ -49,7 +49,7 @@ function generateFlexKenmerkCodeArt(params)
|
||||
if (my_resrechten.canWrite("WEB_RESFOF") || my_resrechten.canWrite("WEB_RESBOF"))
|
||||
return false; // die mogen altijd
|
||||
|
||||
return readofe; // als ik via de FE-uitzondering binnen ben wordt <100 readonly
|
||||
return params.readofe; // als ik via de FE-uitzondering binnen ben wordt <100 readonly
|
||||
}
|
||||
else if (volgnummer >= 100 && volgnummer <= 800) // FE && FO && BO
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user