Restrict document templates to mergable content

Description

At present, document templates can have any type of content uploaded to them.
This causes errors if an attempt is then made to print the content. E.g, if a PDF is uploaded as the content to a template with type Patient Form, printing the Patient Form will trigger an "Unsupported document template" error.
To avoid this, Content should be restricted to that which can be merged using either JasperReports or OpenOffice i.e.:

  • .jrxml

  • .doc

  • .odt

  • .rtf

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Fix versions

Affects versions

1.8

Priority

Minor