%= render partial: 'tech_bonuses/styles' %>
<%= l(:label_no_data) %>
<% else %>| <%= l(:label_tech_bonus_week) %> | <%= l(:label_tech_bonus_hours_total_goal) %> | <%= l(:label_tech_bonus_tiers) %> | <%= l(:label_tech_bonus_credits) %> | <%= l(:label_tech_bonus_amount) %> | <%= l(:label_tech_bonus_run_by) %> |
|---|---|---|---|---|---|
| <%= link_to bonus_week_title(bonus_week.week), tech_bonus_week_path(bonus_week.week.to_param) %> | <%= bonus_hours(bonus_week.total_hours) %>/<%= bonus_hours(bonus_week.goal_hours) %> | <%= bonus_week.tiers %> | <%= bonus_week.credits.count(&:credited?) %> <% failed = bonus_week.credits.count { |credit| credit.status == 'failed' } %> <% if failed.positive? %>(<%= l(:label_tech_bonus_failed_count, count: failed) %>)<% end %> | <%= bonus_money(bonus_week.credited_total) %> | <%= bonus_week.run_by ? link_to_user(bonus_week.run_by) : '' %> <%= format_time(bonus_week.updated_at) %> |