Files
redmine_qbo_calendar/app/views/customer_appointments/index.html.erb
T
Claude a4095b947f Add customer appointment history page
Adds a history page listing past customer appointments with customer,
status and date-range filters and pagination, linked from the customer
page, the appointments index and each appointment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-28 15:20:40 -04:00

20 lines
670 B
ERB

<h2><%= l(:title_customer_appointments) %></h2>
<div class="contextual">
<%= link_to issues_calendar_path do %>
<i class="fa-regular fa-calendar-days"></i> <%= l(:button_calendar) %>
<% end %>
<%= link_to history_customer_appointments_path do %>
<i class="fa-solid fa-clock-rotate-left"></i> <%= l(:label_appointment_history) %>
<% end %>
<% if User.current.allowed_to?(:add_customer_appointments, nil, global: true) %>
<%= link_to new_customer_appointment_path do %>
<i class="fa-regular fa-pen-to-square"></i> <%= l(:button_add) %>
<% end %>
<% end %>
</div>
<%= render partial: "list", locals: { appointments: @appointments } %>