Remove redundant customer appointment history links from calendar and customer actions views

This commit is contained in:
ricky committed 2026-10-29 22:53:19 -04:00
1 parent 163b67b02a
commit 3361dfe9dd
3 files changed
-19

No files matched your search

@@ -3,9 +3,4 @@
<p>
<%= link_to l(:label_add_appointment), new_customer_appointment_path(customer_id: customer.id), target: :_blank, id: :appointment_link %>
</p>
<% end %>
<% if User.current.allowed_to?(:view_customer_appointments, nil, global: true) %>
<p>
<%= link_to l(:label_appointment_history), history_customer_appointments_path(customer_id: customer.id), id: :appointment_history_link %>
</p>
<% end %>
@@ -1,9 +1,4 @@
<div class="customer-appointments-simple">
<div class="contextual">
<%= link_to history_customer_appointments_path(customer_id: customer.id), title: l(:label_appointment_history) do %>
<i class="fa-solid fa-clock-rotate-left"></i> <%= l(:label_history) %>
<% end %>
</div>
<h4><%= l(:label_upcoming_customer_appointments) %>:</h4>