Merge branch 'master' of github.com:easysoft/zentaopms
This commit is contained in:
@@ -2626,6 +2626,7 @@ class storyModel extends model
|
||||
if($action == 'activate') return $story->status == 'closed';
|
||||
if($action == 'assignto') return $story->status != 'closed';
|
||||
if($action == 'batchcreate' and $story->parent > 0) return false;
|
||||
if($action == 'batchcreate' and $story->type == 'requirement') return $story->status != 'draft';
|
||||
if($action == 'batchcreate' and ($story->status != 'active' or $story->stage != 'wait')) return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user