feat(order): enhance order status management and Protobuf definitions
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m46s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m46s
- Added AdminNotes handling in UpdateOrderStatusCommandHandler to include delivery descriptions. - Updated DeliveryStatus enum to include ReadyForOfficePickup. - Enhanced GetCustomerOrderHistoryQueryHandler and UserOrderService to support new delivery status. - Updated Protobuf definitions for DeliveryStatus to reflect changes. - Bumped Protobuf project version to accommodate new features.
This commit is contained in:
+2
@@ -113,6 +113,7 @@ public class GetCustomerOrderHistoryQueryHandler : IRequestHandler<GetCustomerOr
|
||||
DeliveryStatus.Delivered => 4,
|
||||
DeliveryStatus.Cancelled => 5,
|
||||
DeliveryStatus.Returned => 6,
|
||||
DeliveryStatus.ReadyForOfficePickup => 7,
|
||||
_ => 0
|
||||
};
|
||||
}
|
||||
@@ -127,6 +128,7 @@ public class GetCustomerOrderHistoryQueryHandler : IRequestHandler<GetCustomerOr
|
||||
DeliveryStatus.Delivered => "تحویل داده شد",
|
||||
DeliveryStatus.Cancelled => "لغو شده",
|
||||
DeliveryStatus.Returned => "مرجوع شده",
|
||||
DeliveryStatus.ReadyForOfficePickup => "آماده تحویل در دفتر",
|
||||
_ => "نامشخص"
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user