{% include 'partial_header.html' %}

Editing hours for payperiod {{hoursform.start_date}}

{% set x = payperiod.week_totals()[0] %} {% set y = payperiod.week_totals()[1] %} {% for week in hoursform.weeks %} {% for day in week.days %} {% endfor %} {% for day in week.days %} {% endfor %} {% for day in week.days %} {% endfor %} {% if week == hoursform.week1 %} {% else %} {% endif %} {% for day in week.days %} {% endfor %} {% endfor %}
Date{{ day.date.strftime("%a, %b %d") }}
Start{{ day.start_time }}
End{{ day.end_time }}
Total: {{x}} hrsTotal: {{y}} hrs
{{hoursform.complete}}
{{hoursform.submit_hours}}

{% with messages = get_flashed_messages() %} {% if messages %}
{% for message in messages %} {{ message }}
{% endfor %}
{% endif %} {% endwith %}

{% include 'partial_footer.html' %}