Update issues_show_hook_listener.rb

This commit is contained in:
2016-04-28 14:26:33 -04:00
parent 240b5de58b
commit 9d3cbfa2e0

View File

@@ -22,7 +22,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
# Check to see if there is a quickbooks user attached to the issue
if issue.customer
customer = link_to issue.customer.name, issue.customer
customer = link_to issue.customer.name, "#{Redmine::Utils::relative_url_root}/qbo/customers/#{issue.customer.id}"
end
# Check to see if there is a quickbooks item attached to the issue