d07537cca3
+ ChecklistListSerializer with smaller set of fields in /checklist/
2024-05-26 16:21:44 +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
2397433772
* Moved GlobalSettings to core app
2024-05-25 03:21:59 +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
85b472ddee
* Cleanup in PaymentMethodAPI
2024-05-20 23:55:04 +04:00
e51d05cb3d
* Renamed fields in PromocodeSerializer
2024-05-20 23:08:30 +04:00
285b9decd9
+ PriceField
2024-05-20 23:08:11 +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
e5e93ab6d5
* Renamed GlobalSettings.get_yuan_rate -> full_yuan_rate property
...
* In GlobalSettingsSerializer show full yuan rate
2023-11-24 17:58:42 +04:00
d0ec77c067
+ yuan_rate_last_updated in GlobalSettings serializer
...
* Show raw yuan_rate in GlobalSettings
* Use yuan_rate+yuan_rate_commission sum for Checklist calculations
2023-11-23 03:32:54 +04:00
d71cb4fa11
* Added missing available_count field in GiftSerializer
2023-11-23 02:45:17 +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
be224b2cd6
* Check the Gifts that are being added to Checklist from unauthorized users
2023-11-03 00:55:07 +04:00
9873c18810
* Allow unauthorized users to edit Checklist.cdek_barcode_pdf field
2023-11-03 00:34:40 +04:00
fce76143b4
+ Gift
2023-10-31 16:50:45 +04:00
875f1e8313
* Optional Checklist.size field
2023-10-11 22:32:22 +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
f39be4bb91
* missing split_payment_proof field in serializer
2023-08-21 16:47:36 +04:00
5a1afdf07b
* payment_proof is now a single image + migration from m2m
...
+ split_payment_proof
2023-08-21 16:24:52 +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
9e04fa354f
* Round up price_rub & full_price fields
2023-07-17 20:48:33 +04:00
edcdc96d8e
* Cleanup
2023-07-17 20:31:51 +04:00
ea6bcf0a42
* Made Checklist.category a not required field
2023-07-13 01:30:23 +04:00
c464b069ba
* renamed comission -> commission
2023-07-12 23:34:03 +04:00
2fdd009ca5
+ djoser routes for user API
2023-07-12 23:18:31 +04:00
4f901fe62e
* allow empty promo fields
2023-07-12 20:03:39 +04:00
6a1e85d524
* renamed paymentproovement -> paymentprovement
2023-07-12 20:03:24 +04:00
fb5a80f0b4
+ Auto update status NEW->PAYMENT if payment info is present
...
* Cleanup
2023-07-10 21:29:20 +04:00
a528974347
* Allow anonymous users to edit a set of fields of Checklist
2023-07-10 20:07:53 +04:00
77f0838d2d
* Checklist.delivery as a ChoiceField
...
* Checklist.delivery_display for human-readable text
2023-07-10 20:07:07 +04:00
5f0f8befcb
* Cleanup
2023-07-10 20:06:11 +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
810fd7ce3a
* fixed preview creation
2023-07-07 06:26:51 +04:00
b5ba146165
* Base64ImageField for paymentproovement & checkphoto fields of Checklist
2023-07-07 06:26:34 +04:00
44b4f11f72
* curencycurency2 is not required, defaults to 0
2023-07-07 06:07:05 +04:00
4269bfde8e
* Upload base64 images & generate preview
2023-07-07 06:05:14 +04:00
2f456b70bb
* managerid as Integer in serializers
2023-07-07 02:59:35 +04:00
4f456d0809
* PATCH for YuanRateAPI
...
* Don't delete promocode, deactivate it
2023-07-07 01:19:00 +04:00
35c7d2632b
- managerid field
...
* migrations
2023-07-06 17:52:59 +04:00
4e7575cc50
Updated uwsgi.ini
2023-07-06 16:56:29 +04:00
cd8e591439
+ split
...
* Upload payment_proof & receipt to docs/
* renamed cheque_photo -> receipt
* missing migrations
2023-07-06 15:54:52 +04:00
7a04f15aab
+ get_barcode CDEK API
...
* Upload payment_proof & cheque_photo to docs
2023-07-06 15:49:34 +04:00
4511a65b7f
+ statistics by clients
...
+ cdek_tracking
+ checklist create API
+ some permissions
* Cleanup
2023-07-05 02:19:58 +04:00
1d615b2735
Initial commit
2023-07-03 06:38:55 +04:00