Files
rickyandClaude Opus 5.5 a2ecb74c1d New plugin: weekly technician bonus credit memos (SOP-OPS-012)
Totals the shop's billable hours for a Sunday-Saturday week (picked
projects, trackers and users) against the SOP-OPS-012 target, and
credits each qualifying technician's QuickBooks customer account with a
credit memo: a "Tech Bonus <week> <total>/<goal> hours (total/goal)"
line, plus a separate tier line for every full 15 hours over the goal.
Credit memos are emailed through QuickBooks.

- Bonus technicians (admin): user, QuickBooks customer, role
  (technician/foreman), probation end
- Tech bonuses (global "Run tech bonuses" permission): week preview,
  attendance check, run, PDF and email again; re-running a week never
  credits anyone twice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:13:30 -05:00

15 lines
758 B
CSS

/* redmine_qbo_bonus: weekly bonus pages */
.tech-bonus-picker { margin-bottom: 1em; }
.tech-bonus-summary { display: flex; flex-wrap: wrap; gap: 1em; margin: 1em 0; }
.tech-bonus-summary .box { flex: 1 1 10em; margin: 0; text-align: center; }
.tech-bonus-summary .value { font-size: 1.8em; font-weight: bold; display: block; }
.tech-bonus-ok { color: #2e7d32; }
.tech-bonus-miss { color: #b26a00; }
.tech-bonus-error { color: #c62828; }
.tech-bonus-status { font-weight: bold; }
table.list.tech-bonus-table td { text-align: center; }
table.list.tech-bonus-table td.name, table.list.tech-bonus-table td.message { text-align: left; }
table.list.tech-bonus-table tr.ineligible td { opacity: .6; }
table.list.tech-bonus-table tfoot td { font-weight: bold; }