From adb5344d51513eee581b0611fbd2a4e6fe5cc863 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 10 Aug 2026 19:14:16 -0400 Subject: [PATCH] Refactor appointment tooltip links for customer, vehicle, and estimate to simplify display --- app/views/customer_appointments/_tooltip.html.erb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/views/customer_appointments/_tooltip.html.erb b/app/views/customer_appointments/_tooltip.html.erb index 64e6758..267427c 100644 --- a/app/views/customer_appointments/_tooltip.html.erb +++ b/app/views/customer_appointments/_tooltip.html.erb @@ -19,14 +19,14 @@ <% if appointment.customer %> <%= l(:label_customer) %> - <%= link_to appointment.customer.name, appointment.customer %> + <%= link_to appointment.customer %> <% end %> <% if appointment.vehicle %> <%= l(:label_vehicle) %> - <%= link_to appointment.vehicle.name, appointment.vehicle %> + <%= link_to appointment.vehicle %> <% end %> @@ -51,8 +51,7 @@ <%= l(:label_estimate) %> - <%= link_to "##{appointment.estimate.id}", - appointment.estimate %> + <%= link_to appointment.estimate %> <% end %> @@ -94,7 +93,5 @@

- <%= link_to l(:label_open_appointment), - customer_appointment_path(appointment), - class: "icon icon-edit" %> + <%= link_to l(:label_open_appointment), customer_appointment_path(appointment), class: "icon icon-edit" %>

\ No newline at end of file