mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
843c355a64
commit
2db29e1eec
1 file changed
+2
-2
@@ -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