diff --git a/src/FrontOffice.Main/Pages/Profile/Index.razor b/src/FrontOffice.Main/Pages/Profile/Index.razor index 03b28eb..8053db4 100644 --- a/src/FrontOffice.Main/Pages/Profile/Index.razor +++ b/src/FrontOffice.Main/Pages/Profile/Index.razor @@ -134,7 +134,7 @@ - + diff --git a/src/FrontOffice.Main/Shared/MainLayout.razor b/src/FrontOffice.Main/Shared/MainLayout.razor index 15c90e7..8bb1f0e 100644 --- a/src/FrontOffice.Main/Shared/MainLayout.razor +++ b/src/FrontOffice.Main/Shared/MainLayout.razor @@ -35,7 +35,7 @@
- @if (_isAuthenticated) + @if (_isAuthenticated && false) { محصولات سبد خرید diff --git a/src/FrontOffice.Main/Utilities/WalletService.cs b/src/FrontOffice.Main/Utilities/WalletService.cs index e3c783f..a62fb53 100644 --- a/src/FrontOffice.Main/Utilities/WalletService.cs +++ b/src/FrontOffice.Main/Utilities/WalletService.cs @@ -5,13 +5,13 @@ public record WalletTransaction(DateTime Date, long Amount, string Channel, stri public class WalletService { - private WalletBalances _balances = new(350_000, 1_250_000); + private WalletBalances _balances = new(0, 0); private readonly List _transactions = new() { - new(DateTime.Now.AddDays(-1), 500_000, "درگاه بانکی", "شارژ کیف پول"), - new(DateTime.Now.AddDays(-2), 200_000, "شبکه/معرف", "پاداش شبکه"), - new(DateTime.Now.AddDays(-4), -120_000, "خرید", "برداشت بابت سفارش #1452"), - new(DateTime.Now.AddDays(-9), 900_000, "کیف پول شرکای تجاری", "اعتبار خرید"), + // new(DateTime.Now.AddDays(-1), 500_000, "درگاه بانکی", "شارژ کیف پول"), + // new(DateTime.Now.AddDays(-2), 200_000, "شبکه/معرف", "پاداش شبکه"), + // new(DateTime.Now.AddDays(-4), -120_000, "خرید", "برداشت بابت سفارش #1452"), + // new(DateTime.Now.AddDays(-9), 900_000, "کیف پول شرکای تجاری", "اعتبار خرید"), }; public Task GetBalancesAsync() => Task.FromResult(_balances);