mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-11-17 21:50:37 -05:00
Fix permissions, holiday, hours, visibility and scheduling bugs
- customer_options is now covered by the add/edit permissions, so non-admin staff get the vehicle/estimate dropdowns - create_issues is now a POST member route with its own permission, checks add_issues on the target project, no longer redirects to a missing route, and has a button on the appointment page - "Last" week-of-month holidays (e.g. Memorial Day) now match every year - Cancelled and Call Out appointments no longer count toward hours - Calendar only shows appointments to users with View customer appointments, and only loads those near the displayed month - due_date skips weekends and holidays, matching the calendar layout - Subjects keep their casing; only the first letter is capitalized Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
10 files changed
+130
-17
No files matched your search
+3
-1
@@ -14,9 +14,11 @@ RedmineApp::Application.routes.draw do
|
||||
resources :customer_appointments do
|
||||
collection do
|
||||
get :customer_options
|
||||
get :create_issues
|
||||
get :history
|
||||
end
|
||||
member do
|
||||
post :create_issues
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user