Commit Graph

9 Commits

Author SHA1 Message Date
485cba3c9c feat: Add new stat stores and reporting functionalities for bets, branches, and wallets
- Introduced BetStatStore, BranchStatStore, and WalletStatStore interfaces for handling statistics.
- Implemented repository methods for fetching and updating bet, branch, and wallet statistics.
- Created reporting services for generating interval reports for bets, branches, companies, and wallets.
- Enhanced CSV writing functionality to support dynamic struct to CSV conversion.
- Added cron jobs for periodic updates of branch and wallet statistics.
- Updated wallet handler to include transaction statistics in the response.
2025-10-29 07:14:38 +03:00
3dfa1255b0 Refactor result notification service and remove redundant code
- Removed the CheckAndSendResultNotifications method from the result service.
- Consolidated notification logic into a new notification.go file.
- Updated email and in-app notification formatting to include event processing periods.
- Added error handling for wallet operations to check if wallets are active before processing transfers.
- Introduced new error for disabled wallets.
- Updated cron jobs to comment out unnecessary tasks.
- Added bulk update functionality for bet outcomes by odd IDs in the odd handler.
- Renamed ticket handler methods for clarity and consistency.
- Updated API version in routes.
2025-10-10 14:59:19 +03:00
80129828e0 fix: removed kafka and redis and added integration changes 2025-10-08 12:46:50 +03:00
62258b7ecb raffle ticket limit 2025-10-06 14:49:25 +03:00
6ceff2843e enetpulse 1st phase repo and cron job implementation 2025-09-25 20:58:25 +03:00
ee27ec7f10 add raffle filters 2025-09-21 16:14:08 +03:00
2ac66308d3 fix: merge fixes 2025-09-09 19:25:08 +03:00
d78a100f27 raffle service implementation 2025-09-03 16:06:01 +03:00
c83130394b fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00