.. include:: /Includes.rst.txt .. _feature-1791340642: ===================================== Feature: Create and archive companies ===================================== Description =========== An admin creates a further company with ``createCompany``: name, address, time zone, federal state, currency (ISO 4217, ``EUR`` by default) and the user who becomes its first HR. The admin becomes admin of the new company, both role assignments are recorded like every role change, and the default employment types are created in English and German. An admin archives a company with ``archiveCompany`` once all its employees have left, and restores it with ``unarchiveCompany``. An archived company keeps its data, is no longer offered among the reader's companies, is skipped by every scheduled job and answers every write with 409; only its admins can still open it. Companies are never deleted. The company's representation gains ``currency`` and ``archivedAt``. Impact ====== Existing companies get the currency ``EUR``. The core requires ``symfony/intl`` for the ISO 4217 codes. .. index:: API, Database, package:adsum-core