Update qbo_invoice.rb

This commit is contained in:
ricky authored and GitHub committed 2016-09-21 16:17:07 -04:00
1 parent 77ea20171e
commit 49e8f70b46
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ class QboInvoice < ActiveRecord::Base
return if issue.nil?
# skip this issue if the issue customer is not the same as the invoice customer
return if issue.customer_id != invoice.customer_ref.id
return if issue.customer_id != invoice.customer_ref
# Load the invoice into the database
qbo_invoice = QboInvoice.find_or_create_by(id: invoice.id)