Commit Graph

16 Commits

Author SHA1 Message Date
masoodafar-web b229a3f0b6 refactor: Update protobuf namespaces and remove unused imports 2025-12-06 16:42:15 +03:30
masoodafar-web 09fc0d85af feat: Add discount module with protobuf definitions and gRPC services 2025-12-06 01:39:22 +03:30
masoodafar-web 4aa9f28f6e feat: Implement user permission checks and manual payment functionalities
- Added CheckUserPermissionQuery and CheckUserPermissionQueryHandler for permission validation.
- Introduced GetUserRolesQuery and GetUserRolesQueryHandler to retrieve user roles.
- Created IPermissionService interface and its implementation in PermissionService.
- Defined permission and role constants in PermissionDefinitions.
- Developed SetDefaultVatPercentageCommand and its handler for VAT configuration.
- Implemented GetCurrentVatPercentageQuery and handler to fetch current VAT settings.
- Added manual payment commands: CreateManualPayment, ApproveManualPayment, and RejectManualPayment with respective handlers and validators.
- Created GetManualPaymentsQuery and handler for retrieving manual payment records.
- Integrated gRPC services for manual payments with appropriate permission checks.
- Established Protobuf definitions for manual payment operations and metadata.
2025-12-05 17:27:38 +03:30
masoodafar-web 67b43fea7a feat: Implement Cancel Order functionality with command, handler, and validation 2025-12-04 19:53:21 +03:30
masoodafar-web 82319285bc feat: Implement Public Message management features including create, update, delete, and publish functionalities 2025-12-04 17:29:05 +03:30
masoodafar-web 64b6f34185 refactor: Update protobuf references in CalculateOrderPV 2025-12-04 04:51:49 +03:30
masoodafar-web 4b6f8187e5 feat: Implement User Package Status and User Order Management features
- Added GetUserPackageStatus functionality with mapping and service implementation.
- Introduced UserOrder service methods for updating order status, applying discounts, and calculating order PV.
- Created Protobuf definitions for public messages and user orders, including necessary request and response messages.
- Implemented mapping profiles for package and user order related queries and commands.
- Developed query handlers and validators for new commands and queries in the application layer.
- Established PublicMessage service for handling public messages with appropriate gRPC endpoints.
2025-12-04 03:43:28 +03:30
masoodafar-web 698c044be6 Update payment status to enum and refactor update order handler 2025-11-28 04:03:12 +03:30
masoodafar-web 067fe6cc0e Update payment status type to PaymentMethod enum 2025-11-28 02:18:04 +03:30
masoodafar-web 5e284acebc Add protobuf reference and update user order query response type 2025-11-28 01:37:48 +03:30
masoodafar-web e7414cd814 Refactor: rename Price to Amount and update protobuf enums 2025-11-28 01:14:10 +03:30
masoodafar-web 92d25f3b2c Update payment status handling and add local config comment 2025-11-27 23:24:56 +03:30
masoodafar-web 10035b328b Add payment method and delivery status filters to user order queries 2025-11-27 18:59:22 +03:30
masoodafar-web ebd48c02a5 Add delivery status and tracking details to user order 2025-11-27 18:36:36 +03:30
King ad492abdea Update 2025-09-28 18:54:22 +03:30
King 4241523443 Update 2025-09-28 15:24:13 +03:30