Sha256: 9d31cb3ffc67e5d9354d683cd2d9daef5a66983ff3c633f9b505d9dcba9f19a4

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

.contextual
  = contextual_link_to :new, Activity

%h1= t_title

%table.list
  %tr
    %th Datum
    %th Wochentag
    %th.number Soll-Stunden
    %th.number Stunden
    %th.number Über-/Unterzeit
    %th.number Saldo

  - 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

2 entries across 2 versions & 1 rubygems

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