.. include:: /Includes.rst.txt .. _feature-1791360143: ================================== Feature: HR notes with attachments ================================== Description =========== HR keeps notes about an employee with ``listEmployeeNotes``, ``createEmployeeNote``, ``updateEmployeeNote`` and ``deleteEmployeeNote``. A note holds rich text of at most 20000 characters, with paragraphs, bold, italic, lists and links; everything else is removed on save. It shows its author and when it was written and last changed. Up to ten files can be attached to a note: PDF, images other than SVG and office documents of at most 10 MB, recognised by their content and not by the type the browser claims. Notes are HR-internal: managers and the employee cannot read them. They stay with an employee who left and go with a record deleted as a mistake. The change history shows who wrote, changed and deleted a note and when, never its text. Impact ====== Files of notes are stored below ``var/storage/employee-notes``; include the directory in backups. .. index:: API, Database, package:adsum-core