User | <%= link_to @donation.user.cn, admin_user_path(@donation.user.cn) %> |
---|---|
Donation Method | <%= @donation.donation_method %> |
Amount sats | <%= @donation.amount_sats %> |
Fiat amount | <% if @donation.fiat_amount.present? %><%= number_to_currency @donation.fiat_amount.to_f / 100, unit: "" %> <%= @donation.fiat_currency %><% end %> |
Public name | <%= @donation.public_name %> |
Payment status | <%= @donation.payment_status %> |
Created at | <%= @donation.created_at&.strftime("%Y-%m-%d (%H:%M UTC)") %> |
Paid at | <%= @donation.paid_at&.strftime("%Y-%m-%d (%H:%M UTC)") %> |
<%= link_to 'Back', admin_donations_path, class: 'btn-md btn-gray' %> <%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'ml-2 btn-md btn-blue mr-1' %>