Commit Graph

10 Commits

Author SHA1 Message Date
7c52a3a8cb * Missing migrations 2024-05-27 01:28:54 +04:00
5a2216f0c4 + UserSimpleSerializer with smaller set of fields for Checklist.customer field in /checklist/ 2024-05-26 16:21:44 +04:00
0ff18ef891 + BonusProgramLevel
* Moved Bonus models to separate app
2024-05-26 02:40:04 +04:00
466b45539d + User.invited_with_orders_count field 2024-05-25 03:20:08 +04:00
7fe327acd2 * Query optimization
* Cleanup
2024-05-24 02:22:04 +04:00
cc98d1382d * Oupsie 2024-05-24 02:20:10 +04:00
00686e9dc4 + BonusProgramConfig
* Moved GlobalSettings to core app
* Moved bonus program logic from User to BonusProgram class
* Worked on error handling a bit
2024-05-24 02:19:00 +04:00
3eec959881 * Cleanup & optimizations 2024-05-21 01:05:55 +04:00
e571cf9597 + More bonus validation
+ Bonus transaction & order cancellation
+ Spend bonus via API
+ New status for order: DELETED
* Fixed bug with not actual bonus balance returned
* Order bonus can be added in several statuses
* Fixed TG templates a bit
2024-05-20 21:46:24 +04:00
fe24802831 + Bonus system (TODO: spend bonuses)
+ Telegram bot: sign up, sign in, notifications

+ Anonymous users can't see yuan_rate_commission
* Only logged in customers can create/update orders
* Customer info migrated to separate User model
* Renamed legacy fields in serializers
* Cleanup in API classes
2024-04-27 21:29:50 +04:00