{% extends "cabinet/base_client.html" %} {% load i18n %} {% block title %}{% trans "My Bookings" %}{% endblock %} {% block page_title %}{% trans "My Bookings" %}{% endblock %} {% block sidebar_nav %}
  • {% trans "My Appointments" %}
  • {% trans "My Bookings" %}
  • {% trans "Profile" %}
  • {% endblock %} {% block sidebar_settings_link %} {% trans "Settings" %} {% endblock %} {% block cabinet_content %} {# ─── Stats row ─── #}
    {% trans "Upcoming" %}
    {{ stats.upcoming }}
    {% trans "Completed" %}
    {{ stats.completed }}
    {% trans "Cancelled" %}
    {{ stats.cancelled }}
    {# ─── Status filter tabs ─── #}
    {% trans "All" %} {% trans "Pending" %} {% trans "Confirmed" %} {% trans "Completed" %} {% trans "Cancelled" %}
    {# ─── Bookings table ─── #}
    {% trans "My Bookings" %}
    + {% trans "Book Now" %}
    {% for appt in page_obj %} {% empty %} {% endfor %}
    {% trans "DATE AND TIME" %} {% trans "SERVICE" %} {% trans "SPECIALIST" %} {% trans "STATUS" %}
    {{ appt.datetime_start|date:"j F Y" }}
    {{ appt.datetime_start|time:"H:i" }}
    {{ appt.service.name }}
    {{ appt.master.name|make_list|first }} {{ appt.master.name }}
    {% if appt.status == 'confirmed' %} {% trans "Confirmed" %} {% elif appt.status == 'pending' %} {% trans "Pending" %} {% elif appt.status == 'completed' %} {% trans "Completed" %} {% elif appt.status == 'cancelled' %} {% trans "Cancelled" %} {% elif appt.status == 'no_show' %} {% trans "No Show" %} {% else %} {{ appt.get_status_display }} {% endif %} {% if appt.status == 'pending' or appt.status == 'confirmed' %} {% endif %}

    {% trans "No bookings found" %}

    {% if page_obj.has_other_pages %} {% endif %}
    {% endblock %}