mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update vehicle.rb
This commit is contained in:
@@ -50,6 +50,6 @@ class Vehicle < ActiveRecord::Base
|
||||
return '1000000000A'
|
||||
end
|
||||
v = self.vin[0,11]
|
||||
return vin.slice(0,8) + vin.slice(9,11)
|
||||
return v.slice(0,8) + v.slice(9,11)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user