Skip to content

Instantly share code, notes, and snippets.

@deerdear
Last active April 5, 2019 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deerdear/e6318f3587ffbd8fcf45df3151f008fa to your computer and use it in GitHub Desktop.
Save deerdear/e6318f3587ffbd8fcf45df3151f008fa to your computer and use it in GitHub Desktop.
Event
Event
Planning
In progress
Completed
Shipment
DFID responsible
Preparing
Pending agreement
Agree to shipment -> Agreed
Supplier responsible
Agreed
Needs to be manufactured -> Manufacturing
Does not need manufacturing -> In storage
Manufacturing
Complete manufacturing -> In storage
In storage
Start shipment -> In transit
Logistics service provider responsible
In transit
Handover->In transit
Last handover -> Delivered
Implementing partner responsible
Delivered
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