Commit Graph

18 Commits

Author SHA1 Message Date
Mamalizz-dev 7142ce50f1 refactor: refactor Modal component, add loading skeletons to cart items, and perform minor UI/code cleanup across components 2026-05-13 13:14:14 +03:30
marzban-dev dbd1879f7e Implement terms accepting 2026-05-02 12:27:43 +03:30
marzban-dev 90a305234d Make all spinner icons local 2026-04-28 20:59:51 +03:30
marzban-dev 03ef21cd75 fix: Fix special discount input problem 2025-11-20 13:33:07 +03:30
Mamalizz-dev 2f9e24844a added new special code discount input 2025-11-15 12:51:30 +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 bc605b441a add fields 2025-09-22 13:20:50 +03:30
Mamalizz 325a41076c changed discount button color 2025-04-17 00:31:21 +03:30
Mamalizz 28e4f87d01 added a delay for redirect to bank gateway 2025-04-16 20:08:58 +03:30
Mamalizz 5531fed95e changed some style and gif 2025-04-11 21:39:48 +03:30
Mamalizz 429891d5db connected payment 2025-04-08 22:59:19 +03:30
Mamalizz 9687f5143b new changes 2025-03-27 23:07:02 +03:30
marzban-dev 2106f3f40b Updated 2025-03-22 23:43:49 +03:30
Mamalizz 83885b2128 conncted discount input to api 2025-03-18 20:30:43 +03:30
Mamalizz edc1066b3f changed submit discount code input and button 2025-03-18 16:20:17 +03:30
Mamalizz d7ddcaf197 changed api composbale name 2025-03-15 01:45:32 +03:30
Mamalizz 6a718562ee added submit discount code 2025-03-13 02:37:08 +03:30
Mamalizz 25e023e2b3 added cart summery 2025-03-13 01:34:20 +03:30