Feature: Certify the imported sickness reports
Description
Horilla never tracked medical certificates, so the whole imported
sickness history would have shown as certificates still missing. The
leave- stage now records for every sickness report it
creates a certificate of the new source migration, shown as
"taken over from Horilla", which covers the whole report. Where Horilla
holds an attachment for the sick leave and the copy of its media
directory (MIGRATION_) has it, the file becomes the file
of the certificate; otherwise the certificate has no file and the row is
reported as the warning certificate.
Impact
No reminder goes out and the missing-certificates widget stays empty for the imported history. A report is certified once, also on a second run or the delta import.