Bugfix: Fill the fields Horilla leaves empty on employees
Description
The import of employees refused every employee whose Horilla record had no location, no joining date or no work e-mail, and named only the first missing field of a row. adsum requires all of them, so the import now fills the gaps and says so with a warning on the row:
- A company can name a
defaultinLocation companies.; theyaml locationsstage creates it and an employee without location gets it (location).Defaulted - The entry date comes from the new optional file
entry-, else from Horilla, else it is the earlier of the creation of the login and the first attendance day (dates. csv entry).Date Derived - The work e-mail falls back to the e-mail of the Horilla login (
work).Email From Login
All missing fields of a row are reported at once.
Impact
None.