Payment <%= @payment.payment_number %>
<% if @payment.target_invoice_id.present? %>
Invoice ID |
<%= link_to @payment.target_invoice_id, account_invoice_path(@account.account_id, @payment.target_invoice_id) %> |
<% if @payment.payment_external_key != @payment.payment_id %>
External key |
<%= @payment.payment_external_key %> |
<% end %>
<% end %>
<%= render :partial => 'kaui/payments/payment_table',
:locals => {:payment => @payment, :account => @account} %>