{% extends "base.html" %} {% block title %}Diary — {{ job_no }}{% endblock %} {% block crumb %} / {{ job_no }} / Diary{% endblock %} {% block body %} {# The Daily Site Report, writing itself while the day happens. Same fourteen sections as the rendered docx, in the same order, so what he watches fill in on his phone at 10am is the shape of what lands in the job folder at 5pm. He confirms; he does not compose. Nothing on this page changes a register. The only thing it accepts is his voice on the four boxes no register could ever know, and those land in their own file beside the others. #}
Job screen · Board ‹ {{ when.strftime('%a %d/%m/%Y') }} {% if not is_today %}›{% endif %}
{% if msg %}{{ msg }}
{% endif %} {% if not voice_on %}Voice unavailable — no transcription key set. Type it instead.
{% endif %} {% macro sayable(key, label) %}{{ n.text }} {{ n.timestamp[11:16] }} · {{ n.by }}
{% else %}TBC — say it
{% endfor %}Nothing yet.
{% endfor %} {% if not_seen %}Not signed on: {{ not_seen|join(', ') }}
{% endif %}{{ p.rego }} {{ p.vehicle }} — checked {{ p.timestamp[11:16] }} by {{ p.name }} {% if p.result == 'defect' %}· defect: {{ p.fails }}{% endif %}
{% else %}Nothing yet.
{% endfor %} {% for d in defects %}Open defect — {{ d.rego }} {{ d.fails }} ({{ d.note }})
{% endfor %}{{ l }}
{% else %}Nothing yet. Anything dragged on the board lands here.
{% endfor %}{{ z.title }} {% if z.stage %}{{ z.stage }}{% endif %} {% if z.estimate %}{{ z.estimate }}{% endif %} {% if z.done %}done{% endif %} {% if z.people %}· {{ z.people|join(', ') }}{% endif %}
{% else %}Nothing yet.
{% endfor %}Prestart signed: {{ prestart|length }}{% if prestart %} {{ prestart|map(attribute='name')|unique|join(', ') }}{% endif %}
Take 5s: {{ take5s|length }}
{% for t in take5s %}{{ t.name }} — {{ t.task }} {{ t.start[11:16] }}{% if t.finish %} · done {{ t.finish[11:16] }}{% endif %}
{% endfor %} {% for i in incidents %}{{ i.kind }} — {{ i.what }} {{ i.name }} · {{ i.timestamp[11:16] }}{% if i.where %} · {{ i.where }}{% endif %}
{% if i.photo_file %}Nothing yet.
{% endif %}{{ m.item }} — {{ labels.get(m.status, 'waiting') }} {{ m.name }} · {{ m.timestamp[11:16] }}{% if m.by %} · {{ m.by }}{% endif %}
{% else %}Nothing yet.
{% endfor %}{{ r.description }} {{ r.men }} · {{ r.hours_total }} hrs · {% if r.status == 'signed' %}signed by {{ r.signed_by }}{% else %}NOT SIGNED{% endif %}
{% else %}Nothing yet.
{% endfor %}Nothing yet.
{% endif %}Nothing yet.
{% endfor %}Nothing on this page has been written up by anyone. It is today's registers, read back.
{% endblock %}