mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update customer.rb
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
class Customer < ActiveRecord::Base
|
class Customer < ActiveRecord::Base
|
||||||
unloadable
|
unloadable
|
||||||
|
|
||||||
has_many :issues
|
has_many :issues, :foreign_key => 'customers_id'
|
||||||
has_many :qbo_purchases
|
has_many :qbo_purchases
|
||||||
has_many :vehicles
|
has_many :vehicles, :foreign_key => 'customers_id'
|
||||||
|
|
||||||
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details
|
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user