Update issues_show_hook_listener.rb

This commit is contained in:
2016-09-13 23:24:34 -04:00
committed by GitHub
parent 04a1670ac2
commit e542f098a8

View File

@@ -23,6 +23,8 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
# Check to see if there is a quickbooks user attached to the issue # Check to see if there is a quickbooks user attached to the issue
if issue.customer if issue.customer
customer = link_to issue.customer.name, "#{Redmine::Utils::relative_url_root}/customers/#{issue.customer.id}" customer = link_to issue.customer.name, "#{Redmine::Utils::relative_url_root}/customers/#{issue.customer.id}"
customer = rows.left l(:field_customer), customer, :class => 'customer'
end end
# Estimate Number # Estimate Number