Skip to content

Commit

Permalink
[TM-951] add status dependencies (#328)
Browse files Browse the repository at this point in the history
* [TM-951] add transition to approved -> restoration in progress

* [TM-951] fix
  • Loading branch information
LimberHope authored Jul 3, 2024
1 parent c40ae5e commit a1d2224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/StateMachines/SiteStatusStateMachine.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public function transitions(): array
$parentTransitions = parent::transitions();

$parentTransitions[self::NEEDS_MORE_INFORMATION][] = self::RESTORATION_IN_PROGRESS;
$parentTransitions[self::APPROVED][] = self::RESTORATION_IN_PROGRESS;

return array_merge(
[
Expand Down

0 comments on commit a1d2224

Please sign in to comment.