Commit Graph

124 Commits

Author SHA1 Message Date
Parsa Nazer ca478d71e1 fix order payment view 2026-05-18 12:12:01 +03:30
Parsa Nazer 6c635660a3 fix roleback 2026-05-18 12:11:45 +03:30
Parsa Nazer c0d8864567 send message to shop owners 2026-05-16 21:09:39 +03:30
Parsa Nazer 61a2c8749c fix roleback 2026-05-16 21:09:23 +03:30
Parsa Nazer e54a063d09 fix invoice 2026-05-14 17:04:00 +03:30
Parsa Nazer de77744557 fix order time 2026-05-12 09:48:34 +03:30
Parsa Nazer e5d940e3c9 update prints to log 2026-05-12 09:47:45 +03:30
marzban-dev b6f4b88adb Fix import path for jalali date formatter in invoice generator 2026-05-10 23:14:51 +03:30
marzban-dev a40162fb37 Add jalali date formatting utility and update invoice generation 2026-05-10 22:40:38 +03:30
Parsa Nazer dde03eb9c2 showing more detail for stores order 2026-02-24 16:52:06 +03:30
Parsa Nazer fa5ebf4294 order id without 1000 2026-02-24 16:51:35 +03:30
Parsa Nazer ad80907aa4 new invoice design 2026-02-24 16:51:15 +03:30
Parsa Nazer bd7c7252c7 feat: add daily report functionality and settlement status to shop orders 2026-02-09 11:08:39 +03:30
Parsa Nazer 1065a078b3 fix: cart item delete 2026-02-01 10:50:34 +03:30
Parsa Nazer 92dcd3e793 refactor create_shop_orders_on_payment to calculate tax after discounts and remove unused tax allocation 2026-01-06 11:25:44 +03:30
Parsa Nazer 4badbf4fbf refactor discount calculations in create_shop_orders_on_payment to use Decimal for precision 2026-01-06 11:16:31 +03:30
Parsa Nazer 01eb4754a6 try fix of creating shop order model 2026-01-04 19:01:38 +03:30
Parsa Nazer 0e0a6ccc24 fix order model invoice genrator 2026-01-04 12:45:44 +03:30
Parsa Nazer 9e0cba4c2b add special_discount_code to order model 2026-01-04 10:21:53 +03:30
Parsa Nazer 6142590868 feat: Add price formatting filter and update invoice templates for improved display 2025-12-28 12:49:42 +03:30
Parsa Nazer bb11f70d14 fix: Refactor send_shop_order_invoice_telegram_task to use telebot for Telegram API integration 2025-12-28 12:25:06 +03:30
Parsa Nazer 6c7744935d fix: Update async handling in send_shop_order_invoice_telegram_task for Celery compatibility 2025-12-28 12:18:15 +03:30
Parsa Nazer 189fdbbb1b fix signal 2025-12-28 12:07:20 +03:30
Parsa Nazer 36b4e395f0 fix: Convert Jalali date to datetime for order creation timestamp 2025-12-28 12:04:29 +03:30
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