mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_invoice.rb
This commit is contained in:
@@ -70,7 +70,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.save!
|
i.qbo_invoices.save!
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
puts "Something when wrong..."
|
puts "Something when wrong..."
|
||||||
|
|||||||
Reference in New Issue
Block a user