fix xhr and javascript problems for group orderinvoice modal

This commit is contained in:
viehlieb 2023-12-11 18:19:12 +01:00
parent bdeee02873
commit 24c25b5278
10 changed files with 151 additions and 143 deletions

View file

@ -23,7 +23,8 @@ class OrderCollectiveDirectDebitXml
creditor_identifier: FoodsoftConfig[:group_order_invoices][:creditor_identifier],
)
group_orders.each do |group_order|
# Second: Add transactions
next if group_order.price == 0
sdd.add_transaction(
# Name of the debtor, in German: "Zahlungspflichtiger"
# String, max. 70 char