Top menu opens this week; weeks run are for Run tech bonuses

The Tech bonuses top menu now goes to /tech_bonuses/current, which
redirects to the week containing today. The index (week picker and
weeks run) is limited to Run tech bonuses: View tech bonuses only
covers a week's page, whose title links to the index only for those
who can run the bonus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-16 16:55:16 -05:00
1 parent d35d408ac6
commit 67a0bc62aa
6 files changed
+28 -11

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ The tier line is only there when a tier was reached. Both lines use the product/
## Running a week
**Tech bonuses** (top menu) lists the weeks run so far. Pick a week to see:
**Tech bonuses** (top menu) opens this week, so far. For those who run the bonus, its title links to the weeks run so far and a week picker. A week shows:
* the shop's hours, the goal, the tiers reached and the hours to the next tier;
* each technician's hours and bonus, with an **Attended** box. Uncheck a technician who missed part of a scheduled shift;
@@ -55,7 +55,7 @@ Restart Redmine, then:
* Check the target and amounts.
* Pick the product/service.
3. **Administration » Bonus technicians**: add each technician and the Foreman. Give each one their role, the QuickBooks customer account their bonus is credited to, and the last day of their probation if they're in it.
4. **Administration » Roles and permissions**: give **Run tech bonuses** to the roles that run the bonus, and **View tech bonuses** to those who only see it (e.g. the Foreman). They're global permissions, so they apply to any role the user has in any project.
4. **Administration » Roles and permissions**: give **Run tech bonuses** to the roles that run the bonus, and **View tech bonuses** to those who only see a week's hours and bonuses (e.g. the Foreman), without the weeks run. They're global permissions, so they apply to any role the user has in any project.
**View tech bonuses** shows the weeks and each week's hours, tiers and bonuses, read-only. It doesn't show the technicians' customer accounts, the attendance boxes, or the credit memos' QuickBooks and PDF links, and it can't run a week or email a credit memo.