06/09 Allow customer to reply admin answer

This commit is contained in:
2026-06-09 16:50:44 -04:00
parent 46af7ec19b
commit f69ad4f805
2 changed files with 78 additions and 2 deletions
+24 -1
View File
@@ -60,7 +60,30 @@
</div>
{% endif %}
<div class="text-center mt-2">
{% if ticket.status != 'closed' %}
<div class="card shadow-sm mt-3">
<div class="card-header"><i class="bi bi-reply me-2"></i>Add a Follow-up</div>
<div class="card-body">
<form method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="mb-3">
<textarea name="body" class="form-control" rows="4" required
placeholder="Type your follow-up message…"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-sm">
<i class="bi bi-send me-1"></i>Send Reply
</button>
</form>
</div>
</div>
{% else %}
<div class="alert alert-secondary mt-3">
<i class="bi bi-lock me-2"></i>This request is closed.
<a href="{{ url_for('support.chat') }}">Start a new chat</a> if you need further help.
</div>
{% endif %}
<div class="text-center mt-3">
<a href="{{ url_for('support.chat') }}" class="btn btn-outline-primary btn-sm">
<i class="bi bi-chat-dots me-1"></i>Ask another question
</a>