If we want the holiday compensation to be calculated from the average wage, we must first go to Company Settings (Modules - Employees - Contract) and check the option - calculate holiday compensation from average.
Compensation for a Public Holiday Based on Average Earnings