{{ inquiry.message|linebreaks }}
{{ inquiry.short_description_en }}
{% if inquiry.short_description_ar %}{{ inquiry.short_description_ar }}
{% endif %} {% else %}{% trans "AI analysis is running. Please refresh the page shortly." %}
{% blocktrans with dept=inquiry.outgoing_department.get_localized_name %}Response from {{ dept }}{% endblocktrans %}
{% if inquiry.department_responded_at %} {% trans "Received" %} {% elif inquiry.dept_response_is_overdue %} {% trans "OVERDUE" %} {% else %} {% trans "Awaiting Response" %} {% endif %}English
{{ inquiry.department_response_en|linebreaks }}
العربية
{{ inquiry.department_response_ar|linebreaks }}
{{ inquiry.department_response_summary_en }}
{% if inquiry.department_response_summary_ar %}{{ inquiry.department_response_summary_ar }}
{% endif %}{% trans "Waiting for department response..." %}
{% if inquiry.dept_response_sla_due_at %}{% trans "Deadline:" %} {{ inquiry.dept_response_sla_due_at|date:"Y-m-d H:i" }}
{% endif %} {% if can_respond and not inquiry.sent_to_department %} {% endif %}{% trans "Response" %} {% if inquiry.response_sent_at %} {% trans "Sent to inquirer" %} {% endif %}
English
{{ inquiry.response_en|linebreaks }}
العربية
{{ inquiry.response_ar|linebreaks }}
{{ inquiry.response|linebreaks }}
{% trans "Quick Actions" %}
{% if inquiry.resolved_at %}{% endif %}{% trans "Activate this inquiry to perform actions" %}
{% trans "Resolution & Closure" %}
{% trans "Resolved" %}
{{ inquiry.resolved_at|date:"Y-m-d H:i" }}
{% if inquiry.resolved_by %}{% trans "by" %} {{ inquiry.resolved_by.get_full_name }}
{% endif %}{% trans "Closed" %}
{{ inquiry.closed_at|date:"Y-m-d H:i" }}
{% if inquiry.closed_by %}{% trans "by" %} {{ inquiry.closed_by.get_full_name }}
{% endif %}