foodsoft/app/views/group_order_invoices/_toggle_paid.html.haml

2 lines
No EOL
252 B
Text

= link_to toggle_paid_group_order_invoice_path(group_order_invoice), remote: true, method: :patch, data: { turbolinks: false } do
= check_box_tag 'paid', '1', group_order_invoice.paid , class: 'form-check-input', id: "paid_#{group_order_invoice.id}"