Commit Graph

8 Commits

Author SHA1 Message Date
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 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 e7414cd814 Refactor: rename Price to Amount and update protobuf enums 2025-11-28 01:14:10 +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 4241523443 Update 2025-09-28 15:24:13 +03:30