{% extends 'base.html' %} {% block title %}Booking Details{% endblock %} {% block content %}
Booking Details - {{ booking.booking_id|default:'None' }}
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 %}
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 %}
{% else %}
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 %}
Category: {{ category_key }}
{% for item in items %} {% if item.booking_items %} {% endif %} {% endfor %}
Item ID Name Service Qty Unit Price Total
{{ item.item_id }} {{ item.item_name }} {{ item.item_service }} {{ item.item_quantity }} {{ item.unit_price }} {{ item.total_item_price }}
Individual Items (Tags): {% for tag in item.booking_items %} {% endfor %}
Tag Color Damaged? Description
{{ tag.tag }} {{ tag.color|default:"-" }} {% if tag.is_damaged %} Yes {% else %} No {% endif %} {{ tag.damage_description|default:"-" }}
{% endfor %} {% else %}
No categories/items for this service.
{% endif %}
{% endfor %} {% else %}
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 %}
Category: {{ category_key }}
{% for item in items %} {% if item.booking_items %} {% endif %} {% endfor %}
Item ID Name Service Brand Material Note Qty Unit Price Total
{{ item.item_id }} {{ item.item_name }} {{ item.item_service }} {{ item.brand_name|default:"-" }} {{ item.material_name|default:"-" }} {{ item.note|default:"-" }} {{ item.item_quantity }} {{ item.unit_price }} {{ item.total_item_price }}
Individual Items (Tags): {% for tag in item.booking_items %} {% endfor %}
Tag Color Damaged? Description
{{ tag.tag }} {{ tag.color|default:"-" }} {% if tag.is_damaged %} Yes {% else %} No {% endif %} {{ tag.damage_description|default:"-" }}
{% endfor %} {% else %}
No categories/items for this service.
{% endif %}
{% endfor %} {% else %}
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 %}
Category: {{ category_key }}
{% for item in items %} {% if item.booking_items %} {% endif %} {% endfor %}
Item ID Name Service Brand Material Note Qty Unit Price Total
{{ item.item_id }} {{ item.item_name }} {{ item.item_service }} {{ item.brand_name|default:"-" }} {{ item.material_name|default:"-" }} {{ item.note|default:"-" }} {{ item.item_quantity }} {{ item.unit_price }} {{ item.total_item_price }}
Individual Items (Tags): {% for tag in item.booking_items %} {% endfor %}
Tag Color Damaged? Description
{{ tag.tag }} {{ tag.color|default:"-" }} {% if tag.is_damaged %} Yes {% else %} No {% endif %} {{ tag.damage_description|default:"-" }}
{% endfor %} {% else %}
No categories/items for this service.
{% endif %}
{% endfor %} {% else %}
No luxury items.
{% endif %}
Totals
Quantity: {{ booking.total_quantity }}
Final Price: {{ booking.total_final_price }} {{ booking.currency_code }}
{% endblock %}