Commit Graph

38 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 486f1fc969 order shop admin 2025-11-20 14:44: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 0ce765c2df finish payment logic 2025-09-23 11:25:20 +03:30
Parsa Nazer dab89b93a7 update cart logic 2025-09-23 10:17:19 +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 721f2ac4b3 debug sandbox zibal 2025-03-28 13:08: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 7a3199fcd9 auto factory 2025-03-26 15:13:49 +03:30
Parsa Nazer 1d5c1ac60d set address view and permiosn 2025-03-19 22:06:22 +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 a5f881171c import ordermodel 2025-03-17 17:41:16 +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 d218a8bed4 base cart_quantity filed and filter pagination and sort for order 2025-03-13 23:58:42 +03:30
Parsa Nazer 6009c43345 base of payment gateway 2025-03-13 22:26:17 +03:30
Parsa Nazer c766076710 update message for delete item 2025-03-13 19:15:04 +03:30
Parsa Nazer ab5b761216 delete item update and permisons for it 2025-03-13 19:01:20 +03:30
Parsa Nazer 4ae6b7c9b6 update price formats 2025-03-12 23:03:57 +03:30
Parsa Nazer 06b540d069 cart item clear and apply discount view 2025-03-11 00:09:51 +03:30
Parsa Nazer bb7f3df837 validation for quantity 2025-03-06 21:22:55 +03:30
Parsa Nazer 4cbd149329 update 2025-02-25 01:07:11 +03:30
Parsa Nazer cda862111a test push again 2025-02-25 01:01:05 +03:30
Parsa Nazer 880ab60fac order list view and serilaizer 2025-02-25 00:54:50 +03:30
Parsa Nazer b5ce2e5fc4 order cart 2025-02-23 23:10:26 +03:30
Parsa Nazer 4fb1d2bdb9 learn viedo delete and add permison 2025-02-16 22:24:53 +03:30
Parsa Nazer d8f7be7772 order urls fix intendent and order item verbose name udpate 2025-02-15 00:43:32 +03:30
Parsa Nazer 81d75d61e7 product varient change list bug fix order item change quantity and remove 2025-02-15 00:08:16 +03:30
Parsa Nazer 6a05adcb92 order app update 2025-01-26 03:08:20 +03:30