Skip to content

Instantly share code, notes, and snippets.

@ssippe
Last active March 25, 2019 03:21
Show Gist options
  • Save ssippe/ae6d1f5b2ae1153102e9fa5c6accbc78 to your computer and use it in GitHub Desktop.
Save ssippe/ae6d1f5b2ae1153102e9fa5c6accbc78 to your computer and use it in GitHub Desktop.
Quote Listing*
Quote Listing*
New Quote -> New Quote Wizard
Select Quote -> Estimation View Mode?
Search -> Quote Listing
Estimation View Mode?
is accepted? -> Accepted Quote
is created? -> Created Quote
else -> Draft Quote
New Quote Wizard
Home -> Quote Listing
New Quote -> New Quote Wizard
Town Step
Select Town -> Standard Category Step
Standard Category Step
Select Category -> Standard Step
Standard Step
Select Standard -> Colour Step
Colour Step
Select Colour -> Draft Quote
Estimation View
Home -> Quote Listing
New Quote -> New Quote Wizard
View BOM -> View Doc
Colour Selector -> Colour Selector
Draft Quote
Create Quote -> Create Quote Wizard
Saved Quote
View Quote Letter -> View Doc
Created Quote
Accept Quote -> Missing Required Details?
Change Quote -> Draft Quote
Accepted Quote
Change Quote -> Draft Quote
Edit BOM -> Accepted Quote
View Plans -> View Doc
View Detailed BOM -> View Doc
Generate Plans -> Accepted Quote
Generate Detailed BOM -> Accepted Quote
View Doc
close -> Estimation View Mode?
Colour Selector
close -> Estimation View Mode?
Create Quote Wizard
close -> Draft Quote
Client Details Step
next -> Send Options Step
Send Options Step
send quote -> Created Quote
Accept Quote Wizard - NEW
Missing Required Details?
yes? -> Required Details Message
no? -> Accepted Quote
Required Details Message
Colour Selector -> Colour Selector
close -> Created Quote
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