SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Make deaContent available for document templates #7615

Open kwa20 opened 2 years ago

kwa20 commented 2 years ago

Situation Description

Currently, the deaContent column of travel entries is unavailable for users when trying to generate documents. View example documents here:

template: Einreise.docx generated document: R2KNNB-Einreise.docx

Feature Description

Option 1: When referencing deaContent in document templates, allow users to also reference the custom fields that they have created via imports.

Option 2: When referencing deaContent in document templates, display a dropdown to the user in the generation pop-up that allows selecting any embedded custom fields that are present in the deaContent column.

Additional Information

kwa20 commented 2 years ago

@syntakker FYI. I am not sure how feasible this is but I think option 1 would be the more user friendly option if possible. Any thoughts on this?