move to ajax function for every direct debit xml download
This commit is contained in:
parent
636aad0b3e
commit
f98d083647
23 changed files with 158 additions and 128 deletions
4
app/views/group_order_invoices/toggle_all_paid.js.erb
Normal file
4
app/views/group_order_invoices/toggle_all_paid.js.erb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<% @group_order_invoices.each do |group_order_invoice| %>
|
||||
$("#paid_<%= group_order_invoice.id %>").html("<%= escape_javascript(render partial: 'toggle_paid', locals: { group_order_invoice: group_order_invoice }) %>");
|
||||
<% end %>
|
||||
$("#toggle_all_paid_<%= @order.id %>").html("<%= escape_javascript(render partial: 'toggle_all_paid', locals: { order: @order }) %>");
|
||||
Loading…
Add table
Add a link
Reference in a new issue