%table.list
  %tr
    %th= t_attr :date, Activity
    %th Wochentag
    %th.number= t_attr :hours_due, Activity
    %th.number= t_attr :hours_worked, Activity
    %th.number= t_attr :overtime, Activity
    %th.number= t_attr :overall_overtime, Activity

  - overall_overtime = 0
  - WorkDay.for_month(@employee).each do |day|
    - overall_overtime += day.overtime
    %tr{:style => "opacity: #{day.hours_due == 0.0 ? 0.4 : 1}; #{day.overtime < 0.0 ? 'color: #B94A48' : ''}"}
      %td= day.date
      %td= l(day.date, :format => '%A')
      %td.number= day.hours_due
      %td.number= day.hours_worked
      %td.number= day.overtime
      %td.number= overall_overtime

%table
  %tr
    %th= t_attr :date, Activity
    %th Wochentag
    %th.number= t_attr :hours_due, Activity
    %th.number= t_attr :hours_worked, Activity
    %th.number= t_attr :overtime, Activity
    %th.number= t_attr :overall_overtime, Activity

  - overall_overtime = 0
  - WorkDay.for_month(@employee).each do |day|
    - overall_overtime += day.overtime
    %tr{:style => "opacity: #{day.hours_due == 0.0 ? 0.4 : 1}; #{day.overtime < 0.0 ? 'color: #B94A48' : ''}"}
      %td= day.date
      %td= l(day.date, :format => '%A')
      %td.number= day.hours_due
      %td.number= day.hours_worked
      %td.number= day.overtime
      %td.number= overall_overtime

Drop unused .list style for timesheets table.
Drop unused .list style for timesheets table.
