Penalty & Fine Calculation
Source:
PenaltyCalculationBO.cs+EmployeeFineBO.cs
Penalty Types
Penalty Worked Example
Employee NetSalary = 26,000
SalaryPerHour = 26000 ÷ 26 × 8 = 26000 ÷ 208 = 125 per hour
Late by 25 minutes on March 5:
LateEntryPenalty = 125 × 25 ÷ 60 = 52.08
Early exit by 40 minutes on March 12:
EarlyExitPenalty = 125 × 40 ÷ 60 = 83.33
Monthly fine total: 52.08 + 83.33 = 135.41
Deducted from salary as VariableDeductionManual Fine Entry
Source:
EmployeeFineBO.cs
Fine Stored in: t_HR_EmpDailyAttendance_Detail
| Column | Type | Purpose |
|---|---|---|
LateEntryPenaltyInMins | int | Minutes late |
EarlyExitPenaltyInMins | int | Minutes early departure |
LunchPenaltyInMins | int | Unauthorized lunch absence |
PermissionPenaltyInMins | int | Unauthorized permission usage |