Skip to content

Commit

Permalink
Merge pull request #1145 from internetee/1129-update-participation-pr…
Browse files Browse the repository at this point in the history
…ohibited-email-notification

removed invoice payment link
  • Loading branch information
vohmar authored Sep 22, 2023
2 parents b91ccdc + 9f73338 commit 1d9f3df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/mailers/ban_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion app/views/ban_mailer/ban_mail.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<p><%= t('.introduction', domain_name: @domain_name) %></p>
<p id='number-of-strikes'><%= t('.number_of_strikes', number: @past_due_invoices) %></p>
<p><%= t('.linkpay_html', linkpay_url: @linkpay_url) if @linkpay_url %></p>
<%= t('.footer_html') %>
</body>
</html>

0 comments on commit 1d9f3df

Please sign in to comment.