Billing
You currently are registered as billing entity #<%= @partner.id %>.
Billing address
<%= form_for @partner_changeset, Routes.billing_path(@conn, :update), fn f -> %>
<%= if @partner_changeset.action do %>
Oops, something went wrong! Please check the errors below.
<% end %>
<%= text_input f, :display_name, placeholder: "Display name" %>
<%= error_tag f, :display_name %>
<%= text_input f, :street, placeholder: "Street" %>
<%= error_tag f, :street %>
<%= text_input f, :city, placeholder: "City" %>
<%= error_tag f, :city %>
<%= text_input f, :zip, placeholder: "Zip" %>
<%= error_tag f, :zip %>
<%= text_input f, :country, placeholder: "Country", readonly: true %>
<%= error_tag f, :country %>
<%= submit "Change address" %>
<% end %>
Invoices
# |
Created On |
Due on |
Amount |
State |
<%= for invoice <- @invoices do %>
<%= invoice.display_name %> |
<%= invoice.invoice_date %> |
<%= invoice.invoice_date_due %> |
<%= invoice.amount_total %> |
<%= invoice.state %> |
<% end %>