2019-12-09 11:55:31 +01:00
|
|
|
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
|
|
|
|
|
|
|
<p><%= t('.body.refund_created',
|
2023-11-14 10:36:12 +01:00
|
|
|
AMOUNT: number_to_currency(@attached_object.total / 100.00, locale: CURRENCY_LOCALE),
|
2019-12-09 11:55:31 +01:00
|
|
|
INVOICE: @attached_object.invoice.reference,
|
2021-02-08 13:50:49 +01:00
|
|
|
USER: @attached_object.invoicing_profile&.full_name) if @attached_object.invoice %>
|
|
|
|
<%= t('.body.wallet_refund_created',
|
2023-11-14 10:36:12 +01:00
|
|
|
AMOUNT: number_to_currency(@attached_object.total / 100.00, locale: CURRENCY_LOCALE),
|
2021-05-27 15:58:55 +02:00
|
|
|
USER: @attached_object.invoicing_profile&.full_name) if @attached_object.main_item.object_type === WalletTransaction.name %>
|
2019-12-09 11:55:31 +01:00
|
|
|
</p>
|
|
|
|
<p><a href="<%= "#{root_url}api/invoices/#{@attached_object.id}/download" %>" target="_blank"><%= t('.body.download') %></a></p>
|