Update qbo_invoice.rb

This commit is contained in:
2016-09-13 22:57:45 -04:00
committed by GitHub
parent 332deed21e
commit 4b7cf407e8

View File

@@ -66,7 +66,7 @@ class QboInvoice < ActiveRecord::Base
# Attach the invoice to the issue
unless i.qbo_invoices.include?(qbo_invoice)
i.qbo_invoices << qbo_invoice
i.qbo_invoices.save!
i.save!
end
# update the invoive custom fields with infomation from the work ticket if available