Compare commits
No commits in common. "48e1b02e0e7ef1ec758a7ab1a3c08c34351d587a" and "08ff1056d774433b6f72935751941aa993ba267a" have entirely different histories.
48e1b02e0e
...
08ff1056d7
@ -121,7 +121,6 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountServiceIn
|
|||||||
ls.DbRs.AddLocalFunc("check_transactions", ussdHandlers.CheckTransactions)
|
ls.DbRs.AddLocalFunc("check_transactions", ussdHandlers.CheckTransactions)
|
||||||
ls.DbRs.AddLocalFunc("get_transactions", ussdHandlers.GetTransactionsList)
|
ls.DbRs.AddLocalFunc("get_transactions", ussdHandlers.GetTransactionsList)
|
||||||
ls.DbRs.AddLocalFunc("view_statement", ussdHandlers.ViewTransactionStatement)
|
ls.DbRs.AddLocalFunc("view_statement", ussdHandlers.ViewTransactionStatement)
|
||||||
ls.DbRs.AddLocalFunc("update_all_profile_items", ussdHandlers.UpdateAllProfileItems)
|
|
||||||
|
|
||||||
return ussdHandlers, nil
|
return ussdHandlers, nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
CATCH update_familyname flag_allow_update 1
|
CATCH update_familyname flag_allow_update 1
|
||||||
LOAD get_current_profile_info 0
|
LOAD get_current_profile_info 0
|
||||||
RELOAD get_current_profile_info
|
RELOAD get_current_profile_info
|
||||||
MAP get_current_profile_info
|
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
LOAD save_familyname 64
|
|
||||||
HALT
|
HALT
|
||||||
|
LOAD save_familyname 0
|
||||||
RELOAD save_familyname
|
RELOAD save_familyname
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
CATCH pin_entry flag_familyname_set 1
|
INCMP pin_entry *
|
||||||
INCMP select_gender *
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
CATCH update_firstname flag_allow_update 1
|
CATCH update_firstname flag_allow_update 1
|
||||||
LOAD get_current_profile_info 0
|
LOAD get_current_profile_info 0
|
||||||
RELOAD get_current_profile_info
|
RELOAD get_current_profile_info
|
||||||
MAP get_current_profile_info
|
MAP get_current_profile_info
|
||||||
LOAD save_firstname 128
|
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
HALT
|
HALT
|
||||||
|
LOAD save_firstname 0
|
||||||
RELOAD save_firstname
|
RELOAD save_firstname
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
CATCH pin_entry flag_firstname_set 1
|
INCMP pin_entry *
|
||||||
INCMP edit_family_name *
|
|
||||||
|
|||||||
@ -2,10 +2,9 @@ CATCH incorrect_pin flag_incorrect_pin 1
|
|||||||
CATCH update_location flag_allow_update 1
|
CATCH update_location flag_allow_update 1
|
||||||
LOAD get_current_profile_info 0
|
LOAD get_current_profile_info 0
|
||||||
RELOAD get_current_profile_info
|
RELOAD get_current_profile_info
|
||||||
LOAD save_location 16
|
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
HALT
|
HALT
|
||||||
|
LOAD save_location 0
|
||||||
RELOAD save_location
|
RELOAD save_location
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
CATCH pin_entry flag_location_set 1
|
INCMP pin_entry *
|
||||||
INCMP edit_offerings *
|
|
||||||
|
|||||||
@ -2,10 +2,9 @@ CATCH incorrect_pin flag_incorrect_pin 1
|
|||||||
CATCH update_offerings flag_allow_update 1
|
CATCH update_offerings flag_allow_update 1
|
||||||
LOAD get_current_profile_info 0
|
LOAD get_current_profile_info 0
|
||||||
RELOAD get_current_profile_info
|
RELOAD get_current_profile_info
|
||||||
LOAD save_offerings 8
|
LOAD save_offerings 0
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
HALT
|
HALT
|
||||||
RELOAD save_offerings
|
RELOAD save_offerings
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
CATCH pin_entry flag_offerings_set 1
|
INCMP pin_entry *
|
||||||
INCMP update_profile_items *
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ MOUT edit_offerings 6
|
|||||||
MOUT view 7
|
MOUT view 7
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
HALT
|
HALT
|
||||||
INCMP ^ 0
|
INCMP my_account 0
|
||||||
INCMP edit_first_name 1
|
INCMP edit_first_name 1
|
||||||
INCMP edit_family_name 2
|
INCMP edit_family_name 2
|
||||||
INCMP select_gender 3
|
INCMP select_gender 3
|
||||||
|
|||||||
@ -8,9 +8,7 @@ HALT
|
|||||||
LOAD verify_yob 6
|
LOAD verify_yob 6
|
||||||
RELOAD verify_yob
|
RELOAD verify_yob
|
||||||
CATCH incorrect_date_format flag_incorrect_date_format 1
|
CATCH incorrect_date_format flag_incorrect_date_format 1
|
||||||
LOAD save_yob 32
|
LOAD save_yob 0
|
||||||
RELOAD save_yob
|
RELOAD save_yob
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
CATCH pin_entry flag_yob_set 1
|
INCMP pin_entry *
|
||||||
INCMP edit_location *
|
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,3 @@ flag,flag_admin_privilege,27,this is set when a user has admin privileges.
|
|||||||
flag,flag_unregistered_number,28,this is set when an unregistered phonenumber tries to perform an action
|
flag,flag_unregistered_number,28,this is set when an unregistered phonenumber tries to perform an action
|
||||||
flag,flag_no_transfers,29,this is set when a user does not have any transactions
|
flag,flag_no_transfers,29,this is set when a user does not have any transactions
|
||||||
flag,flag_incorrect_statement,30,this is set when the selected statement is invalid
|
flag,flag_incorrect_statement,30,this is set when the selected statement is invalid
|
||||||
flag,flag_firstname_set,31,this is set when the first name of the profile is set
|
|
||||||
flag,flag_familyname_set,32,this is set when the family name of the profile is set
|
|
||||||
flag,flag_yob_set,33,this is set when the yob of the profile is set
|
|
||||||
flag,flag_gender_set,34,this is set when the gender of the profile is set
|
|
||||||
flag,flag_location_set,35,this is set when the location of the profile is set
|
|
||||||
flag,flag_offerings_set,36,this is set when the offerings of the profile is set
|
|
||||||
|
|||||||
|
@ -1,5 +1,3 @@
|
|||||||
LOAD update_all_profile_items 0
|
|
||||||
RELOAD update_all_profile_items
|
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
MOUT quit 9
|
MOUT quit 9
|
||||||
HALT
|
HALT
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
LOAD save_gender 32
|
LOAD save_gender 0
|
||||||
CATCH incorrect_pin flag_incorrect_pin 1
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
CATCH update_gender flag_allow_update 1
|
CATCH update_gender flag_allow_update 1
|
||||||
CATCH pin_entry flag_gender_set 1
|
MOVE pin_entry
|
||||||
MOVE edit_yob
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
LOAD save_gender 16
|
LOAD save_gender 0
|
||||||
CATCH incorrect_pin flag_incorrect_pin 1
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
CATCH update_gender flag_allow_update 1
|
CATCH update_gender flag_allow_update 1
|
||||||
CATCH pin_entry flag_gender_set 1
|
MOVE pin_entry
|
||||||
MOVE edit_yob
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
LOAD save_gender 8
|
LOAD save_gender 0
|
||||||
CATCH incorrect_pin flag_incorrect_pin 1
|
CATCH incorrect_pin flag_incorrect_pin 1
|
||||||
CATCH update_gender flag_allow_update 1
|
CATCH update_gender flag_allow_update 1
|
||||||
CATCH pin_entry flag_gender_set 1
|
MOVE pin_entry
|
||||||
MOVE edit_yob
|
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
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