Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Jan 26, 2025
1 parent 0b2d780 commit 718b62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/controllers/trade/my/orders_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def payment_types
@order.init_wallet_payments
@order.to_payment(type: 'Trade::HandPayment')

binding.b
set_wxpay if request.variant.include?(:wechat)
end

Expand Down
4 changes: 2 additions & 2 deletions app/views/trade/my/orders/cart.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<%= f.hidden_field :current_cart_id %>
<% end %>

<table class="table is-fullwidth">
<table class="table is-fullwidth as-boxed">
<thead>
<tr>
<th><%= Trade::Item.human_attribute_name(:good_name) %></th>
Expand All @@ -17,7 +17,7 @@
<tr>
<th colspan="2"></th>
<th>
<%= submit_tag t('.confirm'), class: 'button is-success', form: 'new_order' %>
<%= submit_tag t('.create.title'), class: 'button is-success', form: 'new_order' %>
</th>
</tr>
</tfoot>
Expand Down

0 comments on commit 718b62e

Please sign in to comment.