MARX#56163: Afmelden op mld_opdr lukt niet in Mareon na accepteren.

svn path=/Website/branches/v2018.2/; revision=40721
This commit is contained in:
Maykel Geerdink
2019-01-30 08:48:42 +00:00
parent 9fc7f864ea
commit 5572f58fe2

View File

@@ -4179,7 +4179,7 @@ mld = {setmeldingstatus:
!is_planned_action;
mresult.canOnderbreken = (mld_opdr.typeopdr_sequential&1)==1 && mresult.canCloseRights && mld_opdr.opdr_status == 8 && mld_opdr.halted!=1;
mresult.canHervatten = mresult.canCloseRights && mld_opdr.opdr_status == 8 && mld_opdr.halted==1; /* && (sequential&1)==1 would be logical but halted will do */
mresult.canClose = mresult.canCloseRights && !mresult.canHervatten;
mresult.canClose = mresult.canCloseRights; // Afmelden is onafhankelijk van Onderbreken of Hervatten (XXXX#56163);
mresult.canCopy = (mresult.canWrite("WEB_ORDBOF") && !is_planned_action && !mld_opdr.mld_afgerond);
mresult.canVeldChange = (mresult.canWrite("WEB_ORDBOF") ||
(mresult.canWrite("WEB_ORDBO2") && myBO2FieldChange));