Skip to content

Commit

Permalink
Add monthly invoice email description
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoyoussef committed Sep 18, 2022
1 parent f77883b commit 9c0984b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/mailers/invoice_mailer/invoice_email.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= t(:you_have_a_new_invoice) %>
<%= t(:you_have_a_new_invoice) %><br>
<%= t(:monthly_invoice) if @invoice.monthly_invoice %>
<br><br>
<%= t(:sincerely) %>,<br>
<%= Setting.registry_invoice_contact %><br>
Expand Down
1 change: 1 addition & 0 deletions app/views/mailers/invoice_mailer/invoice_email.text.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<%= t(:you_have_a_new_invoice) %>
<%= t(:monthly_invoice) if @invoice.monthly_invoice %>

<%= t(:sincerely) %>,
<%= Setting.registry_invoice_contact %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,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'
Expand Down
3 changes: 3 additions & 0 deletions config/locales/et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,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'

0 comments on commit 9c0984b

Please sign in to comment.