{{ form_start(filter_form) }} -
-
- {{ form_widget(filter_form.category) }} -
-
- {{ form_widget(filter_form.query) }} +
+
+ {{ form_widget(filter_form.category) }} +
+
+ {{ form_widget(filter_form.query) }} +
+
+ + + {# Get query parameters without filter#} + {% set query_parameters = app.request.query.all|filter((v, k) => k != 'case_event_filter') %} + {% set reset_filter_path = path( + app.request.attributes.get('_route'), + app.request.attributes.get('_route_params')|merge(query_parameters) + ) %} +
+ + {{ form_rest(filter_form) }}
-
- + {{ form_end(filter_form) }} + +

{% trans %}Event list{% endtrans %}

- {# Get query parameters without filter#} - {% set query_parameters = app.request.query.all|filter((v, k) => k != 'case_event_filter') %} - {% set reset_filter_path = path( - app.request.attributes.get('_route'), - app.request.attributes.get('_route_params')|merge(query_parameters) - ) %} - {% trans %}Reset filter{% endtrans %} + - {{ form_rest(filter_form) }} - {{ form_end(filter_form) }} - - - - - - - - - - - - - - - {% for case_event in case_events %} - - - - - - - - - - - {% else %} - - - - {% endfor %} - -
{% trans %}Category{% endtrans %}{% trans %}Sender{% endtrans %}{% trans %}Recipient{% endtrans %}{% trans %}Subject{% endtrans %}{% trans %}Received at{% endtrans %}{% trans %}User{% endtrans %}{% trans %}Status{% endtrans %}
{{ case_event.category }}{{ case_event.senders|join(', ') }}{{ case_event.recipients|join(', ') }}{{ case_event.subject }}{{ case_event.receivedAt ? case_event.receivedAt|date(format_datetime) : '' }}{{ case_event.createdBy.name }}{{ _self.case_event_status(case_event) }} - {% trans %}Show{% endtrans %} -
{% trans %}No case events{% endtrans %}