diff --git a/app/mailers/ban_mailer.rb b/app/mailers/ban_mailer.rb index f5c64880b..5f60d4e7e 100644 --- a/app/mailers/ban_mailer.rb +++ b/app/mailers/ban_mailer.rb @@ -3,8 +3,6 @@ def ban_mail(ban, ban_strikes, domain_name) @ban = ban @user = @ban.user @domain_name = domain_name - invoice = @ban.invoice - @linkpay_url = invoice.payment_link I18n.locale = @user.locale @past_due_invoices = I18n.locale == :en ? ban_strikes.ordinalize : ban_strikes diff --git a/app/views/ban_mailer/ban_mail.html.erb b/app/views/ban_mailer/ban_mail.html.erb index 3fc914d5b..a2935af2c 100644 --- a/app/views/ban_mailer/ban_mail.html.erb +++ b/app/views/ban_mailer/ban_mail.html.erb @@ -8,7 +8,6 @@

<%= t('.introduction', domain_name: @domain_name) %>

<%= t('.number_of_strikes', number: @past_due_invoices) %>

-

<%= t('.linkpay_html', linkpay_url: @linkpay_url) if @linkpay_url %>

<%= t('.footer_html') %> diff --git a/config/locales/mailers/ban_mailer.en.yml b/config/locales/mailers/ban_mailer.en.yml index b795bf86a..a38b7eb16 100644 --- a/config/locales/mailers/ban_mailer.en.yml +++ b/config/locales/mailers/ban_mailer.en.yml @@ -10,8 +10,6 @@ en: This is your %{number} invoice overdue. According to clause 7.3.3 of the .ee Auction Environment User Agreement, a user can use the service of the environment if there are less than 3 unpaid invoices under their user account. - linkpay_html: | - You can pay for this invoice using following link. footer_html: |

If you have any further questions, please contact the Estonian Internet Foundation at info@internet.ee or +372 727 1000.

diff --git a/config/locales/mailers/ban_mailer.et.yml b/config/locales/mailers/ban_mailer.et.yml index f30edd856..405478a80 100644 --- a/config/locales/mailers/ban_mailer.et.yml +++ b/config/locales/mailers/ban_mailer.et.yml @@ -9,8 +9,6 @@ et: number_of_strikes: | See on %{number}. tasumata arve. Tulenevalt Kasutajalepingu punktist 7.3.3. saab Teenuse kasutaja oksjonikeskkonna teenuseid kasutada, kui maksmata arveid on vähem kui kolm. - linkpay_html: | - Saad arve koheselt tasuda selle lingi abil. footer_html: |

Täiendavate küsimuste korral võtke palun ühendust Eesti Interneti Sihtasutusega aadressil info@internet.ee või +372 727 1000.