mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update qbo_invoice.rb
This commit is contained in:
@@ -54,7 +54,7 @@ class QboInvoice < ActiveRecord::Base
|
|||||||
qbo_invoice.save!
|
qbo_invoice.save!
|
||||||
|
|
||||||
# Scan the line items for hashtags and attach to the applicable issues
|
# Scan the line items for hashtags and attach to the applicable issues
|
||||||
lines = qbo_invoice.line_items
|
lines = invoice.line_items
|
||||||
lines.each { |line|
|
lines.each { |line|
|
||||||
issues = line.description.scan(/#(\w+)/).flatten
|
issues = line.description.scan(/#(\w+)/).flatten
|
||||||
issues.each { |issue|
|
issues.each { |issue|
|
||||||
|
|||||||
Reference in New Issue
Block a user