From 634aea9fb3d2ac08a952e81f3c56442956eb6acb Mon Sep 17 00:00:00 2001 From: omidrezarafati Date: Fri, 28 Nov 2025 13:59:33 +0330 Subject: [PATCH] fix:bog store --- src/Core/Application/Aggregates/Stores/StoresApplication.cs | 2 +- src/Presentation/Server/Pages/Panel/Stores/Index.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Application/Aggregates/Stores/StoresApplication.cs b/src/Core/Application/Aggregates/Stores/StoresApplication.cs index d039da2..ce862f7 100644 --- a/src/Core/Application/Aggregates/Stores/StoresApplication.cs +++ b/src/Core/Application/Aggregates/Stores/StoresApplication.cs @@ -67,7 +67,7 @@ public class StoresApplication(IStoreRepository storeRepository) mobile: updateStoreViewModel.Mobile, score: updateStoreViewModel.Score); - if (update.IsActive == true) + if (updateStoreViewModel.IsActive == true) { update.Activate(); } diff --git a/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml b/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml index f19a662..6ad274d 100644 --- a/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml +++ b/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml @@ -24,7 +24,7 @@ @(Html.Ub_DisplayStringWithTd(item.Name)) @(Html.Ub_DisplayStringWithTd(item.Address)) @(Html.Ub_DisplayStringWithTd(item.Mobile)) - @(Html.Ub_DisplayInteger(item.Score)) + @(Html.Ub_DisplayIntegerWithTd(item.Score)) @(Html.Ub_DisplayBooleanWithTd(item.IsActive))