{% extends "base.html" %} {% block title %}Lead Details ยท {{ lead.name }}{% endblock %} {% block content %}

Basic Information

{{ lead.name }}
{{ lead.email }}
{{ lead.company or 'N/A' }}
{{ lead.status }}

Communication History

{{ lead.original_email_subject or 'No subject' }}

{{ lead.original_email_body or 'No content available.' }}
{% if lead.reply_content %}
{{ lead.reply_content }}
{% endif %} {% if lead.notes %}
{{ lead.notes }}
{% endif %}

Timeline & Meta

Created{{ lead.created_at.strftime('%Y-%m-%d %H:%M') if lead.created_at else 'N/A' }}
Updated{{ lead.updated_at.strftime('%Y-%m-%d %H:%M') if lead.updated_at else 'N/A' }}
Email Sent{{ lead.email_sent_at.strftime('%Y-%m-%d %H:%M') if lead.email_sent_at else 'Pending' }}
Replied{{ lead.email_replied_at.strftime('%Y-%m-%d %H:%M') if lead.email_replied_at else 'No reply' }}
Meeting{{ lead.meeting_date.strftime('%Y-%m-%d %H:%M') if lead.meeting_date else 'Not scheduled' }}
ID: {{ lead.id }}
Thread: {{ lead.thread_id or 'N/A' }}
{% endblock %}