-
-
Save yougotashovel/3f51a9dbd4cd7a8f228387f9ef0f2b9f to your computer and use it in GitHub Desktop.
Rental and Purchase Lifecycle v3
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
Rental and Purchase Lifecycle v3 | |
Potential Transaction | |
collectorRentalRequest -> Pending Artist Rental Approval | |
collectorPurchaseRequest -> Pending Artist Purchase Approval | |
Rental Negotiation | |
Pending Artist Rental Approval | |
artistDecline -> Rental Declined | |
artistAccept -> Pending Rental Handoff | |
artistChange -> Pending Collector Rental Approval | |
collectorCancel -> Rental Cancelled | |
requestExpire -> Rental Expired | |
Pending Collector Rental Approval | |
collectorCancel -> Rental Cancelled | |
collectorAccept -> Pending Rental Handoff | |
collectorChange -> Pending Artist Rental Approval | |
Rental Handoff Failed | |
artistDecline -> Rental Declined | |
collectorCancel -> Rental Cancelled | |
artistSuggest -> Pending Collector Rental Approval | |
collectorSuggest -> Pending Artist Rental Approval | |
Rental Handoff | |
Pending Rental Handoff | |
artistConfirm -> Artist Confirmed Rental Handoff | |
collectorConfirm -> Collector Confirmed Rental Handoff | |
artistDeny -> Artist Denied Rental Handoff | |
collectorDeny -> Collector Denied Rental Handoff | |
Artist Confirmed Rental Handoff | |
collectorConfirm -> Renting | |
collectorDeny -> Dispute Over Rental Handoff | |
Collector Confirmed Rental Handoff | |
artistConfirm -> Renting | |
artistDeny -> Dispute Over Rental Handoff | |
Artist Denied Rental Handoff | |
collectorConfirm -> Dispute Over Rental Handoff | |
collectorDeny -> Rental Handoff Failed | |
Collector Denied Rental Handoff | |
artistConfirm -> Dispute Over Rental Handoff | |
artistDeny -> Rental Handoff Failed | |
Dispute Over Rental Handoff | |
adminDecideHandoffOccurred -> Renting | |
adminDecideHandoffFailed -> Rental Handoff Failed | |
Rental Active | |
Renting | |
collectorExtend -> Pending Artist Extension Approval | |
collectorPurchase -> Pending Artist Purchase Approval from Renting | |
collectorSuggestReturn -> Return Pending Artist Approval | |
artistSuggestReturn -> Return Pending Collector Approval | |
Pending Artist Extension Approval | |
artistAccept -> Renting | |
artistDecline -> Renting | |
Return Handoff Failed | |
collectorExtend -> Pending Artist Extension Approval | |
collectorPurchase -> Purchase Complete | |
collectorSuggestReturn -> Return Pending Artist Approval | |
artistSuggestReturn -> Return Pending Collector Approval | |
Return Negotiation | |
Return Pending Artist Approval | |
artistAccept -> Pending Return Handoff | |
artistChange -> Return Pending Collector Approval | |
Return Pending Collector Approval | |
collectorAccept -> Pending Return Handoff | |
collectorChange -> Return Pending Artist Approval | |
Pending Artist Extension Approval with Return in Place | |
artistAccept -> Renting | |
artistDecline -> Pending Return Handoff | |
Return Handoff | |
Pending Return Handoff | |
artistConfirm -> Artist Confirmed Return Handoff | |
collectorConfirm -> Collector Confirmed Return Handoff | |
artistDeny -> Artist Denied Return Handoff | |
collectorDeny -> Collector Denied Return Handoff | |
collectorExtend -> Pending Artist Extension Approval with Return in Place | |
collectorPurchase -> Pending Artist Purchase Approval from Return | |
Artist Confirmed Return Handoff | |
collectorConfirm -> Return Complete | |
collectorDeny -> Dispute Over Return Handoff | |
Collector Confirmed Return Handoff | |
artistConfirm -> Return Complete | |
artistDeny -> Dispute Over Return Handoff | |
Artist Denied Return Handoff | |
collectorConfirm -> Dispute Over Return Handoff | |
collectorDeny -> Return Handoff Failed | |
Collector Denied Return Handoff | |
artistConfirm -> Dispute Over Return Handoff | |
artistDeny -> Return Handoff Failed | |
Dispute Over Return Handoff | |
adminDecideHandoffOccurred -> Return Complete | |
adminDecideHandoffFailed -> Return Handoff Failed | |
Purchase Negotiation | |
Pending Artist Purchase Approval | |
artistDecline -> Purchase Declined | |
artistAccept -> Purchase Complete but Pending Handoff Negotiation | |
requestExpire -> Purchase Expired | |
Pending Artist Purchase Approval from Renting | |
artistDecline -> Renting | |
artistAccept -> Purchase Complete | |
requestExpire -> Renting | |
Pending Artist Purchase Approval from Return | |
artistDecline -> Pending Return Handoff | |
artistAccept -> Purchase Complete | |
requestExpire -> Pending Return Handoff | |
Purchase Handoff Negotiation | |
Purchase Complete but Pending Handoff Negotiation | |
collectorSuggestHandoff -> Purchase Complete Pending Artist Handoff Approval | |
artistSuggestHandoff -> Purchase Complete Pending Collector Handoff Approval | |
Purchase Complete Pending Artist Handoff Approval | |
artistAccept -> Pending Purchase Handoff | |
artistChange -> Purchase Complete Pending Collector Handoff Approval | |
Purchase Complete Pending Collector Handoff Approval | |
collectorAccept -> Pending Purchase Handoff | |
collectorChange -> Purchase Complete Pending Artist Handoff Approval | |
Purchase Handoff Failed | |
collectorSuggestHandoff -> Purchase Complete Pending Artist Handoff Approval | |
artistSuggestHandoff -> Purchase Complete Pending Collector Handoff Approval | |
Purchase Handoff | |
Pending Purchase Handoff | |
artistConfirm -> Artist Confirmed Purchase Handoff | |
collectorConfirm -> Collector Confirmed Purchase Handoff | |
artistDeny -> Artist Denied Purchase Handoff | |
collectorDeny -> Collector Denied Purchase Handoff | |
Artist Confirmed Purchase Handoff | |
collectorConfirm -> Purchase Complete | |
collectorDeny -> Dispute Over Purchase Handoff | |
Collector Confirmed Purchase Handoff | |
artistConfirm -> Purchase Complete | |
artistDeny -> Dispute Over Purchase Handoff | |
Artist Denied Purchase Handoff | |
collectorConfirm -> Dispute Over Purchase Handoff | |
collectorDeny -> Purchase Handoff Failed | |
Collector Denied Purchase Handoff | |
artistConfirm -> Dispute Over Purchase Handoff | |
artistDeny -> Purchase Handoff Failed | |
Dispute Over Purchase Handoff | |
adminDecideHandoffOccurred -> Purchase Complete | |
adminDecideHandoffFailed -> Purchase Handoff Failed | |
Rental Cancelled | |
Rental Declined | |
Rental Expired | |
Return Complete | |
Purchase Cancelled | |
Purchase Declined | |
Purchase Expired | |
Purchase 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