{% extends "tenant/layouts/base.html" %} {% block title %}Dashboard{% endblock %} {% block content %}

Dashboard {% if location %}— {{ location.name }}{% endif %}

{{ today.strftime('%A, %B %d, %Y') }}
{% set kpi_items = [ ("Today's Revenue", "$" ~ "%.2f"|format(kpis.today_revenue), "graph-up-arrow", "success"), ("Appointments", kpis.total_appointments, "calendar3", "primary"), ("Completed", kpis.completed_appointments, "check-circle", "success"), ("Pending", kpis.pending_appointments, "hourglass-split", "warning"), ("Staff on Shift", kpis.staff_on_shift, "person-badge", "info"), ("Check-in Queue", kpis.queue_count, "door-open", "danger" if kpis.queue_count > 0 else "secondary"), ] %} {% for label, value, icon, color in kpi_items %}
{{ value }}
{{ label }}
{% endfor %}
Upcoming Today Full Calendar
{% if upcoming_appointments %}
{% for appt in upcoming_appointments %} {% endfor %}
TimeCustomerServiceStaffStatus
{{ appt.start_time.strftime('%I:%M %p') }} {{ appt.customer.name if appt.customer else '—' }} {{ appt.service.name if appt.service else '—' }} {{ appt.staff.name if appt.staff else '—' }} {{ appt.status }}
{% else %}
No upcoming appointments for today.
{% endif %}
{% endblock %}