{# Built-in reservation confirmation. Context: doc (the reservation), title, company_name/company_info, party_label/party_name/party_info, item_name, asset_name, asset_tag, warehouse_name, period_from, period_to, qty. #} {% if pdf_state_notice %}
{{ pdf_state_notice }}
{% endif %}
{{ company_name or doc.company or "" }}

{{ title }}

{{ doc.name }}
{{ doc.status or "" }}

From

{{ company_name or doc.company or "" }}
{% if company_info.get("address") %}
{{ company_info.address }}
{% endif %} {% if company_info.get("city") or company_info.get("zip_code") %}
{{ company_info.get("zip_code") or "" }} {{ company_info.get("city") or "" }}
{% endif %} {% if company_info.get("email") %}
{{ company_info.email }}
{% endif %} {% if company_info.get("phone") %}
{{ company_info.phone }}
{% endif %}
{% if party_name %}

{{ party_label }}

{{ party_name }}
{% if party_info.get("address") %}
{{ party_info.address }}
{% endif %} {% if party_info.get("city") or party_info.get("zip_code") %}
{{ party_info.get("zip_code") or "" }} {{ party_info.get("city") or "" }}
{% endif %} {% if party_info.get("email") %}
{{ party_info.email }}
{% endif %}
{% endif %}
{% for warning in pdf_warnings %}{% if warning.code == "asset_unassigned" %}

{{ warning.message }}

{% endif %}{% endfor %} {% if doc.allocation_mode == "Unit" %} {% else %}{% endif %} {% if doc.purpose %}{% endif %} {% if doc.voucher_no %}{% endif %}
Period{{ period_from }} – {{ period_to }}
Item{{ item_name }}
Unit{{ asset_name }}{% if asset_tag %} ({{ asset_tag }}){% endif %}
AllocationPool
Quantity{{ "%g"|format(qty or 0) }}
Location{{ warehouse_name }}
Purpose{{ doc.purpose }}
Reference{{ doc.voucher_type or "" }} {{ doc.voucher_no }}
{% if doc.notes %}
{{ doc.notes }}
{% endif %}