We have some employees who have identical names. When assigning leave to a particular employee, Orange always tries to assign leave to the first employee with that name irrespective of which employee was chosen during the autocomplete.
For example, we have two employees called Simon Davies. Leave has been assigned to Simon Davies (number 1) for 20th Sep 2010. If I go to the Assign Leave module, and begin typing 'Simon Davies' in the employee name, the autocomplete will list both Simons. If I choose Simon Davies (number 2) and then attempt to assign leave to him for 20th Sep 2010, I am unable to because "Your leave request overlaps with the following existing leave requests." However Simon Davies (number 2) currently does not have any leave assigned to his record at all.
I'm running version 2.5.0.3, but I have tested it in version 2.6 and the issue still exists.
