Bugfix: Sum the balances of several Horilla leave types 

Description 

Horilla companies often keep one vacation type per year. When several Horilla leave types map to one adsum type in leave-types.yaml, their balances are now added up into one opening entry per employee and component instead of the second balance being dropped or refused.

  • The first balance books the sum; the others are skipped with summedIntoFirstBalance.
  • The new option balanceAs: carryForward opens all balances of a type as carry-over. It is valid until the balance's own expiry in Horilla, or else the new option validUntil of the type.
  • An opening that cannot be booked, because one for the employee, type and component exists already, is reported as openingNotBooked.
  • The reconciliation compares the balances, the cancelled days and the taken days per adsum type.

Impact 

An import that maps several Horilla types to one adsum type no longer loses balances silently.