From acf70acb5438a3358d07978afdc0eb28950f40d5 Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期一, 12 八月 2024 16:28:01 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_FinancialSalesReport/Method_IsInUnit.qbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_FinancialSalesReport/Method_IsInUnit.qbl b/_Main/BL/Type_FinancialSalesReport/Method_IsInUnit.qbl
index 02e06b4..57394ad 100644
--- a/_Main/BL/Type_FinancialSalesReport/Method_IsInUnit.qbl
+++ b/_Main/BL/Type_FinancialSalesReport/Method_IsInUnit.qbl
@@ -11,6 +11,6 @@
     // 鐢勫叞楦� Aug-5-2024 (created)
     unit                  := sp.Unit();
     parentunits           := unit.GetAllParent();
-    return unit.ID() = unitname or exists( parentunits, Elements, punit, punit.ID() = unitname );
+    return sp.ID() = unitname or unit.ID() = unitname or exists( parentunits, Elements, punit, punit.ID() = unitname );
   *]
 }

--
Gitblit v1.9.3