This task is only executed when fixes are required to leave balances.

Running this task via this screen will correct leave balances by updating links between leave requests and entitlements.

Examples/Possible scenarios:

1. Fix leave balances of a given leave type (leave type id: 2) for the current leave period for all employees.
[php symfony orangehrm:leave-balance-fix 2]

2. Fix the leave balance of a given leave type (leave type id: 2) of a given employee (emp_number: 5) for the current leave period.
[php symfony orangehrm:leave-balance-fix 2 5 ]

3. Fix the leave balance of a given leave type (leave type id: 2) of a given employee (emp_number: 5) for the leave period applicable as at a given date (date: 2013-06-12).
[php symfony orangehrm:leave-balance-fix 2 5 --date "2013-06-12"]

If the required date is not specified, the current date of the server will be considered.