-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b77fe7d
commit 02ab221
Showing
3 changed files
with
32 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<%= render 'modal_header' %> | ||
<section class="modal-card-body"> | ||
<table class="table is-fullwidth is-borderless as-show"> | ||
<tbody> | ||
<tr> | ||
<td class="text-right"><%= Trade::Order.human_attribute_name(:unreceived_amount) %></td> | ||
<td class="text-danger"><%= @order.unreceived_amount.to_money.format.html_safe %></td> | ||
</tr> | ||
<% @order.payment_orders.select(&:new_record?).each do |payment_order| %> | ||
<% if payment_order.payment.is_a?(Trade::WalletPayment) && payment_order.payment.wallet.wallet_template %> | ||
<%= render partial: 'payment_wallet', locals: { payment_order: payment_order, f: f } %> | ||
<% elsif payment_order.payment.is_a?(Trade::WalletPayment) %> | ||
<%= render partial: 'payment_lawful_wallet', locals: { payment_order: payment_order, f: f } %> | ||
<% end %> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</section> | ||
<%= f.submit %> |
This file was deleted.
Oops, something went wrong.