From aab30b3a4b5f020cc3ea0fb578f688f5375afbee Mon Sep 17 00:00:00 2001 From: MahanCh Date: Mon, 14 Jul 2025 17:19:27 +0330 Subject: [PATCH] Fix FinancialStatement bug --- .../Repository/FinancialStatmentRepository.cs | 2 +- ServiceHost/Program.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CompanyManagment.EFCore/Repository/FinancialStatmentRepository.cs b/CompanyManagment.EFCore/Repository/FinancialStatmentRepository.cs index 15c5a475..daca3a74 100644 --- a/CompanyManagment.EFCore/Repository/FinancialStatmentRepository.cs +++ b/CompanyManagment.EFCore/Repository/FinancialStatmentRepository.cs @@ -107,7 +107,7 @@ public class FinancialStatmentRepository : RepositoryBase x.TdateGr >= fromDate && x.TdateGr <= toDate).ToList(); diff --git a/ServiceHost/Program.cs b/ServiceHost/Program.cs index f04492b7..0f5f7853 100644 --- a/ServiceHost/Program.cs +++ b/ServiceHost/Program.cs @@ -263,6 +263,8 @@ builder.Services.AddCors(options => { policy.WithOrigins( "http://localhost:3000", + "http://localhost:4000", + "http://localhost:4001", "http://localhost:3001", "https://gozareshgir.ir", "https://dad-mehr.ir",