This file contains hidden or 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
Billing | |
FetchBilling | |
# context: | |
# addresses: (filtered for tenant) | |
# isFilterd: if empty addresses | |
# billingAddress (prefill: registrationData | profile | cart billingAddress) | |
# selection: uuid | new billing address | |
done -> Guard | |
Guard |
This file contains hidden or 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
Shipping | |
FetchDeliveryAddressService* | |
# context: | |
# addresses: (filtered for tenant) | |
# isFilterd: if addresses filtered | |
# deliveryAddress (prefill: cart billingAddress + deliveryDate => scalar Date) | |
# selection: uuid | new delivery address | useBillingAsShipping | |
# billingAddressApplicable: true | |
done -> Guard |
This file contains hidden or 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}`); | |
} |
OlderNewer