{% extends 'base.html' %} {% block title %}HRMS - Table Reservations{% endblock %} {% block styles %} {% endblock %} {% block content %}
{% for reservation in reservations %} {% else %} {% endfor %}
RESERVATION ID CUSTOMER RESTAURANT DATE & TIME GUESTS TABLE STATUS ACTIONS
#{{ reservation.reservation.id }}
{{ reservation.user.full_name }}
{{ reservation.user.phone }}
{{ reservation.restaurant.name }}
{{ reservation.restaurant.city }}
{{ reservation.reservation.reservation_date.strftime('%b %d, %Y') }}
{{ reservation.reservation.reservation_time.strftime('%I:%M %p') }}
{{ reservation.reservation.guest_count }} {% if reservation.reservation.table_number %}#{{ reservation.reservation.table_number }}{% else %}-{% endif %} {{ reservation.reservation.status|title }} {% if reservation.reservation.status == 'pending' %} {% elif reservation.reservation.status == 'preparing' %} {% elif reservation.reservation.status == 'ready' %} {% endif %}
No reservations found
{% if pagination.pages > 1 %}
Showing {{ pagination.items|length }} of {{ pagination.total }} reservations
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}