Commit Graph

21 Commits

Author SHA1 Message Date
1f4d693c81 + 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
ef40e9f7e0 + 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
6903c2ff13 * available_count for Gift 2023-11-23 02:40:30 +04:00
2e79e579f7 + CurrencyAPIClient for fresh CNY rate
+ yuan_rate_last_updated, yuan_rate_commission fields in GlobalSettings
2023-11-23 02:16:53 +04:00
9a2a630465 + Set Checklist.gift to NULL on Gift deletion 2023-11-11 09:49:30 +04:00
dd9dfb3704 + Gift 2023-10-31 16:50:45 +04:00
00e5b19b6a + Checklist.split_accepted field 2023-10-04 06:58:09 +04:00
69d386806a + PriceSnapshot
* Category commission inside a commission_rub field
2023-10-04 06:57:53 +04:00
9eb9b8bebc * payment_proof is now a single image + migration from m2m
+ split_payment_proof
2023-08-21 16:24:52 +04:00
5b49d2806d + migration of categories/subcategories 2023-08-21 16:22:03 +04:00
3a6b06d223 + 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
1fc6f7c0b1 * PaymentMethod: allow null for cardnumber & requisites 2023-07-13 00:24:25 +04:00
bd1a18b216 + cdek_courier option for Checklist.delivery 2023-07-10 21:25:51 +04:00
e87c9be857 * missing migration 2023-07-07 18:37:35 +04:00
6ea5d721ad + array of payment_proof
+ Checklist.images is m2m now
+ Image.type & dynamic upload path
2023-07-07 08:22:15 +04:00
8b4f5f9424 * validate Promocode.discount to be 0 <= value <= 100 2023-07-07 01:33:38 +04:00
3a84bc2c7a - managerid field
* migrations
2023-07-06 17:52:59 +04:00
ff1154fefa * missing migration 2023-07-06 16:00:20 +04:00
f57ea1feab + split
* Upload payment_proof & receipt to docs/
* renamed cheque_photo -> receipt
* missing migrations
2023-07-06 15:54:52 +04:00
8bf78c6f75 * Missing migrations 2023-07-05 02:20:14 +04:00
fcfc33a435 Initial commit 2023-07-03 06:38:55 +04:00