AKZA#57860 Achteraf wijzigen van ingevoerde ritten lukt niet
svn path=/Website/branches/v2019.1/; revision=42607
This commit is contained in:
@@ -546,7 +546,8 @@ else // update
|
||||
// Hardness controle schrijfrechten
|
||||
user.auth_required_or_abort(this_res.canChange || this_res.canChangeFEExtended);
|
||||
|
||||
if (restype == "R") {
|
||||
if (restype == "R" && urole == "fe")
|
||||
{
|
||||
var discipline_expire = res.discipline_expire(disc_key, (S("res_247organisation")==1?2:0));
|
||||
if (date_from < discipline_expire.addFloatHours(0)) // addFloatHours rond af naar voorgaande kwartier
|
||||
abort_with_warning(L("lcl_res_lastmin")); // te laat
|
||||
|
||||
Reference in New Issue
Block a user