mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update vehicle.rb
This commit is contained in:
1 parent
5c0c0cc657
commit
e7ae654066
1 file changed
+1
-1
@@ -28,7 +28,7 @@ class Vehicle < ActiveRecord::Base
|
||||
|
||||
# returns a human readable string
|
||||
def to_s
|
||||
return "#{customer.name} - #{year} #{make} #{model}"
|
||||
return "#{customer.name if customer} - #{year} #{make} #{model}"
|
||||
end
|
||||
|
||||
# returns the raw JSON details from EMUNDS
|
||||
|
||||
Reference in new issue
Block a user