{% extends 'base.html' %} {% block content %}
Booking ID | User Name | Booking Date | Departure Date | Departure Location | Destination Location | Cancelled | View Booking |
---|---|---|---|---|---|---|---|
{{ booking.Bookings.id }} | {{ booking.username }} | {{ booking.Bookings.booking_date.strftime("%a, %d %b %Y") }} | {{ booking.Bookings.depart_date.strftime("%a, %d %b %Y") }} | {{ booking.Bookings.listing.depart_location }} | {{ booking.Bookings.listing.destination_location }} | {{ 'Yes' if booking.Bookings.cancelled else 'No' }} | View Booking |