mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Rename Customer
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
class Vehicle < ActiveRecord::Base
|
||||
|
||||
unloadable
|
||||
belongs_to :qbo_customer
|
||||
belongs_to :customer
|
||||
|
||||
attr_accessible :year, :make, :model, :qbo_customer_id, :notes, :vin
|
||||
validates_presence_of :year, :make, :model, :qbo_customer_id
|
||||
attr_accessible :year, :make, :model, :customer_id, :notes, :vin
|
||||
validates_presence_of :year, :make, :model, :customer_id
|
||||
|
||||
before_validation :decode_vin
|
||||
after_initialize :get_details
|
||||
|
||||
Reference in New Issue
Block a user