feat: full FrontOffice updates - discount store, blog, payment gateway, UI improvements
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 4m55s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 4m55s
- Discount store pages (products, cart, orders, order detail) - Blog pages and services - Payment gateway callback page - AppImage component, EmptyState, LoadingState, PageHeader - DiscountCartService, DiscountOrderService, DiscountProductService - BlogCategoryService, BlogPostService, SitePageService, ImageCacheService - PhoneVerifyForm component - Profile Hub page - UI/UX improvements across all pages - landing.js for homepage - Config and routing updates
This commit is contained in:
@@ -44,7 +44,7 @@ public class OrderService
|
||||
|
||||
public async Task<List<GetUserOrderResponse>> GetOrdersAsync()
|
||||
{
|
||||
var result = await _userOrderContractClient.GetAllUserOrderByFilterAsync(new());
|
||||
var result = await _userOrderContractClient.GetCustomerOrdersAsync(new());
|
||||
if (result != null && result.Models.Count > 0)
|
||||
{
|
||||
foreach (var item in result.Models)
|
||||
@@ -69,7 +69,7 @@ public class OrderService
|
||||
var order = _orders.FirstOrDefault(o => o.Id == id);
|
||||
if (order == null)
|
||||
{
|
||||
var result = await _userOrderContractClient.GetUserOrderAsync(new GetUserOrderRequest()
|
||||
var result = await _userOrderContractClient.GetCustomerOrderAsync(new GetUserOrderRequest()
|
||||
{
|
||||
Id = id
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user