{% extends "layouts/app.twig" %} {% block title %}{{ __('Ticket Overview') }}{% endblock %} {% block content %}
{% include 'partials/flash.twig' %}
{{ csrf.field | raw }}

{{ __('Ticket') }} #{{ ticket.id }} - {{ ticket.subject }}

  {% if ticket.status == 'Open' %} {{ ticket.status }} {% elseif ticket.status == 'In Progress' %} {{ ticket.status }} {% elseif ticket.status == 'Resolved' %} {{ ticket.status }} {% elseif ticket.status == 'Closed' %} {{ ticket.status }} {% else %} {{ __('Unknown Status') }} {% endif %}
{% if ticket.status != 'Closed' %} {% else %} {% endif %}
{% if ticket.status != 'Closed' %}
{{ csrf.field | raw }} {% endif %}
{{ __('Ticket Details') }}

{{ __('Created On') }}: {{ ticket.date_created }}

{{ __('Category') }}: {{ category }}

{{ __('Priority') }}: {% if ticket.priority == 'Low' %} {{ ticket.priority }} {% elseif ticket.priority == 'Medium' %} {{ ticket.priority }} {% elseif ticket.priority == 'High' %} {{ ticket.priority }} {% elseif ticket.priority == 'Critical' %} {{ ticket.priority }} {% else %} {{ ticket.priority }} {% endif %}

{{ __('Conversation') }}
{% for reply in replies %}
{{ reply.responder_name|slice(0, 2) }}
{{ reply.responder_name }} {{ reply.date_created|date("Y-m-d H:i") }}

{{ reply.response }}

{% endfor %}
{{ ticket.ticket_creator|slice(0, 2) }}
{{ ticket.ticket_creator }} {{ ticket.date_created|date("Y-m-d H:i") }}

{{ ticket.message }}

{% if ticket.status != 'Closed' %}
{% endif %}
{% if ticket.status != 'Closed' %} {% endif %}
{% if ticket.status != 'Closed' %}{% endif %}
{% include 'partials/footer.twig' %}
{% endblock %}