Commit Graph

22 Commits

Author SHA1 Message Date
Parsa Nazer fd6aad8be5 fix transaction page 2025-11-20 14:59:11 +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
Mamalizz 936958b434 connected to new url param 2025-10-03 21:40:42 +03:30
Mamalizz 5e5f9aa732 added cart fetching only if login 2025-06-04 19:12:54 +03:30
Mamalizz f268147677 added useGetTransaction 2025-04-16 20:10:18 +03:30
Mamalizz 915084a289 added usePayOrder 2025-04-08 23:00:18 +03:30
Mamalizz 40c001739a new changes 2025-03-27 23:07:45 +03:30
marzban-dev 2106f3f40b Updated 2025-03-22 23:43:49 +03:30
Mamalizz 2721e0ce1e added use delete discount code 2025-03-18 20:34:42 +03:30
Mamalizz 095f53e7cd updated 2025-03-18 16:22:47 +03:30
marzban-dev 7ddecc934a Updated 2025-03-17 13:41:14 +03:30
Mamalizz 302ab7ef98 changed file name 2025-03-15 01:46:33 +03:30
Mamalizz d2abb83c31 changed file name 2025-03-15 01:46:20 +03:30
Mamalizz a43dc70dcb added use submit discount code 2025-03-13 02:38:18 +03:30
Mamalizz b859efb67d fixed file name 2025-03-13 02:38:06 +03:30
Mamalizz f12c7374eb added use get orders cart 2025-03-13 01:37:09 +03:30
Mamalizz df0c981838 added use delete cart item 2025-03-13 01:36:57 +03:30
Mamalizz 85ad719ce6 added use delete cart all 2025-03-13 01:36:51 +03:30
Mamalizz bc987c2739 added use add cart item 2025-03-13 01:36:40 +03:30
Mamalizz ac14cbd8ff new changes 2025-03-09 20:39:27 +03:30
Mamalizz 869caaf53c new changes 2025-03-09 20:39:23 +03:30
Mamalizz 4d6bcc3ec4 added useGetOrdersList 2025-02-27 20:48:35 +03:30