From 2970bd092c8727f6cadb735353c75265790a5f97 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 13 Sep 2016 23:28:36 -0400 Subject: [PATCH] Update issues_show_hook_listener.rb --- lib/issues_show_hook_listener.rb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/issues_show_hook_listener.rb b/lib/issues_show_hook_listener.rb index 1301be3..8410b2c 100644 --- a/lib/issues_show_hook_listener.rb +++ b/lib/issues_show_hook_listener.rb @@ -20,15 +20,9 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener def view_issues_show_details_bottom(context={}) issue = context[:issue] - issue_fields_rows do |rows| - - # Check to see if there is a quickbooks user attached to the issue - if issue.customer - 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 - + # Check to see if there is a quickbooks user attached to the issue + if issue.customer + customer = link_to issue.customer.name, "#{Redmine::Utils::relative_url_root}/customers/#{issue.customer.id}" end # Estimate Number