{% extends 'layouts/base.html' %} {% load i18n %} {% block title %}{% trans "Inquiry" %} #{{ inquiry.reference_number|truncatechars:15 }} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{{ inquiry.message|truncatewords:30 }}
{{ inquiry.message|linebreaks }}
{{ inquiry.short_description_en }}
{{ inquiry.short_description_ar }}
{% trans "AI analysis is running. Please refresh the page shortly." %}
English
{{ inquiry.response_en|linebreaks }}
العربية
{{ inquiry.response_ar|linebreaks }}
{{ inquiry.response|linebreaks }}
{% trans "Inquiry Created" %}
{% trans "Created by" %} {% if inquiry.created_by %}{{ inquiry.created_by.get_full_name|default:inquiry.created_by.email }}{% endif %}
{{ inquiry.created_at|date:"Y-m-d H:i" }}
{% if update.update_type == 'status_change' %}{% trans "Status Changed" %} {% elif update.update_type == 'response' %}{% trans "Response" %} {% elif update.update_type == 'communication' %}{% trans "Communication" %} {% else %}{% trans "Note" %}{% endif %}
{{ update.message|truncatewords:30 }}
{% if update.created_by %}{% trans "by" %} {{ update.created_by.get_full_name|default:update.created_by.email }}
{% endif %}{{ update.created_at|date:"Y-m-d H:i" }}
{% trans "Name" %}
{{ inquiry.contact_name|default:"-" }}
{% trans "Phone" %}
{{ inquiry.contact_phone|default:"-" }}
{% trans "Email" %}
{{ inquiry.contact_email|default:"-" }}
{% trans "Hospital" %}
{{ inquiry.hospital.name }}
{% trans "Department" %}
{{ inquiry.department.name }}
{% trans "Category" %}
{{ inquiry.get_category_display|default:"-" }}
{% trans "Priority" %}
{{ inquiry.get_priority_display }}{{ rca.title }}