From a5de879260e17851c52f5d60d7f019021dbf65f4 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 26 Aug 2024 08:41:56 -0400 Subject: [PATCH] Fixed formatting --- app/views/customers/_actions.html.erb | 6 ++++++ app/views/customers/show.html.erb | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/views/customers/_actions.html.erb b/app/views/customers/_actions.html.erb index a240659..af481c8 100644 --- a/app/views/customers/_actions.html.erb +++ b/app/views/customers/_actions.html.erb @@ -1,5 +1,11 @@ <%= link_to t(:label_appointment), "https://calendar.google.com/calendar/render?action=TEMPLATE&text=#{@customer.name}+-&details=#{@customer.primary_phone}&dates=#{Time.now.strftime("%Y%m%d")}T090000/#{Time.now.strftime("%Y%m%d")}T170000", target: :_blank %> +
+
+ <%= link_to t(:label_create_estimate), "https://qbo.intuit.com/app/estimate?nameId=#{@customer.id}", target: :_blank %> +
+
+ <%= button_to t(:label_edit_customer), edit_customer_path(@customer), method: :get%> diff --git a/app/views/customers/show.html.erb b/app/views/customers/show.html.erb index d541c90..97bf7fa 100644 --- a/app/views/customers/show.html.erb +++ b/app/views/customers/show.html.erb @@ -5,9 +5,13 @@
+

<%=t(:label_details)%>:

+ + +
-

<%=t(:label_details)%>:

+

<%=t(:label_customer)%>:

<%= render :partial => 'customers/details', locals: {customer: @customer} %>
@@ -15,7 +19,10 @@

<%=t(:label_actions)%>:

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