{% extends "admin/base.html.twig" %} {% block content %}

#{{ticket.id}} - {{ticket.title}} - {{ticket.author.email}}

{{ticket.clientName}}
Create Date : 20 Dec, 2021
Due Date : 29 Dec, 2021
{{ticket.status}}
{{ticket.priority}}
Ticket Description

{{ ticket.content | raw }}

Comments
{% for comment in comments %}
{{comment.author}} {{comment.createdAt|date("d/m/Y h:m:s")}}

{{comment.content}}

{% endfor %}
{{ form_start(commentForm, {'action': path('admin_comment_create')})}}
{{ form_widget(commentForm.content, {'attr' : {'class': 'form-control bg-light border-light', 'rows': 3, 'placeholder':'Saisir un commentaire'}})}}
{#
{{ form_row(commentForm.author, {'attr': {'value': 'Mohammed Selmi' }})}}
#}
{{ form_row(commentForm.entityType, {'attr': {'value': 'Ticket' }})}}
{{ form_row(commentForm.entityId, {'attr': {'value': ticket.id }})}}
{#
{{ form_row(commentForm.authorHidden, {'attr': {'value': 'Mohammed Selmi' }})}}
{{ form_row(commentForm.entityTypeHidden, {'attr': {'value': 'Ticket' }})}}
{{ form_row(commentForm.entityIdHidden, {'attr': {'value': ticket.id }})}}
#}
{{ form_end(commentForm, {'render_rest' : true})}} {#
#}
Ticket Details
Ticket #TICK-{{ticket.id}}
Organisation {{ticket.clientName}}
Status:
Priority {{ticket.priority}}
Create Date 20 Dec, 2021
Due Date 29 Dec, 2021
Last Activity 14 min ago
Labels Admin UI Dashboard Design
Files Attachment
{% for file in filesList %} {% endfor %}
{% endblock %}