16 define(
'SUBMISSION_EDITOR_DECISION_INITIAL_DECLINE', 9);
18 define(
'SUBMISSION_EDITOR_RECOMMEND_ACCEPT', 11);
19 define(
'SUBMISSION_EDITOR_RECOMMEND_PENDING_REVISIONS', 12);
20 define(
'SUBMISSION_EDITOR_RECOMMEND_RESUBMIT', 13);
21 define(
'SUBMISSION_EDITOR_RECOMMEND_DECLINE', 14);
34 case WORKFLOW_STAGE_ID_SUBMISSION:
37 case WORKFLOW_STAGE_ID_EXTERNAL_REVIEW:
38 $result = $this->_externalReviewStageDecisions($context, $makeDecision);
40 case WORKFLOW_STAGE_ID_EDITING:
47 array($context, $stageId, &$makeDecision, &$result));
59 '' =>
'common.chooseOne',
60 SUBMISSION_EDITOR_RECOMMEND_PENDING_REVISIONS =>
'editor.submission.decision.requestRevisions',
61 SUBMISSION_EDITOR_RECOMMEND_RESUBMIT =>
'editor.submission.decision.resubmit',
62 SUBMISSION_EDITOR_RECOMMEND_ACCEPT =>
'editor.submission.decision.accept',
63 SUBMISSION_EDITOR_RECOMMEND_DECLINE =>
'editor.submission.decision.decline',
78 SUBMISSION_EDITOR_DECISION_EXTERNAL_REVIEW => array(
79 'operation' =>
'externalReview',
80 'name' =>
'externalReview',
81 'title' =>
'editor.submission.decision.sendExternalReview',
82 'toStage' =>
'editor.review',
86 if ($stageId == WORKFLOW_STAGE_ID_SUBMISSION) {
87 $decisions = $decisions + array(
88 SUBMISSION_EDITOR_DECISION_ACCEPT => array(
90 'operation' =>
'promote',
91 'title' =>
'editor.submission.decision.skipReview',
92 'toStage' =>
'submission.copyediting',
97 $decisions = $decisions + array(
98 SUBMISSION_EDITOR_DECISION_INITIAL_DECLINE => array(
100 'operation' =>
'sendReviews',
101 'title' =>
'editor.submission.decision.decline',
117 SUBMISSION_EDITOR_DECISION_SEND_TO_PRODUCTION => array(
118 'operation' =>
'promote',
119 'name' =>
'sendToProduction',
120 'title' =>
'editor.submission.decision.sendToProduction',
121 'toStage' =>
'submission.production',
132 NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_SUBMISSION,
133 NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_EXTERNAL_REVIEW,
134 NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_EDITING,
135 NOTIFICATION_TYPE_EDITOR_ASSIGNMENT_PRODUCTION