Skip to content

Commit

Permalink
Ensure a title exists on Petition start, dispatch, and resume (CFM-31) (
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Dec 19, 2024
1 parent 530887e commit 65f3e68
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ public function dispatch(string $id) {
->find()
->where(['petition_id' => $petition->id])
->all());

// Get the title
// XXX Replace $petition->enrollment_flow_id with the Enrollment Flow "Name" (for now)
// XXX We should have a "Title" for end-users that is different from the Enrollment Flow "Name"
// for start and dispatch.
$this->set('vv_title', $petition->enrollment_flow_id);

$this->render('/Standard/dispatch');
}
Expand Down

0 comments on commit 65f3e68

Please sign in to comment.