.. include:: /Includes.rst.txt .. _feature-1793193646: ================================================= Feature: Import how a company counts a school day ================================================= Description =========== The import from Horilla can set the company setting "A school day counts as a full working day". The optional mapping file ``apprenticeship-settings.yaml`` names ``schoolDayCountsAsWholeDay`` per Horilla company, and the new stage ``apprenticeship-settings`` sets it on the company that ``companies.yaml`` maps it to, after ``companies`` and before ``punches``, so the first calculation of an imported school day already credits the whole day. A company that has the value is counted as unchanged in a dry run and a real run, a company that is not mapped is skipped (``companyNotMapped``), and without the file the stage says so with an info line (``noApprenticeshipSettingsFile``). The other settings of the apprenticeship stay as they are. Impact ====== Add the file to the mapping directory of a rehearsal or a cut-over where the Apprenticeship package is installed and the company wants every school day to count as a full working day. Nothing changes without the file. .. index:: CLI, package:adsum-migration, package:adsum-apprenticeship