mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
12 lines
691 B
Plaintext
12 lines
691 B
Plaintext
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
|
|
|
<p><%= t('.body.refund_created',
|
|
AMOUNT: number_to_currency(@attached_object.total / 100.00),
|
|
INVOICE: @attached_object.invoice.reference,
|
|
USER: @attached_object.invoicing_profile&.full_name) if @attached_object.invoice %>
|
|
<%= t('.body.wallet_refund_created',
|
|
AMOUNT: number_to_currency(@attached_object.total / 100.00),
|
|
USER: @attached_object.invoicing_profile&.full_name) if @attached_object.invoiced_type === WalletTransaction.name %>
|
|
</p>
|
|
<p><a href="<%= "#{root_url}api/invoices/#{@attached_object.id}/download" %>" target="_blank"><%= t('.body.download') %></a></p>
|