<%=t(:field_customer)%> #<%= @customer.id %> - <%= link_to @customer.to_s, "https://#{Setting.plugin_redmine_qbo[:sandbox] ? "sandbox" : "app"}.qbo.intuit.com/app/customerdetail?nameId=#{@customer.id}", target: :_blank %>

<%=t(:label_details)%>:

<%=t(:field_customer)%>:

<%= render partial: 'customers/details', locals: {customer: @customer} %>

<%=t(:label_actions)%>:

<%= render partial: 'customers/actions', locals: {customer: @customer} %>

<%=t(:estimates)%>:

<%= render partial: 'estimates/list', locals: {customer: @customer} %>

<%=t(:label_invoices)%>:

<%= render partial: 'invoices/list', locals: {customer: @customer} %>
<%= call_hook :show_customer_view_right, {customer: @customer} %>

<%=@issues.open.count%> <%=t(:label_open_issues)%> - <%=@hours.round(1)%> <%=t(:label_hours)%>

<%= render partial: 'issues/list_simple', locals: {issues: @issues.open} %>

<%=@closed_issues.count%> <%=t(:label_closed_issues)%> - <%= @closed_hours.round(1)%> <%=t(:label_hours)%>

<%= render partial: 'issues/list_simple', locals: {issues: @closed_issues} %>