diff --git a/services/registration/credit_send b/services/registration/credit_send new file mode 100644 index 0000000..306466c --- /dev/null +++ b/services/registration/credit_send @@ -0,0 +1 @@ +Enter recipient's phone number/address/alias: \ No newline at end of file diff --git a/services/registration/credit_send.vis b/services/registration/credit_send.vis new file mode 100644 index 0000000..35db249 --- /dev/null +++ b/services/registration/credit_send.vis @@ -0,0 +1,12 @@ +LOAD transaction_reset 0 +RELOAD transaction_reset +CATCH no_voucher flag_no_active_voucher 1 +MOUT back 0 +HALT +LOAD validate_recipient 50 +RELOAD validate_recipient +CATCH api_failure flag_api_call_error 1 +CATCH invalid_recipient flag_invalid_recipient 1 +CATCH invite_recipient flag_invalid_recipient_with_invite 1 +INCMP _ 0 +INCMP credit_amount * diff --git a/services/registration/credit_send_menu b/services/registration/credit_send_menu new file mode 100644 index 0000000..4362df7 --- /dev/null +++ b/services/registration/credit_send_menu @@ -0,0 +1 @@ +Credit-Send \ No newline at end of file diff --git a/services/registration/credit_send_menu_swa b/services/registration/credit_send_menu_swa new file mode 100644 index 0000000..2d8f3c2 --- /dev/null +++ b/services/registration/credit_send_menu_swa @@ -0,0 +1 @@ +Tuma-Mkopo \ No newline at end of file diff --git a/services/registration/credit_send_swa b/services/registration/credit_send_swa new file mode 100644 index 0000000..a44919b --- /dev/null +++ b/services/registration/credit_send_swa @@ -0,0 +1 @@ +Weka nambari ya simu/anwani/lakabu: \ No newline at end of file diff --git a/services/registration/main.vis b/services/registration/main.vis index c48a43d..725aa74 100644 --- a/services/registration/main.vis +++ b/services/registration/main.vis @@ -7,18 +7,20 @@ LOAD check_balance 128 RELOAD check_balance MAP check_balance MOUT send 1 -MOUT swap 2 -MOUT vouchers 3 -MOUT select_pool 4 -MOUT account 5 -MOUT help 6 +MOUT credit_send 2 +MOUT swap 3 +MOUT vouchers 4 +MOUT select_pool 5 +MOUT account 6 +MOUT help 7 MOUT quit 9 HALT INCMP send 1 -INCMP swap_to_list 2 -INCMP my_vouchers 3 -INCMP select_pool 4 -INCMP my_account 5 -INCMP help 6 +INCMP credit_send 2 +INCMP swap_to_list 3 +INCMP my_vouchers 4 +INCMP select_pool 5 +INCMP my_account 6 +INCMP help 7 INCMP quit 9 INCMP . *