Update qbo_invoice.rb

This commit is contained in:
2016-08-03 16:33:38 -04:00
committed by GitHub
parent 578e7ba807
commit a266da2cd7

View File

@@ -54,7 +54,7 @@ class QboInvoice < ActiveRecord::Base
qbo_invoice.save!
# Scan the line items for hashtags and attach to the applicable issues
lines = qbo_invoice.line_items
lines = invoice.line_items
lines.each { |line|
issues = line.description.scan(/#(\w+)/).flatten
issues.each { |issue|