Commit Graph

27 Commits

Author SHA1 Message Date
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 c41fd384ff some verbose name update 2025-03-28 19:10:15 +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 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 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 d440a3e8a6 test payment 2025-03-15 01:51:44 +03:30
Parsa Nazer 6009c43345 base of payment gateway 2025-03-13 22:26:17 +03:30
Parsa Nazer e9d6426856 update price migrations 2025-03-11 23:17:51 +03:30
Parsa Nazer 234e27e90e new fields for order model and update cart serialzier 2025-03-11 22:35:49 +03:30
Parsa Nazer 2589ac7321 discount admin and code to name update 2025-03-11 00:09:36 +03:30
Parsa Nazer 7c0c4329b1 cron job added if it wont work fck this 2025-03-09 01:13:21 +03:30
Parsa Nazer 856acd8623 small postive integer filed for order item model quantity 2025-03-06 21:03:27 +03:30
Parsa Nazer 96cfcf1fcb persion datetime and serializer ticket udpate 2025-02-17 22:40:44 +03:30
Parsa Nazer 81df30c806 video player and model and video guide routing and stuff 2025-02-16 21:42:29 +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 48a840fab4 i hope database wont get fcked
dynamic fields for product
2025-02-06 21:35:47 +03:30
Parsa Nazer e08429c497 detail product and in pack items for product 2025-02-05 00:31:06 +03:30
Parsa Nazer 5a19c140f5 sub category debug and front docker file update for action report 2025-01-28 20:36:59 +03:30
Parsa Nazer d72a705574 update migrations file 2025-01-27 21:37:41 +03:30
Parsa Nazer 7ffd128e2d debug and migrations order 2025-01-26 03:17:57 +03:30
Parsa Nazer 6a05adcb92 order app update 2025-01-26 03:08:20 +03:30