Skip to content

Instantly share code, notes, and snippets.

@RafalFilipek
Created December 20, 2019 13:24
Show Gist options
  • Select an option

  • Save RafalFilipek/994784e9906eba93a6ad8c12a4096108 to your computer and use it in GitHub Desktop.

Select an option

Save RafalFilipek/994784e9906eba93a6ad8c12a4096108 to your computer and use it in GitHub Desktop.
Grupy Ofert*
Grupy Ofert*
WYBÓR GRUPY -> Oferty
Oferty
# Na wejściu
_ENTRY
Tylko jedna oferta w grupie
# Wywołanie akcji
Tak? -> WYBÓR OFERTY
WYBÓR OFERTY*
MOBILE? -> Procesy Mobile
# FIX? -> Procesy Fix
Procesy Mobile
WYBÓR PROCESU*
ACTIVATION? -> Umowy
RETENTION? -> Retention Resolver
Pozostałe -> Autoryzacja
# Tylko zalogowani
Retention Resolver
Niezalogowany? -> Autoryzacja
0 Kontraktów -> Error
# Wybieramy kontrakt
1 Kontrakt -> Umowy
Więcej kontraktów -> Lista numerów
Lista numerów
WYBÓR NUMERU -> Umowy
Autoryzacja
Pozytywna -> Umowy
Negatywna -> Error
Umowy
Dobierz urządzenie -> Redirect Sklep
Dalej
Niezalogowany & Rabaty -> Weryfikacja
Domyślnie -> Podsumowanie Mobile
Podsumowanie Mobile
Dobierz kartę -> Procesy Mobile
Do koszyka -> Redirect Sklep
Weryfikacja
# Do sprawdzenia jaka jest prawidłowa logika
Pozytywna -> Redirect Sklep
Negatywna -> Error
Error
VOICE_ACTIVATION_E234 -> Oferty
Redirect Sklep
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