initial commit

Co-authored-by: viehlieb <pf@pragma-shift.net>
This commit is contained in:
Philipp Rothmann 2023-07-24 12:04:33 +02:00
commit 4139bfd40b
73 changed files with 1747 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/ insert_bottom thead
%th= heading_helper GroupOrderInvoice, :name
%th
/ insert_bottom tbody
%td{id: "generate-invoice#{order.id}"}
- if order.closed?
-if FoodsoftConfig[:contact][:tax_number] && order.ordergroups.present?
= render :partial => 'group_order_invoices/links', locals:{order: order}
-else
= I18n.t('activerecord.attributes.group_order_invoice.tax_number_not_set')
- else
= t('orders.index.not_closed')