mirror of
https://github.com/rickbarrette/redmine_qbo_reminders.git
synced 2026-11-17 21:00:36 -05:00
Separate permission for turning customer reminders off; fix the Compose recipe
- Send appointment reminders now covers only Send now / Send again; the new "Turn appointment reminders off/on for customers" permission covers the customer page's button - README's Compose service runs the task through the image's entrypoint, which installs the plugins' gems first (running bundle exec rake directly failed with Bundler::GemNotFound, since the Redmine container installs them at start) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
4 files changed
+18
-13
No files matched your search
@@ -6,7 +6,7 @@
|
||||
<i class="fa-regular fa-envelope"></i>
|
||||
<strong><%= l(:label_appointment_reminders) %>:</strong>
|
||||
<%= off ? l(:text_customer_reminders_off) : l(:text_customer_reminders_on) %>
|
||||
<% if User.current.allowed_to?(:send_appointment_reminders, nil, global: true) %>
|
||||
<% if User.current.allowed_to?(:manage_customer_reminders, nil, global: true) %>
|
||||
<%= button_to (off ? l(:button_reminders_on) : l(:button_reminders_off)),
|
||||
(off ? customer_reminders_on_path(customer) : customer_reminders_off_path(customer)),
|
||||
method: :post, form_class: 'customer-reminders-toggle' %>
|
||||
|
||||
Reference in new issue
Block a user