Hi,
I have the following salary components
- Basic-10000-depends on attendance
- HRA-5000-depends on attendance
- Gross- (Basic+HRA)
- ESI - Gross*0.0075
Now when attendance is marked wherein employee is present for say 10 days, the calculation are coming perfectly for any combination of working & payment days.
However when employee is absent for whole month (i.e. zero payment days), all other components are coming as zero but Gross is coming as 15000 & ESI is coming as 112.5.
Ideally these two should also be zero. Seems like a bug wherein zero attendance is not handled. Am i correct?