Fixed buggy link in finance/balancing/new.html.haml
* Link to "Rechnung anlegen" did not send supplier id. Signed-off-by: bennibu <benni@dresdener27.de>
This commit is contained in:
parent
f655272448
commit
39fdda4019
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
.column_content
|
.column_content
|
||||||
%ul
|
%ul
|
||||||
- unless @order.invoice
|
- 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?
|
- unless @order.closed?
|
||||||
%li= link_to "Bestellung abschließen", :action => "confirm", :id => @order
|
%li= link_to "Bestellung abschließen", :action => "confirm", :id => @order
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue