mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update vehicles_controller.rb
This commit is contained in:
@@ -30,6 +30,9 @@ class VehiclesController < ApplicationController
|
||||
def new
|
||||
@vehicle = Vehicle.new
|
||||
@customers = Customer.all.order(:name)
|
||||
if params[:customer]
|
||||
@customer = Customer.find_by_id(params[:customer])
|
||||
end
|
||||
end
|
||||
|
||||
# create a new vehicle
|
||||
|
||||
Reference in New Issue
Block a user