diff --git a/app/views/customers/_actions.html.erb b/app/views/customers/_actions.html.erb index bf9ed64..ba7bec2 100644 --- a/app/views/customers/_actions.html.erb +++ b/app/views/customers/_actions.html.erb @@ -1,14 +1,16 @@ <%= call_hook :customer_actions_top, { customer: @customer } %> -<%= link_to t(:label_create_estimate), "https://qbo.intuit.com/app/estimate?nameId=#{@customer.id}", target: :_blank %> +

+ <%= link_to t(:label_new_issue), new_issue_path(issue: { customer_id: @customer.id }), target: :_blank %> +

-
-
+

+ <%= link_to t(:label_create_estimate), "https://qbo.intuit.com/app/estimate?nameId=#{@customer.id}", target: :_blank %> +

-<%= link_to t(:label_create_payment), "https://qbo.intuit.com/app/recvpayment?nameId=#{@customer.id}", target: :_blank %> - -
-
+

+ <%= link_to t(:label_create_payment), "https://qbo.intuit.com/app/recvpayment?nameId=#{@customer.id}", target: :_blank %> +

<%= call_hook :customer_actions_bottom, { customer: @customer } %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 6e1a023..30eaf4c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -65,6 +65,7 @@ en: label_model: "Model" label_name: "Name" label_new_customer: "New Customer" + label_new_issue: "New Issue" label_qbo_never_synced: "Never Synced" label_no_customers: "There are no customers matching the search term(s)." label_no_estimates: "No Estimates"