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:
@@ -76,9 +76,9 @@ class QboInvoice < ActiveRecord::Base
|
||||
begin
|
||||
if cf.name.eql? "VIN"
|
||||
vin = Vehicle.find(i.vehicles_id).vin
|
||||
break if vin.blank?
|
||||
break if vin.nil?
|
||||
if not cf.string_value.to_s.eql? vin
|
||||
cf.string_value = vin
|
||||
cf.string_value = vin.to_s
|
||||
is_changed = true
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user