From c1af031d221bf46fc1b058b1b3052491c0188b87 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 23 Jan 2026 21:40:08 -0500 Subject: [PATCH] Link to sandbox if enabled --- app/views/customers/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/customers/show.html.erb b/app/views/customers/show.html.erb index 41dc594..15570f7 100644 --- a/app/views/customers/show.html.erb +++ b/app/views/customers/show.html.erb @@ -1,4 +1,4 @@ -

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

+

<%=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 %>