{% extends 'base.html' %}{% block title %}Ticket #{{ ticket.id }}{% endblock %}{% block content %}
{{ ticket.customer.name }} · Created {{ ticket.created_at.strftime('%b %-d, %Y') }}
Total time recorded
{% if ticket.active_entry and ticket.active_entry.staff_id == current_user.id %}Time entries recorded by your team
| TEAM MEMBER | STARTED | ENDED | DURATION | |
|---|---|---|---|---|
| {{ e.staff_name[:1]|upper }} {{ e.staff_name }} | {{ e.started_at.strftime('%b %-d, %Y · %-I:%M %p') }} | {{ e.ended_at.strftime('%b %-d, %Y · %-I:%M %p') if e.ended_at else 'In progress' }} | {{ e.minutes|duration if e.ended_at else ((e.started_at|elapsed)|int)|duration }} | {% if not e.ended_at %}{% endif %} |
| No time recorded yet. Start working to create the first entry. | ||||