Hi,
currently, the leaves module in my Dolibarr 6 includes only weekends when calculating the use of day off.
Is there a way to include in the calculation also national holidays?
Regards,
zdrapek
Hi,
currently, the leaves module in my Dolibarr 6 includes only weekends when calculating the use of day off.
Is there a way to include in the calculation also national holidays?
Regards,
zdrapek
Hi!
I had the same problem. You have to edit \core\lib\date.lib.php file. You can define there fixed holidays as well as floating ones in connection to your countrycode.
Best regards,
Tarantoga
PL lang: “Miałem ten sam problem. Musisz edytować plik \core\lib\date.lib.php. Możesz zdefiniować w nim zarówno święta stałe jak i ruchome w powiązaniu do danego kodu kraju.”
Has anyone tried this for UK national bank holidays?