a709d24520
Merge branch 'master' into minor-bug-fixes
2024-12-03 18:16:19 +01:00
lash
d516584d90
Clear persister from handler in outer code aswell
2024-12-03 16:16:53 +00:00
d40a4a171f
formatted code
2024-12-03 14:12:47 +03:00
ba430a5849
add a separate function to handle ConstructName
2024-12-03 14:10:05 +03:00
0f21b01813
resolved error in the TestViewVoucher
2024-12-03 13:37:00 +03:00
10586baf0d
resolved error in the TestCheckBalance
2024-12-03 13:35:14 +03:00
e979742424
resolved error in the TestValidateRecipient
2024-12-03 13:32:18 +03:00
ff3f049226
updated the CheckAliasAddress mock
2024-12-03 13:31:30 +03:00
13b45c49da
Merge branch 'master' into minor-bug-fixes
2024-12-03 12:58:26 +03:00
22e870b3e5
Merge branch 'master' into trigger-balance-reload
2024-12-02 16:36:08 +01:00
lash
406bd84875
Always reset persister in handler
2024-12-02 14:53:18 +00:00
419cd185fc
Merge branch 'master' into minor-bug-fixes
2024-12-02 15:25:34 +03:00
19ec8f0817
Merge branch 'master' into voucher-details
2024-12-02 13:32:32 +03:00
ef3a3d6717
updated the TestGetVoucherDetails
2024-12-02 13:30:33 +03:00
c2019267d1
capitalize the voucher descriptions
2024-12-02 13:26:46 +03:00
aa7497573e
removed unused code
2024-11-30 15:29:28 +03:00
54c1fe51ef
update the active voucher data when checking the current vouchers
2024-11-30 15:28:21 +03:00
c46f41e25f
Format the balance to 2 decimal places
2024-11-29 14:47:22 +03:00
00c0445eed
show name without depending on family name being set
2024-11-28 11:42:47 +03:00
c8c6b05b8a
Merge branch 'master' into minor-bug-fixes
2024-11-26 15:31:45 +03:00
08ff1056d7
Validate aliases, addresses and phone numbers in the send menu ( #176 )
...
- Update the phone number regex
- Check whether the recipient is a valid phone number, alias or address
Reviewed-on: urdt/ussd#176
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2024-11-26 07:24:57 +01:00
2d6c434bde
feat: upgrade go-vise dep, minor cleanups to go.mod
...
* added stub for Dump()
2024-11-25 09:56:24 +03:00
09b4fa2860
Merge branch 'master' into account-statement
2024-11-22 19:23:59 +01:00
a748c1b6b2
chore: fix old reference
2024-11-22 11:53:13 +03:00
7ce50398d1
use the language translation instead of hardcoded eng
2024-11-21 15:54:00 +03:00
1174500e3f
add test for voucher details
2024-11-21 15:19:36 +03:00
07df450b3c
include labels to define the symbol and balance while selecting a voucher
2024-11-21 15:15:15 +03:00
b8d938d3aa
add voucher details
2024-11-21 13:04:19 +03:00
8925e26c4c
refactor check for valid yob
2024-11-21 11:25:47 +03:00
9b89462797
add function to check validity of provided yob
2024-11-21 11:21:16 +03:00
51bad64a51
Merge branch 'master' into account-statement
2024-11-20 19:00:14 +03:00
7880294c6f
set eng as default language
2024-11-20 17:14:25 +03:00
212cd48249
debug: postgres conn string
2024-11-19 17:53:06 +03:00
6159686a8e
update function comment
2024-11-19 16:21:55 +03:00
1d82bc2261
added transactions functions
2024-11-19 16:07:28 +03:00
6fa0d8e2ff
Merge branch 'master' into account-statement
2024-11-19 10:33:09 +03:00
01e75e9217
update test
2024-11-18 17:30:34 +03:00
44c52b6ed7
rename fetch_custodial_balances -> fetch_community_balance
2024-11-18 17:23:36 +03:00
e1506a3dcf
show a placehlolder community balance
2024-11-18 17:20:12 +03:00
5dd4f2a3fb
scale down the balance according to the decimals
2024-11-16 14:52:02 +03:00
b40ad78294
add the GetVoucherDetails function
2024-11-15 21:03:57 +03:00
1a77092ccb
updated the menuhandler tests
2024-11-15 13:12:30 +03:00
1a0b4deab3
added the TransactionData struct to organiza the data
2024-11-15 09:20:19 +03:00
de5ecc5fe7
add the tokens functionality to the common package
2024-11-14 21:21:04 +03:00
5773305785
parse data and initialize a transaction
2024-11-14 20:10:48 +03:00
c34906cb1f
added the TokenTransfer functionality and mocks
2024-11-14 20:02:48 +03:00
f3e3badff6
save the entire voucher data when setting the default voucher
2024-11-14 17:31:17 +03:00
9d2d01e3e2
save the recipient number in DATA_TEMPORARY_VALUE
2024-11-14 17:30:13 +03:00
93df6a6a08
validate recipients and invite valid ones
2024-11-14 14:59:39 +03:00
381e581e8e
add terminal logs
2024-11-14 11:00:12 +03:00