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

📅 Schedule Management

Manually test schedule creation, timing validation, and fare calculation functionality.

➕ Add New Schedule ⚙️ Manage Schedules

Schedules in Database (Latest 50 Records)

{% if schedules %} {% for schedule in schedules %} {% endfor %}
ID Route Bus Departure Arrival Fare Status
{{ schedule.id }} {{ schedule.route.source_city.city_name }}
{{ schedule.route.destination_city.city_name }}
{{ schedule.bus.bus_name|default:schedule.bus.registration_no|default:"N/A" }} {{ schedule.departure_time|date:"M d, Y H:i" }} {{ schedule.arrival_time|date:"M d, Y H:i" }} Rs. {{ schedule.fare|floatformat:2 }} {{ schedule.status }}
{% else %}

📅 No Schedules Found

Your database doesn't contain any schedule records yet.

Schedules will appear here once operators create bus timings through your application.

{% endif %}

🔍 Manual Testing Checklist

Schedule Creation

  • ✅ Timing validation logic
  • ✅ Bus availability checking
  • ✅ Route assignment verification
  • ✅ Departure/arrival consistency
  • ✅ Conflict detection algorithms

Fare Management

  • ✅ Dynamic pricing validation
  • ✅ Fare calculation accuracy
  • ✅ Seasonal pricing rules
  • ✅ Discount application logic
  • ✅ Tax computation accuracy

Availability Management

  • ✅ Real-time seat tracking
  • ✅ Schedule status updates
  • ✅ Cancellation workflows
  • ✅ Recurring schedule creation
  • ✅ Performance monitoring
{% endblock %}