Update qbo_invoice.rb

This commit is contained in:
ricky authored and GitHub committed 2016-09-13 22:57:45 -04:00
1 parent 332deed21e
commit 4b7cf407e8
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ class QboInvoice < ActiveRecord::Base
# Attach the invoice to the issue # Attach the invoice to the issue
unless i.qbo_invoices.include?(qbo_invoice) unless i.qbo_invoices.include?(qbo_invoice)
i.qbo_invoices << qbo_invoice i.qbo_invoices << qbo_invoice
i.qbo_invoices.save! i.save!
end end
# update the invoive custom fields with infomation from the work ticket if available # update the invoive custom fields with infomation from the work ticket if available