Add support to attach account acts and estimates in the mail dialog

Description

Add support to attach the following from the mail dialog:

  • customer account acts (invoices, receipts etc) and estimates, when a customer is selected

  • estimates for patients, when a patient is selected

At present, customer documents are displayed in a Customer Documents tab. It may be hard to display account acts and estimates in this tab due to the query requirements (ie. likely to require manually merging the results of multiple queries)
Similarly, patient estimates need to be filtered to exclude those containing multiple patients, so it may be hard to display those in the Patient Documents tab
It may be easier to provide Customer Account, Customer Estimates and Patient Estimates to manage them.

Environment

None

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Priority

Minor
Configure