alfred-mk
|
a553731f02
|
Cleaned up code
|
2024-10-23 17:45:41 +03:00 |
|
alfred-mk
|
f36847d966
|
Added a placeholder function to get transactions
|
2024-10-23 14:51:17 +03:00 |
|
alfred-mk
|
4011597d9c
|
Check specific db error
|
2024-10-23 14:02:13 +03:00 |
|
alfred-mk
|
176473aa26
|
Rename prefix to vouchers
|
2024-10-23 13:54:42 +03:00 |
|
Carlosokumu
|
b41e52af63
|
pass context.Context
|
2024-10-23 12:45:54 +03:00 |
|
Carlosokumu
|
e05dbb4885
|
check for back option
|
2024-10-22 20:36:58 +03:00 |
|
Carlosokumu
|
9c75942b0b
|
chore: remove commented code
|
2024-10-21 16:54:16 +03:00 |
|
Carlosokumu
|
f3a5178de7
|
update imports
|
2024-10-21 16:47:43 +03:00 |
|
Carlosokumu
|
14455f65cb
|
move account service to testutil
|
2024-10-21 16:43:24 +03:00 |
|
Carlosokumu
|
d81bc0eefb
|
use importable api structs
|
2024-10-21 11:10:01 +03:00 |
|
Carlosokumu
|
5b0a383513
|
use importable api structs
|
2024-10-21 11:09:37 +03:00 |
|
Carlosokumu
|
367d3f0593
|
remove manually added api.go file
|
2024-10-21 11:07:32 +03:00 |
|
alfred-mk
|
3bf2045f15
|
added FetchVouchers to the TestAccountService
|
2024-10-19 16:07:40 +03:00 |
|
alfred-mk
|
aced3e4fc3
|
Merge branch 'master' into menu-voucherlist
|
2024-10-19 15:38:54 +03:00 |
|
alfred-mk
|
25bc7006a4
|
show a balance of 0 and prevent sending when no voucher exists
|
2024-10-18 18:31:40 +03:00 |
|
Carlosokumu
|
f643aa4d14
|
update tests
|
2024-10-18 17:37:04 +03:00 |
|
Carlosokumu
|
b8860478b6
|
implement expected structs
|
2024-10-18 17:36:51 +03:00 |
|
Carlosokumu
|
847b91ca9e
|
Merge branch 'menu-api-errors' into api-structs
|
2024-10-18 17:15:05 +03:00 |
|
Carlosokumu
|
128a354b34
|
use api structs
|
2024-10-18 17:03:48 +03:00 |
|
Carlosokumu
|
81c4189c8e
|
update tests
|
2024-10-18 17:02:08 +03:00 |
|
Carlosokumu
|
4f04362835
|
pass error description to error response
|
2024-10-17 16:08:18 +03:00 |
|
alfred-mk
|
eea3be3a39
|
resolve failing test
|
2024-10-17 13:49:56 +03:00 |
|
alfred-mk
|
849a950fbc
|
Merge branch 'master' into menu-voucherlist
|
2024-10-17 13:44:31 +03:00 |
|
Carlosokumu
|
d181c34946
|
update handler and move transaction struct to models
|
2024-10-17 12:49:28 +03:00 |
|
Carlosokumu
|
bfa6eac4c2
|
define a test account service
|
2024-10-17 12:47:44 +03:00 |
|
Carlosokumu
|
667a21d950
|
pass account service as a param
|
2024-10-17 12:37:15 +03:00 |
|
Carlosokumu
|
a51f739d06
|
pass account service as a param
|
2024-10-17 12:31:33 +03:00 |
|
Carlosokumu
|
f73b7a8b04
|
setup api responses
|
2024-10-16 22:40:40 +03:00 |
|
alfred-mk
|
a336856c9b
|
use separate functions to process voucher data
|
2024-10-15 17:02:51 +03:00 |
|
Carlosokumu
|
6a36bc43b5
|
add check for api call failure
|
2024-10-15 16:31:15 +03:00 |
|
Carlosokumu
|
1d27a88908
|
add test on validate amount
|
2024-10-15 16:30:29 +03:00 |
|
alfred-mk
|
f378f15422
|
updated tests
|
2024-10-15 16:29:51 +03:00 |
|
alfred-mk
|
b2fb9faf6c
|
use the active balance to validate the amount
|
2024-10-15 16:17:33 +03:00 |
|
alfred-mk
|
859e203a00
|
removed debug comments
|
2024-10-15 15:54:43 +03:00 |
|
alfred-mk
|
6c6af5ec21
|
set a default voucher as the active sym if none exists
|
2024-10-15 15:46:02 +03:00 |
|
alfred-mk
|
8ed98b3e6c
|
resolve case issue
|
2024-10-15 14:53:00 +03:00 |
|
Carlosokumu
|
bec7e5c69f
|
update: fetch balances in a sepate function,show profile information in swahili and english
|
2024-10-15 13:57:05 +03:00 |
|
Carlosokumu
|
d638aba85e
|
update tests
|
2024-10-15 13:50:28 +03:00 |
|
Carlosokumu
|
df7788dd0b
|
return actual reponses on the api calls
|
2024-10-15 13:48:14 +03:00 |
|
Carlosokumu
|
4a62773098
|
add handler fetching custodial balances
|
2024-10-15 13:44:50 +03:00 |
|
alfred-mk
|
7df77a1343
|
updated the ValidateAmount to also check the active symbol, updated tests
|
2024-10-12 20:07:06 +03:00 |
|
alfred-mk
|
f5dbfe553d
|
use the check_balance for the max_amount
|
2024-10-12 20:06:00 +03:00 |
|
alfred-mk
|
a9f9867976
|
added the TestSetVoucher
|
2024-10-12 17:36:00 +03:00 |
|
alfred-mk
|
b6d24bf929
|
update the TestCheckBalance
|
2024-10-12 16:29:12 +03:00 |
|
alfred-mk
|
e9684fcf45
|
check whether the active symbol is empty
|
2024-10-12 16:28:02 +03:00 |
|
alfred-mk
|
a5b1c5b74e
|
cleaned up the code
|
2024-10-12 14:32:40 +03:00 |
|
alfred-mk
|
672eebb8fb
|
display the balance based on the symbol
|
2024-10-11 09:42:08 +03:00 |
|
alfred-mk
|
7c08a0f0af
|
add temp and active balance
|
2024-10-10 14:48:23 +03:00 |
|
alfred-mk
|
9ad7d5a522
|
set the active symbol
|
2024-10-09 15:39:06 +03:00 |
|
alfred-mk
|
9ccb6cc066
|
use 99 as the quit
|
2024-10-09 15:05:59 +03:00 |
|