mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added hook :show_issue_view_right
This commit is contained in:
@@ -17,6 +17,6 @@
|
||||
</div>
|
||||
|
||||
<div class="splitcontentleft">
|
||||
<%# call_hook here %>
|
||||
<%= call_hook :show_issue_view_right, {issue: issue, customer: @customer} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,6 +39,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
||||
context[:controller].send(:render_to_string, {
|
||||
:partial => 'issues/show_details',
|
||||
locals: {
|
||||
issue: issue,
|
||||
customer: customer,
|
||||
estimate_link: estimate_link,
|
||||
invoice_link: invoice_link
|
||||
|
||||
Reference in New Issue
Block a user