Commit Graph

429 Commits

Author SHA1 Message Date
Carlosokumu
54bc09b7e9 initialize testing for menu handlers 2024-08-28 14:14:28 +03:00
alfred-mk
7b33f2f644 Initiate a transaction once a valid PIN is provided 2024-08-28 14:11:20 +03:00
Carlosokumu
d87b70b292 reset unlock for update 2024-08-28 12:19:38 +03:00
Carlosokumu
0eb1115e39 add handler for setting and resetting single edits 2024-08-28 10:10:49 +03:00
Carlosokumu
c565a9dde5 add flag to handle single field profile edit 2024-08-28 10:09:49 +03:00
alfred-mk
b48760760b Validate that the PIN is 4 digits 2024-08-28 00:17:45 +03:00
alfred-mk
633d56b0ad Allow users to include 'CELO' in the amount 2024-08-27 16:16:15 +03:00
alfred-mk
2b10f6023f Use the balance as the max_amount 2024-08-27 16:10:43 +03:00
alfred-mk
8d9aaeedbc Validate that the amount is not greater than the balance 2024-08-27 16:02:24 +03:00
alfred-mk
1d578209fc Ensure that the user sets a PIN before proceeding to main 2024-08-27 15:41:53 +03:00
Carlosokumu
2a5f7517f4 add function to calculate age with yob 2024-08-27 14:59:17 +03:00
Carlosokumu
674fd5773a validate date as a 4 digit input value 2024-08-27 14:57:26 +03:00
alfred-mk
bf99ed8482 Added a CATCH if the account creation fails 2024-08-27 13:38:08 +03:00
Carlosokumu
7e95e7cbb3 initialize fieldnames 2024-08-27 13:30:00 +03:00
Carlosokumu
ded37ab515 Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-27 11:24:34 +03:00
Carlosokumu
ddde2fb4ca add documentation lines 2024-08-27 11:22:37 +03:00
alfred-mk
9f1eed9ab3 Add an account util for reading and writing data to file 2024-08-27 11:19:49 +03:00
Carlosokumu
1a0173eee5 add documentation lines 2024-08-27 10:20:38 +03:00
Carlosokumu
0aacc06146 add documentation code 2024-08-27 10:18:33 +03:00
Carlosokumu
5f3baa86ae remove commented code 2024-08-27 10:16:25 +03:00
Carlosokumu
db96f0e2e4 add documentation lines 2024-08-27 10:15:11 +03:00
Carlosokumu
cb31616a87 check for 4 digits input 2024-08-26 21:58:21 +03:00
alfred-mk
1a997e8b26 updated the file structure to have external functions on a different package 2024-08-26 15:53:07 +03:00
alfred-mk
68dc77d5eb added flags model 2024-08-26 14:34:38 +03:00
Carlosokumu
90f6d26f6d add function to calculate age 2024-08-26 13:37:54 +03:00
Carlosokumu
36d3f05a31 move api calls in main to handlers package 2024-08-26 13:32:12 +03:00
Carlosokumu
430c5d32c8 define api calls response 2024-08-26 13:31:20 +03:00
Carlosokumu
ee649dc79e setup models for handling api responses 2024-08-26 12:10:39 +03:00
Carlosokumu
30504b81e2 setup structure for handling api calls 2024-08-26 12:10:16 +03:00