From 2c5294495625003490b05b21f9fdb4a643fcfcf2 Mon Sep 17 00:00:00 2001 From: sandoz Date: Fri, 20 Mar 2009 16:32:47 +0100 Subject: [PATCH] Fixed buggy link in finance/balancing/new.html.haml * Link to "Rechnung anlegen" did not send supplier id. --- app/views/finance/balancing/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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