|
@@ -93,7 +93,7 @@ namespace OASystem.API.OAMethodLib
|
|
|
unprinted_deduction = 0.00M,
|
|
|
|
|
|
|
|
|
- sickLeave_deduction = 0.00M,
|
|
|
+ sickLeave_deduction = 0.00M,
|
|
|
other_deduction = 0.00M;
|
|
|
|
|
|
decimal meal_deduction = 0.00M;
|
|
@@ -298,7 +298,7 @@ namespace OASystem.API.OAMethodLib
|
|
|
reissuecard_deduction += 50;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ unprinted_deduction += reissuecard_deduction;
|
|
|
Ex_Item ex_reissueCard = new Ex_Item()
|
|
|
{
|
|
|
SubTypeId = 7,
|
|
@@ -415,7 +415,7 @@ namespace OASystem.API.OAMethodLib
|
|
|
};
|
|
|
|
|
|
|
|
|
- decimal day_beLate_deduction = 0.00M;
|
|
|
+ decimal day_deduction = 0.00M;
|
|
|
|
|
|
if (exception == 1)
|
|
|
{
|
|
@@ -427,28 +427,31 @@ namespace OASystem.API.OAMethodLib
|
|
|
|
|
|
if (reissueCardNum >= 3)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ beLate_deduction += day_deduction;
|
|
|
}
|
|
|
}
|
|
|
else if (timelength >= 10 && timelength <= 60)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ beLate_deduction += day_deduction;
|
|
|
beLate_belate_ex.SubTypeId = 1;
|
|
|
beLate_belate_ex.SubType = "迟到";
|
|
|
}
|
|
|
else if (timelength > 60 && timelength <= 180)
|
|
|
{
|
|
|
- day_beLate_deduction = day_miner_unit * 6;
|
|
|
-
|
|
|
+ day_deduction = day_miner_unit * 6;
|
|
|
+ meal_deduction += 10.00M;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- day_beLate_deduction = dailyWage;
|
|
|
+ day_deduction = dailyWage;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
meal_deduction += 10.00M;
|
|
|
}
|
|
|
|
|
|
- beLate_deduction += day_beLate_deduction;
|
|
|
- beLate_belate_ex.Deduction = day_beLate_deduction;
|
|
|
+ beLate_belate_ex.Deduction = day_deduction;
|
|
|
ex_reissuecard_Items.Add(beLate_belate_ex);
|
|
|
}
|
|
|
else if (exception == 2)
|
|
@@ -461,29 +464,32 @@ namespace OASystem.API.OAMethodLib
|
|
|
|
|
|
if (reissueCardNum >= 3)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ early_deduction += day_deduction;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
else if (timelength >= 10 && timelength <= 60)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ early_deduction += day_deduction;
|
|
|
beLate_belate_ex.SubTypeId = 2;
|
|
|
beLate_belate_ex.SubType = "早退";
|
|
|
}
|
|
|
else if (timelength > 60 && timelength <= 180)
|
|
|
{
|
|
|
- day_beLate_deduction = day_miner_unit * 6;
|
|
|
+ day_deduction = day_miner_unit * 6;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- day_beLate_deduction = dailyWage;
|
|
|
+ day_deduction = dailyWage;
|
|
|
meal_deduction += 10.00M;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
}
|
|
|
|
|
|
- beLate_deduction += day_beLate_deduction;
|
|
|
- beLate_belate_ex.Deduction = day_beLate_deduction;
|
|
|
+ beLate_belate_ex.Deduction = day_deduction;
|
|
|
ex_reissuecard_Items.Add(beLate_belate_ex);
|
|
|
}
|
|
|
else if (exception == 3)
|
|
@@ -496,46 +502,51 @@ namespace OASystem.API.OAMethodLib
|
|
|
|
|
|
if (reissueCardNum >= 3)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ unprinted_deduction += day_deduction;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
else if (timelength >= 10 && timelength <= 60)
|
|
|
{
|
|
|
- day_beLate_deduction = 50.00M;
|
|
|
+ day_deduction = 50.00M;
|
|
|
+ unprinted_deduction += day_deduction;
|
|
|
beLate_belate_ex.SubTypeId = 3;
|
|
|
beLate_belate_ex.SubType = "缺卡";
|
|
|
}
|
|
|
else if (timelength > 60 && timelength <= 180)
|
|
|
{
|
|
|
- day_beLate_deduction = day_miner_unit * 6;
|
|
|
+ day_deduction = day_miner_unit * 6;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- day_beLate_deduction = dailyWage;
|
|
|
+ day_deduction = dailyWage;
|
|
|
meal_deduction += 10.00M;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
}
|
|
|
|
|
|
- beLate_deduction += day_beLate_deduction;
|
|
|
- beLate_belate_ex.Deduction = day_beLate_deduction;
|
|
|
+ beLate_belate_ex.Deduction = day_deduction;
|
|
|
ex_reissuecard_Items.Add(beLate_belate_ex);
|
|
|
}
|
|
|
else if (exception == 4)
|
|
|
{
|
|
|
if (timelength > 60 && timelength <= 180)
|
|
|
{
|
|
|
- day_beLate_deduction = day_miner_unit * 6;
|
|
|
+ day_deduction = day_miner_unit * 6;
|
|
|
+ meal_deduction += 10.00M;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- day_beLate_deduction = dailyWage;
|
|
|
+ day_deduction = dailyWage;
|
|
|
meal_deduction += 10.00M;
|
|
|
+ absenteeism_deduction += day_deduction;
|
|
|
}
|
|
|
|
|
|
- beLate_deduction += day_beLate_deduction;
|
|
|
- beLate_belate_ex.Deduction = day_beLate_deduction;
|
|
|
+ beLate_belate_ex.Deduction = day_deduction;
|
|
|
ex_reissuecard_Items.Add(beLate_belate_ex);
|
|
|
}
|
|
|
|