17 define(
'SUBMISSION_EDITOR_DECISION_EXTERNAL_REVIEW', 8);
20 define(
'SUBMISSION_EDITOR_DECISION_ACCEPT', 1);
21 define(
'SUBMISSION_EDITOR_DECISION_DECLINE', 4);
24 define(
'SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS', 2);
25 define(
'SUBMISSION_EDITOR_DECISION_RESUBMIT', 3);
26 define(
'SUBMISSION_EDITOR_DECISION_NEW_ROUND', 16);
29 define(
'SUBMISSION_EDITOR_DECISION_SEND_TO_PRODUCTION', 7);
31 import(
'lib.pkp.classes.workflow.PKPEditorDecisionActionsManager');
48 $actionLabels = array();
49 foreach($decisions as $decision) {
50 if ($allDecisionsData[$decision][
'title']) {
51 $actionLabels[$decision] = $allDecisionsData[$decision][
'title'];
68 $editorDecisions = $editDecisionDao->getEditorDecisions($reviewRound->getSubmissionId(), $reviewRound->getStageId(), $reviewRound->getRound());
70 if (empty($decisions)) {
73 $takenDecision =
false;
74 foreach ($editorDecisions as $decision) {
75 if (in_array($decision[
'decision'], $decisions)) {
76 $takenDecision =
true;
81 return $takenDecision;
97 SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS => array(
98 'operation' =>
'sendReviewsInReview',
99 'name' =>
'requestRevisions',
100 'title' =>
'editor.submission.decision.requestRevisions',
102 SUBMISSION_EDITOR_DECISION_RESUBMIT => array(
103 'name' =>
'resubmit',
104 'title' =>
'editor.submission.decision.resubmit',
106 SUBMISSION_EDITOR_DECISION_NEW_ROUND => array(
107 'name' =>
'newround',
108 'title' =>
'editor.submission.decision.newRound',
110 SUBMISSION_EDITOR_DECISION_ACCEPT => array(
111 'operation' =>
'promoteInReview',
113 'title' =>
'editor.submission.decision.accept',
114 'toStage' =>
'submission.copyediting',
115 'paymentType' => $paymentManager->publicationEnabled()?PAYMENT_TYPE_PUBLICATION:
null,
116 'paymentAmount' => $context->getData(
'publicationFee'),
117 'paymentCurrency' => $context->getData(
'currency'),
118 'requestPaymentText' => __(
'payment.requestPublicationFee', array(
'feeAmount' => $context->getData(
'publicationFee') .
' ' . $context->getData(
'currency'))),
119 'waivePaymentText' => __(
'payment.waive'),
121 SUBMISSION_EDITOR_DECISION_DECLINE => array(
122 'operation' =>
'sendReviewsInReview',
124 'title' =>
'editor.submission.decision.decline',