Remove new apointment links from non working days

This commit is contained in:
ricky committed 2026-08-11 15:13:21 -04:00
1 parent 045414e789
commit 4e4389dbb8
1 file changed
+1 -1
+1 -1
View File
@@ -142,7 +142,7 @@
</span>
<span class="day-num-center" style="display: inline-flex; align-items: center; justify-self: center;">
<% if day >= User.current.today %>
<% if day >= User.current.today && !non_working_days.include?(day.cwday.to_s) %>
<%= link_to sprite_icon('add'),
new_customer_appointment_path(start_date: day),
class: 'icon-only icon-add',