- Client
- <%= @invoice.client_name %> <<%= @invoice.client_email %>>
- Issued
- <%= @invoice.issued_on.strftime('%Y-%m-%d') %>
- Due
- <%= @invoice.due_on.strftime('%Y-%m-%d') %>
- Total
- <%= @invoice.currency %> <%= '%.2f' % @invoice.total %><% unless @invoice.currency == 'GEL' %> · GEL <%= '%.2f' % @invoice.total_gel %><% end %>
- Status
- <%= @invoice.status %>
<% if @invoice.paid_at %>
- Paid at
- <%= @invoice.paid_at.utc.strftime('%Y-%m-%d %H:%M UTC') %>
<% end %>
<% if @invoice.crypto? %>
- <%= @invoice.crypto_coin %>
-
<% if (amt = @invoice.crypto_amount_due) %><%= fmt_crypto(amt) %> <%= @invoice.crypto_coin %><% if @invoice.crypto_rate %> @ <%= fmt_rate(@invoice.crypto_rate) %> <%= @invoice.currency %><% end %>
<% end %>
<%= @invoice.crypto_address %>
<% end %>
<% unless @invoice.notes.to_s.strip.empty? %>
Notes
<%= @invoice.notes %>
<% end %>