To create or add staff holidays in attendance, follow the path given:
HR-->Leaves-->Staff Holidays-->click on Add New Holiday-->Select branch-leave category-
department-->select Date-->Select the checkbox if you want to mark it as an
optional
holiday-->click on Save.