diff --git a/services/registration/edit_familyname_menu b/services/registration/edit_familyname_menu new file mode 100644 index 0000000..21a9033 --- /dev/null +++ b/services/registration/edit_familyname_menu @@ -0,0 +1 @@ +Edit family name \ No newline at end of file diff --git a/services/registration/edit_profile.vis b/services/registration/edit_profile.vis index 566b827..6c1986f 100644 --- a/services/registration/edit_profile.vis +++ b/services/registration/edit_profile.vis @@ -2,19 +2,21 @@ LOAD reset_account_authorized 16 LOAD reset_allow_update 0 RELOAD reset_allow_update MOUT edit_name 1 -MOUT edit_gender 2 -MOUT edit_yob 3 -MOUT edit_location 4 -MOUT edit_offerings 5 -MOUT view 6 +MOUT edit_familyname 2 +MOUT edit_gender 3 +MOUT edit_yob 4 +MOUT edit_location 5 +MOUT edit_offerings 6 +MOUT view 7 MOUT back 0 HALT -INCMP _ 0 +INCMP my_account 0 LOAD set_reset_single_edit 0 RELOAD set_reset_single_edit INCMP enter_name 1 -INCMP select_gender 2 -INCMP enter_yob 3 -INCMP enter_location 4 -INCMP enter_offerings 5 -INCMP view_profile 6 +INCMP enter_familyname 2 +INCMP select_gender 3 +INCMP enter_yob 4 +INCMP enter_location 5 +INCMP enter_offerings 6 +INCMP view_profile 7 diff --git a/services/registration/enter_familyname.vis b/services/registration/enter_familyname.vis index 93def9b..b9fe7b0 100644 --- a/services/registration/enter_familyname.vis +++ b/services/registration/enter_familyname.vis @@ -1,5 +1,9 @@ -LOAD save_firstname 0 +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_familyname 0 +RELOAD save_familyname MOUT back 0 HALT +RELOAD save_familyname INCMP _ 0 -INCMP select_gender * +INCMP pin_entry * diff --git a/services/registration/enter_location.vis b/services/registration/enter_location.vis index 00bed3d..fdd29ce 100644 --- a/services/registration/enter_location.vis +++ b/services/registration/enter_location.vis @@ -1,9 +1,8 @@ -CATCH incorrect_date_format flag_incorrect_date_format 1 -LOAD save_yob 0 -CATCH update_success flag_allow_update 1 +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_location 0 MOUT back 0 HALT +RELOAD save_location INCMP _ 0 -LOAD save_location 0 -CATCH pin_entry flag_single_edit 1 -INCMP enter_offerings * +INCMP pin_entry * diff --git a/services/registration/enter_name.vis b/services/registration/enter_name.vis index 4126f07..563577e 100644 --- a/services/registration/enter_name.vis +++ b/services/registration/enter_name.vis @@ -1,4 +1,12 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_firstname 0 +RELOAD save_firstname MOUT back 0 HALT +RELOAD save_firstname INCMP _ 0 -INCMP enter_familyname * +INCMP pin_entry * + + + diff --git a/services/registration/enter_offerings.vis b/services/registration/enter_offerings.vis index e590321..26e4b61 100644 --- a/services/registration/enter_offerings.vis +++ b/services/registration/enter_offerings.vis @@ -1,8 +1,8 @@ -LOAD save_location 0 CATCH incorrect_pin flag_incorrect_pin 1 -CATCH update_success flag_allow_update 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_offerings 0 MOUT back 0 HALT -LOAD save_offerings 0 +RELOAD save_offerings INCMP _ 0 INCMP pin_entry * diff --git a/services/registration/enter_yob.vis b/services/registration/enter_yob.vis index 3b27846..40bf3f4 100644 --- a/services/registration/enter_yob.vis +++ b/services/registration/enter_yob.vis @@ -1,9 +1,10 @@ -LOAD save_gender 0 -CATCH update_success flag_allow_update 1 +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_yob 0 MOUT back 0 HALT +LOAD verify_yob 0 +CATCH incorrect_date_format flag_incorrect_date_format 1 +RELOAD save_yob INCMP _ 0 -LOAD verify_yob 8 -LOAD save_yob 0 -CATCH pin_entry flag_single_edit 1 -INCMP enter_location * +INCMP pin_entry * diff --git a/services/registration/my_account.vis b/services/registration/my_account.vis index 7df0ef7..43ee6a2 100644 --- a/services/registration/my_account.vis +++ b/services/registration/my_account.vis @@ -7,7 +7,7 @@ MOUT pin_options 5 MOUT my_address 6 MOUT back 0 HALT -INCMP _ 0 +INCMP main 0 INCMP edit_profile 1 INCMP change_language 2 INCMP balances 3 diff --git a/services/registration/profile_update_success b/services/registration/profile_update_success new file mode 100644 index 0000000..2bcb2ae --- /dev/null +++ b/services/registration/profile_update_success @@ -0,0 +1 @@ +Profile information updated successfully diff --git a/services/registration/profile_update_success.vis b/services/registration/profile_update_success.vis new file mode 100644 index 0000000..a035093 --- /dev/null +++ b/services/registration/profile_update_success.vis @@ -0,0 +1,5 @@ +MOUT back 0 +MOUT quit 9 +HALT +INCMP edit_profile 0 +INCMP quit 9 diff --git a/services/registration/select_gender.vis b/services/registration/select_gender.vis index dd354fc..25e53d3 100644 --- a/services/registration/select_gender.vis +++ b/services/registration/select_gender.vis @@ -1,13 +1,13 @@ -LOAD save_familyname 0 -CATCH update_success flag_allow_update 1 +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH profile_update_success flag_allow_update 1 +LOAD save_gender 0 MOUT male 1 MOUT female 2 MOUT unspecified 3 MOUT back 0 HALT -LOAD save_gender 0 -CATCH pin_entry flag_single_edit 1 +RELOAD save_gender INCMP _ 0 -INCMP enter_yob 1 -INCMP enter_yob 2 -INCMP enter_yob 3 +INCMP pin_entry * + +