Skip to content

allow attaching additional files when sending invoice by mail - #231

Merged
flack merged 3 commits into
flack:masterfrom
JorgeUrgiles:invoice-email-attachments
Aug 25, 2026
Merged

allow attaching additional files when sending invoice by mail#231
flack merged 3 commits into
flack:masterfrom
JorgeUrgiles:invoice-email-attachments

Conversation

@JorgeUrgiles

Copy link
Copy Markdown
Contributor

No description provided.

@flack

flack commented Aug 25, 2026

Copy link
Copy Markdown
Owner

You'll have to fix the unittest errors before this is mergable (either by skipping tests that require the PDF renderer when none is present or by adding a dummy renderer as a unittest utility class)

'subject' => $config['subject'],
'message' => $config['message']
'message' => $config['message'],
'attachments' => serialize([$invoice_pdf->guid]),

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need the invoice PDF to be deselectable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it was requested that the invoice PDF can be deselected

@flack
flack merged commit d6ceb40 into flack:master Aug 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants