{% extends 'base.html' %} {% load static %} {% block title %}Log Work | FoxFitt{% endblock %} {% block content %}

Log Daily Attendance

Back
{# --- Conflict Warning --- #} {% if conflicts %} {% endif %} {# --- Form Errors --- #} {% if form.errors %}
Please fix the following:
    {% for field, errors in form.errors.items %} {% for error in errors %}
  • {{ error }}
  • {% endfor %} {% endfor %}
{% endif %}
{% csrf_token %} {# --- Date Range --- #}
{{ form.date }}
{{ form.end_date }} Leave blank to log a single day
{# --- Weekend Checkboxes --- #}
{{ form.include_saturday }}
{{ form.include_sunday }}
{# --- Project and Team --- #}
{{ form.project }}
{{ form.team }}
{# --- Worker Checkboxes --- #}
{% for worker in form.workers %}
{{ worker.tag }}
{% endfor %}
{# --- Overtime --- #}
{{ form.overtime_amount }}
{# --- Notes --- #}
{{ form.notes }}
{# --- Submit --- #}
{# --- Estimated Cost Card (Admin Only) --- #} {% if is_admin %}
Estimated Cost
R 0.00
0 worker(s) × 1 day(s)

This estimate is based on each worker's daily rate multiplied by the number of working days selected. Overtime is not included.
{% endif %}
{% endblock %}