From 119c36569fd33fbfa57f3949b753d8d0e216f1de Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sun, 2 Apr 2017 07:08:24 -0400 Subject: [PATCH] Added association for invoices & estimates --- app/models/customer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/customer.rb b/app/models/customer.rb index 4762e9f..224c5d7 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -13,6 +13,8 @@ class Customer < ActiveRecord::Base has_many :issues has_many :qbo_purchases + has_many :qbo_invoices + has_many :qbo_estimates has_many :vehicles attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone