diff --git a/app/views/mailers/invoice_mailer/invoice_email.html.erb b/app/views/mailers/invoice_mailer/invoice_email.html.erb index 35f0dbb6ec..bab04883ff 100644 --- a/app/views/mailers/invoice_mailer/invoice_email.html.erb +++ b/app/views/mailers/invoice_mailer/invoice_email.html.erb @@ -1,4 +1,5 @@ -<%= t(:you_have_a_new_invoice) %> +<%= t(:you_have_a_new_invoice) %>
+<%= t(:monthly_invoice) if @invoice.monthly_invoice %>

<%= t(:sincerely) %>,
<%= Setting.registry_invoice_contact %>
diff --git a/app/views/mailers/invoice_mailer/invoice_email.text.erb b/app/views/mailers/invoice_mailer/invoice_email.text.erb index ab85954747..4c17a410f8 100644 --- a/app/views/mailers/invoice_mailer/invoice_email.text.erb +++ b/app/views/mailers/invoice_mailer/invoice_email.text.erb @@ -1,4 +1,5 @@ <%= t(:you_have_a_new_invoice) %> +<%= t(:monthly_invoice) if @invoice.monthly_invoice %> <%= t(:sincerely) %>, <%= Setting.registry_invoice_contact %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 2eda989b31..ae5177470c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -544,6 +544,7 @@ en: bind_manually: 'Bind manually' client: 'Client' you_have_a_new_invoice: 'You have a new invoice.' + monthly_invoice: "Here comes the report with the last month's credit account activities." sincerely: 'Sincerely' expiry: 'Expiry' failed_to_create_crt_csr_already_signed: 'Failed to create certificate: CSR is already signed' diff --git a/config/locales/et.yml b/config/locales/et.yml index 6da5860fff..b381259a75 100644 --- a/config/locales/et.yml +++ b/config/locales/et.yml @@ -14,3 +14,6 @@ et: already_paid: " (juba makstud)" monthly_invoice: " (kuuaruanne)" monthly_invoice_description: 'Kuuaruanne' + you_have_a_new_invoice: 'Teil on uus arve.' + monthly_invoice: "Siit tuleb aruanne möödunud kuul ettemaksukontoga seotud tasuliste toimingutega." + sincerely: 'Lugupidamisega'