mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
view_customers_show_estimate_link lets a plugin replace the customer page's Create Estimate link (which opens QuickBooks). view_estimate_actions adds links after an estimate on the customer page's list and the issue page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
26 lines
820 B
ERB
26 lines
820 B
ERB
<div class="splitcontent">
|
|
<div class="splitcontentleft">
|
|
<div class="customer_id attribute">
|
|
<div class="label"><span><%=t(:field_customer)%></span>:</div>
|
|
<div class="value"><%= customer %></div>
|
|
</div>
|
|
|
|
<div class="estimate_id attribute">
|
|
<div class="label"><span><%=t(:field_estimate)%></span>:</div>
|
|
<div class="value">
|
|
<%= estimate_link %>
|
|
<%= call_hook :view_estimate_actions, { estimate: issue.estimate } if issue.estimate %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="invoice_id attribute">
|
|
<div class="label"><span><%=t(:field_invoice)%></span>:</div>
|
|
<div class="value"><%= invoice_link %></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="splitcontentleft">
|
|
<%= call_hook :show_issue_view_right, {issue: issue} %>
|
|
</div>
|
|
</div>
|