wip on entering individual date for invoices

This commit is contained in:
viehlieb 2022-03-29 13:17:36 +02:00
parent b2882d8592
commit 76be8fdf1a
3 changed files with 37 additions and 3 deletions

View file

@ -1,3 +1,9 @@
.row
= form_for :group_order_invoice, url: url_for('group_order_invoice#create_multiple') do |f|
= f.date_field :invoice_date, {}
= f.hidden_field :order_id, value: order.id
= f.submit 'Alle Rechnungen mit Datum erzeugen', class: 'btn btn small'
- order.group_orders.includes([:group_order_invoice, :ordergroup]).each do |go|
.row
.column.small-3