NYBU#38812 waarschuwing voor back office niet tonen (expire)
svn path=/Website/trunk/; revision=38063
This commit is contained in:
@@ -183,7 +183,7 @@ function make_cat(discipline_key, rsv_ruimte_key, existing_only, res_artikel_key
|
||||
|
||||
oRs = Oracle.Execute(sql);
|
||||
|
||||
if ( !((res_van < res.discipline_expire(discipline_key)) || (res_van < res.discipline_expire(discipline_key) && S("res_suppress_warnbo") && (urole=="fo"||urole="bo")) ) )
|
||||
if (!backo && res_van < res.discipline_expire(discipline_key))
|
||||
Response.Write(L("lcl_res_warnBO"));
|
||||
%>
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ if (restype == "R")
|
||||
if (urole == "fe") // nieuwe is nooit canChangeFEExtended
|
||||
abort_with_warning(L("lcl_res_lastmin"));
|
||||
else
|
||||
if (urole != "bo")
|
||||
if ( !(urole == "bo" || (urole == "fo" && S("res_suppress_warnbo"))) )
|
||||
warning = L("lcl_res_obj_lastminute");
|
||||
}
|
||||
}
|
||||
@@ -518,7 +518,7 @@ else // update
|
||||
if (this_res.canChangeFEOnly)
|
||||
abort_with_warning(L("lcl_res_lastmin")); // te laat
|
||||
else
|
||||
if (urole != "bo")
|
||||
if ( !(urole == "bo" || (urole == "fo" && S("res_suppress_warnbo"))) )
|
||||
warning = L("lcl_res_obj_lastminute");
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ if (!this_res.canChange)
|
||||
var backo = this_res.canWrite("WEB_RESBOF");
|
||||
var fronto = this_res.canWrite("WEB_RESFOF");
|
||||
|
||||
if ( !((res_van < res.discipline_expire(discipline_key)) || (res_van < res.discipline_expire(discipline_key) && S("res_suppress_warnbo") && (urole=="fo"||urole="bo")) ) )
|
||||
if (urole == 'fo' && res_van < res.discipline_expire(disc_key))
|
||||
Response.Write(L("lcl_res_warnBO"));
|
||||
|
||||
if (urole == "fe")
|
||||
|
||||
Reference in New Issue
Block a user