Sha256: ae0c61c5881ed1f39de3d57772e3b91004da91257f6dc3c02438169ee702ff8f

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

.contextual
  = contextual_link_to :new, Activity

%h1= t_title

%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
  - @work_days.each do |day|
    - overall_overtime += day.overtime
    %tr
      %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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt_projects-0.11.2 app/views/timesheets/index.html.haml