forked from urdt/ussd
allow all item profile edit
This commit is contained in:
parent
3e0bbe5ffe
commit
48e1b02e0e
@ -1,10 +1,11 @@
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_familyname flag_allow_update 1
|
||||
LOAD get_current_profile_info 0
|
||||
RELOAD get_current_profile_info
|
||||
MAP get_current_profile_info
|
||||
MOUT back 0
|
||||
LOAD save_familyname 64
|
||||
HALT
|
||||
LOAD save_familyname 0
|
||||
RELOAD save_familyname
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
CATCH pin_entry flag_familyname_set 1
|
||||
INCMP select_gender *
|
||||
|
@ -1,11 +1,11 @@
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_firstname flag_allow_update 1
|
||||
LOAD get_current_profile_info 0
|
||||
RELOAD get_current_profile_info
|
||||
MAP get_current_profile_info
|
||||
LOAD save_firstname 128
|
||||
MOUT back 0
|
||||
HALT
|
||||
LOAD save_firstname 0
|
||||
RELOAD save_firstname
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
CATCH pin_entry flag_firstname_set 1
|
||||
INCMP edit_family_name *
|
||||
|
@ -2,9 +2,10 @@ CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_location flag_allow_update 1
|
||||
LOAD get_current_profile_info 0
|
||||
RELOAD get_current_profile_info
|
||||
LOAD save_location 16
|
||||
MOUT back 0
|
||||
HALT
|
||||
LOAD save_location 0
|
||||
RELOAD save_location
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
CATCH pin_entry flag_location_set 1
|
||||
INCMP edit_offerings *
|
||||
|
@ -2,9 +2,10 @@ CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_offerings flag_allow_update 1
|
||||
LOAD get_current_profile_info 0
|
||||
RELOAD get_current_profile_info
|
||||
LOAD save_offerings 0
|
||||
LOAD save_offerings 8
|
||||
MOUT back 0
|
||||
HALT
|
||||
RELOAD save_offerings
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
CATCH pin_entry flag_offerings_set 1
|
||||
INCMP update_profile_items *
|
||||
|
@ -11,7 +11,7 @@ MOUT edit_offerings 6
|
||||
MOUT view 7
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP my_account 0
|
||||
INCMP ^ 0
|
||||
INCMP edit_first_name 1
|
||||
INCMP edit_family_name 2
|
||||
INCMP select_gender 3
|
||||
|
@ -8,7 +8,9 @@ HALT
|
||||
LOAD verify_yob 6
|
||||
RELOAD verify_yob
|
||||
CATCH incorrect_date_format flag_incorrect_date_format 1
|
||||
LOAD save_yob 0
|
||||
LOAD save_yob 32
|
||||
RELOAD save_yob
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
CATCH pin_entry flag_yob_set 1
|
||||
INCMP edit_location *
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
LOAD update_all_profile_items 0
|
||||
RELOAD update_all_profile_items
|
||||
MOUT back 0
|
||||
MOUT quit 9
|
||||
HALT
|
||||
|
@ -1,4 +1,5 @@
|
||||
LOAD save_gender 0
|
||||
LOAD save_gender 32
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_gender flag_allow_update 1
|
||||
MOVE pin_entry
|
||||
CATCH pin_entry flag_gender_set 1
|
||||
MOVE edit_yob
|
||||
|
@ -1,4 +1,5 @@
|
||||
LOAD save_gender 0
|
||||
LOAD save_gender 16
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_gender flag_allow_update 1
|
||||
MOVE pin_entry
|
||||
CATCH pin_entry flag_gender_set 1
|
||||
MOVE edit_yob
|
||||
|
@ -1,4 +1,5 @@
|
||||
LOAD save_gender 0
|
||||
LOAD save_gender 8
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH update_gender flag_allow_update 1
|
||||
MOVE pin_entry
|
||||
CATCH pin_entry flag_gender_set 1
|
||||
MOVE edit_yob
|
||||
|
3
services/registration/update_profile_items.vis
Normal file
3
services/registration/update_profile_items.vis
Normal file
@ -0,0 +1,3 @@
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
CATCH profile_update_success flag_allow_update 1
|
||||
MOVE pin_entry
|
Loading…
Reference in New Issue
Block a user