View tech bonuses permission, for the Foreman
A global "View tech bonuses" permission shows the weeks run and each week's hours, tiers and bonuses, read-only: no attendance boxes, run button or Email again, and no customer accounts, emailed-to addresses, or QuickBooks/PDF links. "Run tech bonuses" is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a2ecb74c1d
commit
07e79a3c00
7 files changed
+58
-9
No files matched your search
@@ -34,6 +34,7 @@ class TechBonusesController < ApplicationController
|
||||
@report = RedmineQboBonus::WeekReport.new(@week)
|
||||
@bonus_week = TechBonusWeek.for(@week)
|
||||
@credits = @bonus_week ? @bonus_week.credits.index_by(&:user_id) : {}
|
||||
@can_run = RedmineQboBonus.allowed?
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in new issue
Block a user