Use invoice email template at checkout if an invoice is selected for printing

Description

The batch print dialog used at checkout supports emailing the selected documents as attachments.
If there is:

  • only a single item selected and there is an associated email template, use this to fill out the email body.

  • multiple items selected, and one of them is an invoice, use this to fill out the email body.

  • multiple invoices present, use the most recent to fill out the email body

Environment

None

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Priority

Minor
Configure