{% extends 'hosting_app/base_hosting.html' %} {% load static %} {% block title %}Booking Detail | Host in Sri Lanka{% endblock %} {% block content %}

{{ booking.get_event_type_display }}

Booking for {{ booking.venue_name_snapshot }}. Review event details, selected items, payment status, and host payout summary.

Event & Client Details

Information submitted by the guest or client.

Client {% if booking.guest_profile %} {{ booking.guest_profile }} {% elif booking.hosting_client_profile %} {{ booking.hosting_client_profile.full_name }} {% elif booking.booked_by_user %} {{ booking.booked_by_user.get_username }} {% else %} Unknown Client {% endif %}
Client Type {{ booking.get_client_type_display }}
Venue {{ booking.venue_name_snapshot }}
Event Date {{ booking.preferred_event_date }}
Start Time {{ booking.preferred_start_time|default:"Flexible / Not specified" }}
Guests {{ booking.number_of_guests }}
Status {{ booking.get_status_display }}
Payment Status {{ booking.get_payment_status_display }}

Selected Items

Package, meal plan, and add-on services.

Event Package {% if booking.selected_package %} {{ booking.package_title_snapshot }} — USD {{ booking.package_amount_snapshot_usd|floatformat:2 }} {% else %} Not selected {% endif %}
Meal Plan {% if booking.selected_meal_plan %} {{ booking.meal_plan_title_snapshot }} — USD {{ booking.meal_amount_snapshot_usd|floatformat:2 }} {% else %} Not selected {% endif %}
Add-ons USD {{ booking.add_on_amount_snapshot_usd|floatformat:2 }}
{% if selected_add_ons %}
{% for item in selected_add_ons %}
{{ item.add_on_title_snapshot }} {{ item.quantity }} × USD {{ item.unit_price_snapshot_usd|floatformat:2 }} = USD {{ item.subtotal_snapshot_usd|floatformat:2 }}
{% endfor %}
{% endif %}
{% if booking.occasion_title or booking.occasion_note or booking.special_requests %}

Occasion Notes

Notes and special requirements from the client.

{% if booking.occasion_title %}
Occasion Title {{ booking.occasion_title }}
{% endif %} {% if booking.occasion_note %}
Occasion Note {{ booking.occasion_note }}
{% endif %} {% if booking.special_requests %}
Special Requests {{ booking.special_requests }}
{% endif %}
{% endif %}

Financial Summary

Booking amount and host earning calculation.

Total Booking Amount USD {{ booking.total_amount_usd|floatformat:2 }}
Platform Commission USD {{ booking.ensolanka_commission_usd|floatformat:2 }}
Commission Rate {{ booking.commission_rate_percent|floatformat:2 }}%
Host Net Amount USD {{ booking.host_net_amount_usd|floatformat:2 }}
{% if booking.payable_item %}
Payment Reference {{ booking.payment_reference_code }}
{% endif %}
{% endblock %}