mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update issues_show_hook_listener.rb
This commit is contained in:
@@ -41,10 +41,11 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if issue.vehicles
|
if issue.vehicles_id
|
||||||
vehicle = link_to issue.vehicles.to_s, "#{Redmine::Utils::relative_url_root}/vehicles/#{issue.vehicles.id}"
|
v = Vehicle.find(issues.vehicles_is)
|
||||||
vin = issue.vehicles.vin
|
vehicle = link_to v.to_s, "#{Redmine::Utils::relative_url_root}/vehicles/#{v.id}"
|
||||||
notes = issue.vehicles.notes
|
vin = v.vin
|
||||||
|
notes = v.notes
|
||||||
end
|
end
|
||||||
|
|
||||||
return "
|
return "
|
||||||
|
|||||||
Reference in New Issue
Block a user