When a user registers he has to select some options that will be defining for the invoice created afterwards.
I have a rule that will be executed when saving a user account. This is what I do:
- Rule 1: Create Invoice (invoice = content type) and Save Invoice
- Rule 2: Fill in Invoice
The invoice is generated when a user registers an account. When I go to the invoice like this:
I see the Invoice. When I go to
http://domain.com/printpdf/147294 I get a pdf with my content in it.
Now I would like to create a pdf and send it in a mail to the user that is registrated (an extra rule). But how can I do this?