From d49b68597c6b928a78e38e2bca79af9e6ffc42cd Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Tue, 19 Nov 2024 16:03:54 +0300 Subject: [PATCH] check transactions and catch when none exist --- services/registration/check_statement.vis | 3 +++ services/registration/no_transfers | 1 + services/registration/no_transfers.vis | 5 +++++ services/registration/no_transfers_swa | 1 + 4 files changed, 10 insertions(+) create mode 100644 services/registration/no_transfers create mode 100644 services/registration/no_transfers.vis create mode 100644 services/registration/no_transfers_swa diff --git a/services/registration/check_statement.vis b/services/registration/check_statement.vis index 596dcab..d79b5ca 100644 --- a/services/registration/check_statement.vis +++ b/services/registration/check_statement.vis @@ -1,3 +1,6 @@ +LOAD check_transactions 0 +RELOAD check_transactions +CATCH no_transfers flag_no_transfers 1 LOAD authorize_account 6 MOUT back 0 MOUT quit 9 diff --git a/services/registration/no_transfers b/services/registration/no_transfers new file mode 100644 index 0000000..3439806 --- /dev/null +++ b/services/registration/no_transfers @@ -0,0 +1 @@ +No transfers history \ No newline at end of file diff --git a/services/registration/no_transfers.vis b/services/registration/no_transfers.vis new file mode 100644 index 0000000..832ef22 --- /dev/null +++ b/services/registration/no_transfers.vis @@ -0,0 +1,5 @@ +MOUT back 0 +MOUT quit 9 +HALT +INCMP ^ 0 +INCMP quit 9 diff --git a/services/registration/no_transfers_swa b/services/registration/no_transfers_swa new file mode 100644 index 0000000..1f82e82 --- /dev/null +++ b/services/registration/no_transfers_swa @@ -0,0 +1 @@ +Hakuna historia kwa akaunti yako \ No newline at end of file