mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-12-29 14:11:00 -05:00
Update qbo_invoice.rb
This commit is contained in:
@@ -68,7 +68,7 @@ class QboInvoice < ActiveRecord::Base
|
|||||||
is_changed = false
|
is_changed = false
|
||||||
|
|
||||||
# Check the private notes
|
# Check the private notes
|
||||||
if notinvoice.private_note.nil?
|
if not invoice.private_note.nil?
|
||||||
invoice.private_note.scan(/#(\w+)/).flatten.each { |issue|
|
invoice.private_note.scan(/#(\w+)/).flatten.each { |issue|
|
||||||
attach_to_issue(Issue.find_by_id(issue.to_i), invoice)
|
attach_to_issue(Issue.find_by_id(issue.to_i), invoice)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user