foodsoft/app/views/group_order_invoices/_toggle_payed.html.haml
2023-11-17 15:53:32 +01:00

2 lines
No EOL
256 B
Text

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