{% extends 'base.html' %} {% block title %}Booking Details{% endblock %} {% block content %}
| Booking ID | {{ booking.booking_id|default:'None' }} | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| User | {{ booking.user.get_full_name|default:booking.user.username }} | |||||||||||||||||||||||||||||||||||
| Status | {{ booking.get_booking_status_display }} | |||||||||||||||||||||||||||||||||||
| Assigned Rider | {% if booking.rider %}{{ booking.rider.display_name|default:booking.rider.full_name }}{% else %}Not Assigned{% endif %} | |||||||||||||||||||||||||||||||||||
| Pickup Type | {{ booking.get_pickup_type_display }} | |||||||||||||||||||||||||||||||||||
| Schedule | {% if booking.schedule_pickup_date %}{{ booking.schedule_pickup_date }} {{ booking.schedule_pickup_time }}{% endif %} | |||||||||||||||||||||||||||||||||||
| Contact | {{ booking.contact_name }} / {{ booking.contact_mobile }} | |||||||||||||||||||||||||||||||||||
| Quantity | {{ booking.total_quantity }} | |||||||||||||||||||||||||||||||||||
| Total Price | {{ booking.total_final_price }} {{ booking.currency_code }} | |||||||||||||||||||||||||||||||||||
| Pickup Address |
{% if booking.pickup_address %}
{% if booking.pickup_address.street_address %}
{% else %}
Street: {{ booking.pickup_address.street_address }}
{% endif %}
{% if booking.pickup_address.city %}
City: {{ booking.pickup_address.city }}
{% endif %}
{% if booking.pickup_address.state %}
State: {{ booking.pickup_address.state }}
{% endif %}
{% if booking.pickup_address.zip_code %}
Zip Code: {{ booking.pickup_address.zip_code }}
{% endif %}
{% if booking.pickup_address.landmark %}
Landmark: {{ booking.pickup_address.landmark }}
{% endif %}
{% if not booking.pickup_address.street_address and booking.pickup_address.raw_address %}
{{ booking.pickup_address.raw_address }}
{% endif %}
No pickup address available.
{% endif %}
|
|||||||||||||||||||||||||||||||||||
| Order Details (Standard) |
{% if order_details_display %}
{% for service_key, service_val in order_details_display.items %}
Service: {{ service_key }}
{% if service_val %}
{% for category_key, items in service_val.items %}
{% endfor %}
{% else %}
Category: {{ category_key }}
{% endfor %}
{% else %}
No categories/items for this service.
{% endif %}
No standard items.
{% endif %}
|
|||||||||||||||||||||||||||||||||||
| Premium Details |
{% if premium_details_display %}
{% for service_key, service_val in premium_details_display.items %}
Service: {{ service_key }}
{% if service_val %}
{% for category_key, items in service_val.items %}
{% endfor %}
{% else %}
Category: {{ category_key }}
{% endfor %}
{% else %}
No categories/items for this service.
{% endif %}
No premium items.
{% endif %}
|
|||||||||||||||||||||||||||||||||||
| Luxury Details |
{% if luxury_details_display %}
{% for service_key, service_val in luxury_details_display.items %}
Service: {{ service_key }}
{% if service_val %}
{% for category_key, items in service_val.items %}
{% endfor %}
{% else %}
Category: {{ category_key }}
{% endfor %}
{% else %}
No categories/items for this service.
{% endif %}
No luxury items.
{% endif %}
|
|||||||||||||||||||||||||||||||||||
| Totals |
Quantity: {{ booking.total_quantity }}
Final Price: {{ booking.total_final_price }} {{ booking.currency_code }}
|
|||||||||||||||||||||||||||||||||||