Improved delivery-invoice-workflow.
This commit is contained in:
parent
936e6ef69a
commit
ff6b460cfc
28 changed files with 253 additions and 231 deletions
|
|
@ -19,7 +19,7 @@ class Finance::InvoicesController < ApplicationController
|
|||
end
|
||||
|
||||
def new
|
||||
@invoice = Invoice.new
|
||||
@invoice = Invoice.new(:supplier_id => params[:supplier_id], :delivery_id => params[:delivery_id])
|
||||
|
||||
respond_to do |format|
|
||||
format.html # new.html.erb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue