From 39fdda401959869b5eba0ebac90068e857fb1481 Mon Sep 17 00:00:00 2001 From: sandoz Date: Fri, 20 Mar 2009 23:32:47 +0800 Subject: [PATCH] Fixed buggy link in finance/balancing/new.html.haml * Link to "Rechnung anlegen" did not send supplier id. Signed-off-by: bennibu --- 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