Payment ID |
<%= Trade::Payment.human_attribute_name(:type) %> |
<%= Trade::Payment.human_attribute_name(:total_amount) %> |
可核销 |
<%= Trade::Payment.human_attribute_name(:created_at) %> |
预核销 |
核销时间 |
操作 |
<% unless @order.all_paid? %>
<%= render partial: 'payments', collection: @payments, as: :payment %>
<% end %>
<%= render partial: 'payment_orders', collection: @order.payment_orders, as: :payment_order %>
|
预核销合计:<%= @order.payment_orders.sum(:check_amount) %>
|
|