Created
March 27, 2019 18:28
-
-
Save gagamil/82fd3d070a5714580f7699d9df49ce43 to your computer and use it in GitHub Desktop.
ShipperOrder
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
ShipperOrder | |
ready -> BBTycoon | |
BBTycoon | |
Work on SOs | |
delivery task created -> DeliveryTask | |
DeliveryTask | |
approve -> BBMinerva | |
cancel -> ShipperOrder | |
manual carrier user assignation -> PendingJob | |
BBMinerva | |
Work on prioritization | |
offers created -> MetaOffer | |
MetaOffer | |
carrier user accepts offer -> PendingJob | |
all carrier users reject offer -> DeliveryTask | |
manager cancels MetaOffer -> DeliveryTask | |
PendingJob | |
executor starts Job -> ShipmentJobInProgress | |
pending job cancelled -> DeliveryTask | |
ShipmentJobInProgress | |
shipment delivery -> JobDelivery | |
standstill -> Standstill | |
incident -> Incident | |
Standstill | |
continue -> ShipmentJobInProgress | |
Incident | |
continue -> ShipmentJobInProgress | |
cancel active job -> DeliveryTask | |
JobDelivery | |
continue -> ShipmentJobInProgress | |
all shipment delivered -> JobTermination | |
JobTermination | |
close paperwork -> JobFinish | |
JobFinish | |
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