Update qbo_invoice.rb

This commit is contained in:
ricky authored and GitHub committed 2016-08-03 16:31:17 -04:00
1 parent 1310d1e63e
commit b923e15d46
1 file changed
+1 -1
+1 -1
View File
@@ -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 = invoice.line_items lines = qbo_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|