Skip to content

Instantly share code, notes, and snippets.

@twopoint718
Created April 11, 2019 15:47
Show Gist options
  • Save twopoint718/0a92124a9c4178290d1e72e56a501b63 to your computer and use it in GitHub Desktop.
Save twopoint718/0a92124a9c4178290d1e72e56a501b63 to your computer and use it in GitHub Desktop.
Batch Open
Batch Open
1 closeout -> 2 Cash Drop In-Progress
2 Cash Drop In-Progress
next -> 3 Printing All-Debts Receipt
3 Printing All-Debts Receipt
next -> 3 Printing Total-Tendered Receipt
3 Printing Total-Tendered Receipt
print error -> Error
4 next -> 5 Check Listing Screen
5 Check Listing Screen
6 next -> 8 Printing Check Report
7 cashier does not verify -> Log Missing Checks
Log Missing Checks
next -> 8 Printing Check Report
8 Printing Check Report
9 next -> 10 Credit Card Listing Screen
10 Credit Card Listing Screen
11 next -> 13 Printing CC Report
12 cashier does not verify -> Log Missing CCs
Log Missing CCs
next -> 13 Printing CC Report
13 Printing CC Report
print error -> Error
14 next -> 15 Summary Page
15 Summary Page
supervisor verifies -> Batch Closed
16 reset batch -> Batch Open
Batch Closed
Error
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