mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Added association for invoices & estimates
This commit is contained in:
@@ -13,6 +13,8 @@ class Customer < ActiveRecord::Base
|
|||||||
|
|
||||||
has_many :issues
|
has_many :issues
|
||||||
has_many :qbo_purchases
|
has_many :qbo_purchases
|
||||||
|
has_many :qbo_invoices
|
||||||
|
has_many :qbo_estimates
|
||||||
has_many :vehicles
|
has_many :vehicles
|
||||||
|
|
||||||
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone
|
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone
|
||||||
|
|||||||
Reference in New Issue
Block a user