mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update issues_show_hook_listener.rb
This commit is contained in:
@@ -33,10 +33,10 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
||||
|
||||
# Invoice Number
|
||||
if issue.qbo_invoices
|
||||
issue.qbo_invoices.each |i|
|
||||
issue.qbo_invoices.each |i| {
|
||||
invoice = issue.qbo_invoice.doc_number
|
||||
invoice_link = invoice_link + link_to( invoice, "#{Redmine::Utils::relative_url_root}/qbo/invoice/#{issue.qbo_invoice.id}", :target => "_blank").to_s
|
||||
end
|
||||
}
|
||||
end
|
||||
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user