Payroll Date Selection Calculation Fixed

Resolved an issue where the payroll module’s date selection was calculating incorrectly. The calculation now works as expected, ensuring accurate payroll reporting.