From 9bbd802127f83e5cf405e1df1084e81bd4b6286e Mon Sep 17 00:00:00 2001 From: chapal Date: Wed, 16 Oct 2024 15:00:36 +0600 Subject: [PATCH] Prod Pross --- HRM.DA/Service/Bonus/ProdBonusProcessService.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/HRM.DA/Service/Bonus/ProdBonusProcessService.cs b/HRM.DA/Service/Bonus/ProdBonusProcessService.cs index c702e4a..c96cd16 100644 --- a/HRM.DA/Service/Bonus/ProdBonusProcessService.cs +++ b/HRM.DA/Service/Bonus/ProdBonusProcessService.cs @@ -662,12 +662,7 @@ namespace HRM.DA foreach (ProductionBonusSetup oProductionBonusSetup in _oProductionBonusSetups) { - if (oProductionBonusSetup.DesignNo == "C 24 16-30 Sep P A-Com" || oProductionBonusSetup.DesignNo == "C 24 16-30 Sep P B-Com") - { - } - else - { continue; } - + prodAttn = prodAttns.Where(x => x.ProdBonusSetupID == oProductionBonusSetup.ID).ToList();//ToObjectsTemplate(); ProdBonusProcessItem oProcessItem = null; foreach (ProdBonusLine oLine in oProductionBonusSetup.ProductionBonusLinesNew) @@ -699,10 +694,7 @@ namespace HRM.DA bool isSuperVisor = allProdBonusSupervisors.FindIndex(x => x.EmployeeID == item.Key && x.ProdBonusLineID == oLine.ID) == -1 ? false : true; List dailyAttm = alldailyAttm.FindAll(x => x.EmployeeID == item.Key); - if (item.Key == 65088) - { - - } + if (isSuperVisor == false) {