Commit Graph

100 Commits

Author SHA1 Message Date
Parsa Nazer 34715994ce feat: Add Telegram chat ID to ShopModel for automatic invoice sending
chore: Update Dockerfile to install WeasyPrint dependencies

feat: Enhance ShopOrderModelAdmin with invoice download buttons

feat: Implement invoice generation for OrderModel and ShopOrderModel

feat: Send invoice to shop's Telegram chat upon ShopOrderModel creation

feat: Create Celery task to send shop order invoice via Telegram

feat: Add invoice download endpoints for OrderModel and ShopOrderModel

feat: Implement views for downloading order and shop order invoices

chore: Update requirements.txt to include necessary packages for PDF generation

feat: Create HTML templates for order and shop order invoices
2025-12-28 11:43:33 +03:30
Parsa Nazer ca13ad4328 change tomaon text 2025-12-22 13:39:37 +03:30
Parsa Nazer 38267a2263 chagne api key of ghasedak 2025-12-22 13:19:43 +03:30
Parsa Nazer f300fe1553 ShopOrderModel fields and signal update 2025-12-11 13:14:46 +03:30
Parsa Nazer 9ea69925c9 feat: Enhance admin permissions and improve product currency handling 2025-12-10 12:38:42 +03:30
Parsa Nazer 486f1fc969 order shop admin 2025-11-20 14:44:15 +03:30
Parsa Nazer ce18f602c4 ShopOrderModel and ShopDailyReport system 2025-11-18 14:27:22 +03:30
Parsa Nazer 5820b4703a get_special_discount_amount null 2025-11-15 12:46:54 +03:30
Parsa Nazer 6838ccc3b9 remove prints and error for otp 2025-11-15 11:11:15 +03:30
Parsa Nazer d29ed8e35b feat: add profit and special discount fields to ProductVariant model
- Updated ProductVariant model to include 'profit' and 'special_discount_percent' fields.
- Added corresponding fields in the admin interface for ProductVariant.
- Created migration to add new fields to the database.

feat: implement special discount code functionality in cart

- Added composables for submitting and deleting special discount codes.
- Updated CartSummary and CartItem components to handle special discount codes.
- Enhanced API endpoints to support special discount operations.
- Updated global types to include special discount code details in the cart.
2025-11-15 11:00:33 +03:30
Parsa Nazer 27712f8572 fix rollback of in stock function 2025-09-23 11:53:12 +03:30
Parsa Nazer 0ce765c2df finish payment logic 2025-09-23 11:25:20 +03:30
Parsa Nazer 4047352399 remove unsed api 2025-09-23 10:17:36 +03:30
Parsa Nazer dab89b93a7 update cart logic 2025-09-23 10:17:19 +03:30
Parsa Nazer 76a05c2a1e add product slug to product varient serializers 2025-09-23 10:12:45 +03:30
Parsa Nazer d50dc2309d signal of address and some model udapte send address filed of an order 2025-04-18 17:29:04 +03:30
Parsa Nazer f7e80d173e test fix bank type display 2025-04-15 20:48:38 +03:30
Parsa Nazer 4f885b796b update callback payment reponse 2025-04-12 21:30:33 +03:30
Parsa Nazer 6256e7229e back url 2025-04-11 21:58:00 +03:30
Parsa Nazer bcc5bf23f5 add callback url 2025-04-11 20:57:33 +03:30
Parsa Nazer 09df95fe64 shared task for send notif and sms 2025-03-29 13:15:05 +03:30
Parsa Nazer 98894dbfb6 return task log 2025-03-29 11:21:34 +03:30
Parsa Nazer c41fd384ff some verbose name update 2025-03-28 19:10:15 +03:30
Parsa Nazer 721f2ac4b3 debug sandbox zibal 2025-03-28 13:08:03 +03:30
Parsa Nazer a4ea17d816 clean up cart and add order_id filed to order 2025-03-27 22:17:03 +03:30
Parsa Nazer 6d61508ea2 clean up swagger 2025-03-27 22:15:31 +03:30
Parsa Nazer 16163531e2 zibal gateway sandbox added 2025-03-26 17:11:24 +03:30
Parsa Nazer a5e3d00a9a fix signal 2025-03-26 15:30:09 +03:30
Parsa Nazer cbaf71ea91 fix signal and update ci cd 2025-03-26 15:23:59 +03:30
Parsa Nazer 74bcb9d324 send message signal 2025-03-26 15:13:57 +03:30
Parsa Nazer 7a3199fcd9 auto factory 2025-03-26 15:13:49 +03:30
Parsa Nazer c1cba6c494 base signal update 2025-03-19 22:06:38 +03:30
Parsa Nazer 1d5c1ac60d set address view and permiosn 2025-03-19 22:06:22 +03:30
Parsa Nazer 45b347e10c fix GetOrderPermission bug 2025-03-19 21:55:46 +03:30
Parsa Nazer 15a85a0065 remove print form signal 2025-03-19 21:27:40 +03:30
Parsa Nazer 67fee90528 update payment view 2025-03-19 20:55:14 +03:30
Parsa Nazer c649770941 order cart payment update
added signals for order
2025-03-19 20:08:55 +03:30
Parsa Nazer 42f90edc22 removing execptions.py 2025-03-19 17:03:26 +03:30
Parsa Nazer 5cbe093400 iranian bank gateway added to apps
schedule job for updeing bank status and az iranian bank gateway admin style
2025-03-18 18:18:09 +03:30
Parsa Nazer 58cb417ef9 defualy price 2025-03-17 17:56:22 +03:30
Parsa Nazer a5f881171c import ordermodel 2025-03-17 17:41:16 +03:30
Parsa Nazer 966b6bf538 debug cart serializer 2025-03-17 17:28:05 +03:30
Parsa Nazer dc449c8347 update order item serilizer 2025-03-17 17:09:01 +03:30
Parsa Nazer 6f33549200 send price in serializer 2025-03-17 16:48:38 +03:30
Parsa Nazer ef776192b8 fix migrations problem 2025-03-17 16:35:47 +03:30
Parsa Nazer 35b81ea6ac test 2025-03-17 16:31:37 +03:30
Parsa Nazer f9a339b039 update order list serializer add get order view and its permission 2025-03-17 16:15:38 +03:30
Parsa Nazer d62bef84ec delete discount code 2025-03-17 14:29:56 +03:30
Parsa Nazer d440a3e8a6 test payment 2025-03-15 01:51:44 +03:30
Parsa Nazer 5ed9a7cda1 update order serilaizer1 2025-03-14 22:06:11 +03:30