{% extends 'base.html' %} {% block content %}
Departure Date: {{ booking.depart_date }}
Departure Location: {{ booking.listing.depart_location }}
Departure Time: {{ booking.listing.depart_time }}
Seat Type: {{ booking.seat_type.capitalize() }}
Total Cost: £{{ booking.amount_paid }}
{% if booking.cancelled %}Cancellation Date: {{ booking.cancelled_date }}
{% endif %}Destination Location: {{ booking.listing.destination_location }}
Destination Time: {{ booking.listing.destination_time }}
Number of Seats: {{ booking.num_seats }}
Cost Per Person: £{{ booking.amount_paid / booking.num_seats }}
Cancelled: {{ 'Yes' if booking.cancelled else 'No' }}
{% if booking.cancelled %}Refunded Amount: £{{booking.refund_amount if booking.refund_amount else '0'}}
{% endif %}