Commit Graph

2023 Commits

Author SHA1 Message Date
Parsa Nazer 0bfb88c7a7 Merge branch 'main' of https://github.com/Byeto-Company/hossein_por_shop 2026-01-28 23:01:04 +03:30
Parsa Nazer 034580f2b7 update to new server 2026-01-28 23:00:54 +03:30
marzban-dev 12c5cdd8eb Merge branch 'main' of https://github.com/Byeto-Company/hossein_por_shop 2026-01-06 14:50:49 +03:30
marzban-dev 22a2541e75 Update porsant commission 2026-01-06 14:50:46 +03:30
Parsa Nazer 2e515e288b update special_discount_link method to return a URL based on user authentication 2026-01-06 14:41:19 +03:30
Parsa Nazer 2fe7fa0005 add main_image field to product serializers and update components to use it 2026-01-06 14:10:48 +03:30
Parsa Nazer 0d1cd08521 update docker-compose to use absolute paths for media and static volumes 2026-01-06 13:33:05 +03:30
Parsa Nazer 91ebd2ed48 fix pageinations style 2026-01-06 13:26:43 +03:30
Parsa Nazer 5559d4bba8 fix page number 2026-01-06 13:22:10 +03:30
Parsa Nazer 6209eae2b4 remove tax display from invoice template 2026-01-06 11:42:38 +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 20ef2fe5fe add rounding method for Toman price in ProductVariant model 2026-01-06 09:25:47 +03:30
Parsa Nazer d60f5089a7 add view and add permissions for ProductImagesAdmin and ProductDetailModel1Admin 2026-01-05 17:57:48 +03:30
Parsa Nazer df3f4b83be update blankable product fields 2026-01-05 17:41:20 +03:30
Parsa Nazer 031beec97f update product and shop admin permissions 2026-01-04 21:29:50 +03:30
Parsa Nazer 14f51dd2f3 tax rate of 10 percent 2026-01-04 19:19:15 +03:30
Parsa Nazer 01eb4754a6 try fix of creating shop order model 2026-01-04 19:01:38 +03:30
Parsa Nazer e8a64df3de more compact invoice 2026-01-04 19:01:16 +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 796c81ef35 fix: Add django.contrib.humanize to INSTALLED_APPS for template enhancements 2025-12-28 12:45:59 +03:30
Parsa Nazer 46af475072 format invocies 2025-12-28 12:43:19 +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 6a7e526f23 fix toman format js 2025-12-27 22:29:09 +03:30
Parsa Nazer 421a04d7d0 merge 2025-12-26 12:49:48 +03:30
Parsa Nazer a7f3b06bbd update read only fields 2025-12-26 12:47:26 +03:30
marzban-dev 08794aa4f9 Fix product discount bug 2025-12-26 12:03:30 +03:30
marzban-dev 7103f7f79c Compress brands 2025-12-26 11:47:35 +03:30
Parsa Nazer e6028c8285 merge 2025-12-26 11:08:55 +03:30
Parsa Nazer 52a997ec0b best deal price fields added to product serialzier 2025-12-26 11:08:32 +03:30
marzban-dev 08f4062ad3 Update brands 2025-12-25 23:18:26 +03:30
marzban-dev b223fd374b Fix product discount problem 2025-12-25 22:24:12 +03:30
marzban-dev 9a046f1eba Fix height of mega menu 2025-12-25 22:16:16 +03:30
marzban-dev f86c00a9e4 Increase gap 2025-12-25 22:13:04 +03:30
Parsa Nazer 4223461c2b remove list_per_page 2025-12-23 17:56:00 +03:30
Mamalizz-dev 46cc3e7031 Merge branch 'main' of https://github.com/Byeto-Company/hossein_por_shop 2025-12-22 14:03:54 +03:30
Mamalizz-dev 5386144879 fixed price after discount in product page 2025-12-22 14:03:45 +03:30
Mamalizz-dev 75ff1963cb added price_after_discount to product variant type 2025-12-22 14:03:28 +03:30
Parsa Nazer 46d4019ca8 defualt for currency type 2025-12-22 14:01:42 +03:30
Parsa Nazer a9d4fbe3db fix ProductVariantSerialzier 2025-12-22 13:53:08 +03:30
Parsa Nazer 44454eb80d fix ProductVariantSerialzier 2025-12-22 13:45:06 +03:30
Parsa Nazer ac7d4a6574 show price after dicount 2025-12-22 13:39:49 +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