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>
9 lines
360 B
ERB
9 lines
360 B
ERB
<h2><%= link_to l(:label_bonus_technician_plural), bonus_technicians_path %> » <%= @technician.name %></h2>
|
|
|
|
<%= labelled_form_for @technician, url: bonus_technician_path(@technician), method: :patch do |f| %>
|
|
<%= render partial: 'bonus_technicians/form', locals: { f: f } %>
|
|
<%= submit_tag l(:button_save) %>
|
|
<% end %>
|
|
|
|
<% html_title @technician.name %>
|