{% extends 'base.html' %} {% block title %}Bookings{% endblock %} {% block page_title %}Bookings{% endblock %} {% block content %}
| Booking | Guest | Hotel / Room | Check-In | Check-Out | Nights | Amount | Payment | Status | |
|---|---|---|---|---|---|---|---|---|---|
BK{{ bk.pk|stringformat:"04d" }} |
{{ bk.guest.full_name }} |
{{ bk.room.hotel.name }} Room {{ bk.room.room_number }} |
{{ bk.check_in_date|date:"d M Y" }} | {{ bk.check_out_date|date:"d M Y" }} | {{ bk.number_of_nights }} | TSh {{ bk.total_amount|floatformat:0 }} | {% if bk.payment_status == 'paid' %}Paid {% elif bk.payment_status == 'partial' %}Partial {% else %}Pending{% endif %} | {% if bk.booking_status == 'reserved' %}Reserved {% elif bk.booking_status == 'checked_in' %}Checked In {% elif bk.booking_status == 'checked_out' %}Checked Out {% else %}Cancelled{% endif %} | |
| No bookings found. | |||||||||