Skip to content

Commit

Permalink
btuton
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 23, 2024
1 parent 716c4c4 commit 7f91bc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/trade/admin/orders/_unpaid/_button_actions.html.erb
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<%= form_with url: { controller: 'hand_payments', action: 'batch' }, data: { controller: 'check-commit' }, class: 'button_to' do |f| %>
<%= f.hidden_field :ids, data: { check_commit_target: 'ids' } %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button text-success' do %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button is-success' do %>
<i class="fa-solid fa-cash-register"></i>
<span class="ml-1"><%= t('.hand_payments.batch.title') %></span>
<% end %>
<% end %>
<%= form_with url: { controller: 'scan_payments', action: 'batch' }, data: { controller: 'check-commit' }, class: 'button_to' do |f| %>
<%= f.hidden_field :ids, data: { check_commit_target: 'ids' } %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button text-warning' do %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button is-warning' do %>
<i class="fa-brands fa-weixin"></i>
<span class="ml-1"><%= t('.scan_payments.batch.title') %></span>
<% end %>
<% end %>
<%= form_with url: { action: 'batch_destroy' }, method: :delete, data: { controller: 'check-commit' }, class: 'button_to' do |f| %>
<%= f.hidden_field :ids, data: { check_commit_target: 'ids' } %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button text-danger' do %>
<%= button_tag data: { check_commit_target: 'submit', action: 'check-commit#doSubmit' }, disabled: true, class: 'button is-danger' do %>
<i class="fa-solid fa-trash-can"></i>
<span class="ml-1"><%= t('.batch_destroy.title') %></span>
<% end %>
Expand Down

0 comments on commit 7f91bc4

Please sign in to comment.