Commit Graph

22 Commits

Author SHA1 Message Date
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
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
dd39a0d2d5 * available_count for Gift 2023-11-23 02:40:30 +04:00
ab9db45b2b + CurrencyAPIClient for fresh CNY rate
+ yuan_rate_last_updated, yuan_rate_commission fields in GlobalSettings
2023-11-23 02:16:53 +04:00
0ba7a8e881 + Set Checklist.gift to NULL on Gift deletion 2023-11-11 09:49:30 +04:00
fce76143b4 + Gift 2023-10-31 16:50:45 +04:00
b55e42c90f + Checklist.split_accepted field 2023-10-04 06:58:09 +04:00
8c0f5ac6fd + PriceSnapshot
* Category commission inside a commission_rub field
2023-10-04 06:57:53 +04:00
5a1afdf07b * payment_proof is now a single image + migration from m2m
+ split_payment_proof
2023-08-21 16:24:52 +04:00
1445c87c0a + migration of categories/subcategories 2023-08-21 16:22:03 +04:00
4ed1a74a16 + time_to_buy & buy_time_remaining fields
+ Category: hierarchy, removed slugs & added comission per category
* Promocode value in rubles instead of percentage
* Cleanup in GlobalSettings routes
2023-08-18 16:22:32 +04:00
9221c1f8a8 * PaymentMethod: allow null for cardnumber & requisites 2023-07-13 00:24:25 +04:00
568711fe63 + cdek_courier option for Checklist.delivery 2023-07-10 21:25:51 +04:00
6b1a11d355 * missing migration 2023-07-07 18:37:35 +04:00
fc2297b17c + array of payment_proof
+ Checklist.images is m2m now
+ Image.type & dynamic upload path
2023-07-07 08:22:15 +04:00
01b1d6a4f5 * validate Promocode.discount to be 0 <= value <= 100 2023-07-07 01:33:38 +04:00
35c7d2632b - managerid field
* migrations
2023-07-06 17:52:59 +04:00
7888f09d12 * missing migration 2023-07-06 16:00:20 +04:00
cd8e591439 + split
* Upload payment_proof & receipt to docs/
* renamed cheque_photo -> receipt
* missing migrations
2023-07-06 15:54:52 +04:00
bc91845074 * Missing migrations 2023-07-05 02:20:14 +04:00
1d615b2735 Initial commit 2023-07-03 06:38:55 +04:00