Skip to content

Commit

Permalink
pkp/pkp-lib#10598 Expose add internal/external review round decisions…
Browse files Browse the repository at this point in the history
… for OMP
  • Loading branch information
jardakotesovec committed Nov 28, 2024
1 parent 65733ed commit 1a07b8d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions classes/submission/maps/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use APP\decision\types\AcceptFromInternal;
use APP\decision\types\CancelInternalReviewRound;
use APP\decision\types\DeclineInternal;
use APP\decision\types\NewInternalReviewRound;
use APP\decision\types\RequestRevisionsInternal;
use APP\decision\types\RevertDeclineInternal;
use APP\decision\types\SendExternalReview;
Expand All @@ -35,7 +36,9 @@
use PKP\decision\types\CancelReviewRound;
use PKP\decision\types\Decline;
use PKP\decision\types\InitialDecline;
use PKP\decision\types\NewExternalReviewRound;
use PKP\decision\types\RequestRevisions;
use PKP\decision\types\Resubmit;
use PKP\decision\types\RevertDecline;
use PKP\decision\types\RevertInitialDecline;
use PKP\decision\types\SendToProduction;
Expand Down Expand Up @@ -179,6 +182,8 @@ protected function getAvailableEditorialDecisions(int $stageId, Submission $subm
new RequestRevisionsInternal(),
new SendExternalReview(),
new AcceptFromInternal(),
new NewInternalReviewRound()

];
$cancelInternalReviewRound = new CancelInternalReviewRound();

Expand All @@ -196,7 +201,10 @@ protected function getAvailableEditorialDecisions(int $stageId, Submission $subm
case WORKFLOW_STAGE_ID_EXTERNAL_REVIEW:
$decisionTypes = [
new RequestRevisions(),
new Resubmit(),
new Accept(),
new NewExternalReviewRound()

];

$cancelReviewRound = new CancelReviewRound();
Expand Down

0 comments on commit 1a07b8d

Please sign in to comment.