mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-04 04:40:43 -04:00
Remove new apointment links from non working days
This commit is contained in:
1 parent
045414e789
commit
4e4389dbb8
1 file changed
+1
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user