Change the required time here. For example: Employees usually work 8 hours daily, it rained for 3 hours so they couldn't work. Change the required time to 5 hours if you want to, but this isn't necessary. According to law, on a rainy day, if the employee came to work, he/she needs to be remunerated for at least 4 hours (and the system already does this).