Skip to content

Commit

Permalink
Initial commit of Mostly Static Pages (CFM-62), InvitationAccepter (C…
Browse files Browse the repository at this point in the history
…FM-334) and UpsertTrait (CFM-423)
  • Loading branch information
Benn Oshrin authored and arlen committed Dec 19, 2024
1 parent 8cac2d9 commit aa3b03b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 174 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ public function prepare(
$petition->status = PetitionStatusEnum::PendingAcceptance;

$Petitions->saveOrFail($petition);

// Record history
$Petitions->PetitionHistoryRecords->record(
petitionId: $petition->id,
enrollmentFlowStepId: $step->id,
action: PetitionActionEnum::InvitationViewed,
comment: __d('result', 'Petitions.viewed.inv')
// actorPersonId
);
}

return true;
Expand Down

0 comments on commit aa3b03b

Please sign in to comment.