From 7f8038d08580abe76e12bc0e5bff23e5ac7bbcc3 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 6 Aug 2026 16:40:06 -0400 Subject: [PATCH] New appointment link --- app/views/common/_calendar.html.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index bdcd2c6..0af1de6 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -1,3 +1,9 @@ +
+ <%= link_to l(:label_appointment_new, default: 'New Appointment'), + new_customer_appointment_path, + class: 'icon icon-add' %> +
+ <%= form_tag({}, data: { cm_url: issues_context_menu_path }) do %> <%= hidden_field_tag 'back_url', url_for(params: request.query_parameters), id: nil %> @@ -24,6 +30,11 @@

<%= day.day %> (<%= abbr_day_name(day.cwday) %>) + + <%= link_to sprite_icon('add'), + new_customer_appointment_path(start_date: day), + class: 'icon-only icon-add', + title: l(:label_appointment_new, default: 'New Appointment') %>

<% calendar.events_on(day).each do |event| %>