diff --git a/init.rb b/init.rb index bbb61db..211b606 100644 --- a/init.rb +++ b/init.rb @@ -14,7 +14,7 @@ Redmine::Plugin.register :redmine_qbo do name 'Redmine QBO plugin' author 'Rick Barrette' description 'This is a plugin for Redmine to intergrate with Quickbooks Online to allow for seamless intergration CRM and invoicing of completed issues' - version '2026.1.6' + version '2026.1.7' url 'https://github.com/rickbarrette/redmine_qbo' author_url 'https://barrettefabrication.com' settings default: {'empty' => true}, partial: 'qbo/settings' diff --git a/lib/hooks/issues_show_hook_listener.rb b/lib/hooks/issues_show_hook_listener.rb index 8bf9bc7..297b558 100644 --- a/lib/hooks/issues_show_hook_listener.rb +++ b/lib/hooks/issues_show_hook_listener.rb @@ -28,7 +28,7 @@ module Hooks context[:controller].send(:render_to_string, { partial: 'issues/show_details', locals: { - customer: issue.customer ? link_to(issue.customer): nill, + customer: issue.customer ? link_to(issue.customer) : nil, estimate_link: issue.estimate ? link_to(issue.estimate, issue.estimate, target: :_blank) : nil, invoice_link: invoice_link.html_safe, issue: issue