Skip to content

Commit

Permalink
Merge pull request #2442 from internetee/2431-monthly-invoice-change-…
Browse files Browse the repository at this point in the history
…email

Add monthly invoice email description
  • Loading branch information
vohmar authored Oct 6, 2022
2 parents a64582c + 9c0984b commit 6a18c59
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 @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions config/locales/et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 6a18c59

Please sign in to comment.