PCHD#55257 syntaxfout canedit met cntuse en cntuse_can_edit_datum
svn path=/Website/trunk/; revision=41542
This commit is contained in:
@@ -1102,10 +1102,10 @@ cnt = { setcontractstatus:
|
||||
var haveCNTMSUrights = user.checkAutorisation("WEB_CNTMSU", true) != null; // Pas op: disciplineloos dus niet in cresult!
|
||||
cresult.canChangeFlex = (( ((actief || inactief) && cresult.canMANwrite)
|
||||
|| ((!inactief) && S("cnt_contract_approval") == 1 && cresult.canUSEwrite)
|
||||
)
|
||||
)
|
||||
&& (pcnt_contract_key == newestkey)
|
||||
)
|
||||
|| (S("cntuse_can_edit_datum") && this_cnt.canUSEwrite);
|
||||
|| (S("cntuse_can_edit_datum") && cresult.canUSEwrite);
|
||||
cresult.canSplit = cresult.canChangeFlex &&
|
||||
!cnt_info.isAbonnement &&
|
||||
!nieuw;
|
||||
|
||||
Reference in New Issue
Block a user