Last active
November 9, 2018 17:39
-
-
Save esmevane/488e7b515cdb32ee6dd891c55a891fd8 to your computer and use it in GitHub Desktop.
Enrollment wizard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enrollment wizard | |
Visitor?* | |
Get prospect id? -> Prospect id request? | |
Has prospect id? -> Prospect details request? | |
Error | |
Return to enrollment -> Visitor? | |
Prospect id request? | |
Success? -> Prospect enrollment | |
Failure? -> Error | |
Prospect details request? | |
Success? -> Prospect enrollment | |
Failure? -> Error | |
Prospect enrollment | |
Basic information* | |
Valid form submit -> Business details | |
Invalid form submit -> Basic information | |
Submit error -> Error | |
Business details | |
Valid form submit -> Your offer | |
Invalid form submit -> Business details | |
Submit error -> Error | |
Your offer | |
Accept offer -> Banking information | |
Banking information | |
Skip form -> Review and edit | |
Valid form submit -> Review and edit | |
Invalid form submit -> Banking information | |
Review and edit | |
Reviewing* | |
Submit without accepting terms -> Review and edit | |
Submit after accepting terms -> Complete | |
Edit basic information -> Editing basic information | |
Edit business details -> Editing business details | |
Edit banking information -> Editing banking information | |
Editing basic information | |
Update valid form -> Review and edit | |
Update invalid form -> Editing basic information | |
Close -> Review and edit | |
Editing business details | |
Update valid form -> Review and edit | |
Update invalid form -> Editing business details | |
Close -> Review and edit | |
Editing banking information | |
Update valid form -> Review and edit | |
Update invalid form -> Editing banking information | |
Close -> Review and edit | |
Complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment