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
|
begin
|
||||||
if cf.name.eql? "VIN"
|
if cf.name.eql? "VIN"
|
||||||
vin = Vehicle.find(i.vehicles_id).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
|
if not cf.string_value.to_s.eql? vin
|
||||||
cf.string_value = vin
|
cf.string_value = vin.to_s
|
||||||
is_changed = true
|
is_changed = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user