{% extends 'base.html' %} {% block title %}Booking Testing - Yatra Booking System{% endblock %} {% block content %}

🎫 Booking Management

Manually test booking process, payment integration, and ticket generation functionality.

➕ Add New Booking ⚙️ Manage Bookings

Loading booking data...

Bookings in Database (Latest 20)

{% for booking in bookings %} {% empty %} {% endfor %}
Booking Code Passenger Route Bus Amount Status Booked Date
{{ booking.booking_code }} {{ booking.user.full_name }} {{ booking.schedule.route.source_city.city_name }} → {{ booking.schedule.route.destination_city.city_name }} {{ booking.schedule.bus.bus_name|default:booking.schedule.bus.registration_no|default:"N/A" }} Rs. {{ booking.total_amount|floatformat:2 }} {{ booking.booking_status }} {{ booking.booked_at|date:"M d, Y H:i" }}

📭 No Bookings Found

Your database doesn't contain any booking records yet.

Bookings will appear here when customers make reservations through your application.

🔍 Manual Testing Checklist

Booking Process Testing

  • ✅ Seat selection functionality
  • ✅ Passenger information forms
  • ✅ Booking confirmation workflow
  • ✅ Booking code generation
  • ✅ Email notifications

Payment Testing

  • ✅ Payment gateway integration
  • ✅ Amount calculation accuracy
  • ✅ Payment status tracking
  • ✅ Failed payment handling
  • ✅ Receipt generation

Booking Management

  • ✅ Booking modifications
  • ✅ Cancellation workflow
  • ✅ Refund processing
  • ✅ Ticket generation (PDF/QR)
  • ✅ Booking history tracking
{% endblock %}