roger.manche
Forum Replies Created
-
Thanks Ewout!
Sounds like a solution to me 🙂
I just send my purchase details to the support email.
Looking forward to test the beta version.Thanks!
RogerHi Ewout,
thanks for your reply.Yes, you did understand correctly. I would like to control the attachment and send a different version of the invoice (with added information) to the admin only.
Since the PDF generation process doesn’t have any info about the email it is send to, and basically the same generated pdf is sent to both admin and the customer, would it be possible to attach a different pdf to the admin email?I’d see two possible solutions:
Solution A
Admin receives:
invoice_admin.pdf (based on invoice_admin.php)Client receives:
invoice.pdf (based on invoice.php)Solution B
Admin receives:
invoice.pdf (based on invoice.php) – same pdf as sent to the customer
invoice_admin.pdf (based on invoice_admin.php)Client receives:
invoice.pdf (based on invoice.php)I hope this clarifies my intentions and maybe you have an action hook for this to generate and attach a second pdf.
Thanks again for your kind assistance.
Roger