mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Improve email template
This commit is contained in:
parent
595f81a707
commit
a99d36f683
6 changed files with 14 additions and 4 deletions
|
@ -5,6 +5,8 @@ class InvoiceMailer < ApplicationMailer
|
|||
return unless test_emails.include?(invoice.billing_email)
|
||||
end
|
||||
|
||||
@invoice = invoice
|
||||
|
||||
attachments[invoice.pdf_name] = pdf
|
||||
mail(to: invoice.billing_email, subject: invoice)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue