diff --git a/app/views/finance/balancing/new.html.haml b/app/views/finance/balancing/new.html.haml index 71b4e9e8..da9af99d 100644 --- a/app/views/finance/balancing/new.html.haml +++ b/app/views/finance/balancing/new.html.haml @@ -22,7 +22,7 @@ .column_content %ul - unless @order.invoice - %li= link_to "Rechnung anlegen", new_finance_invoice_path(:order_id => @order) + %li= link_to "Rechnung anlegen", new_finance_invoice_path(:order_id => @order, :supplier_id => @order.supplier) - unless @order.closed? %li= link_to "Bestellung abschließen", :action => "confirm", :id => @order